├── LICENSE ├── README.md ├── SOURCES ├── README.md ├── archive │ ├── element-1.7-contrib.tar.gz │ ├── element-1.7-contrib │ │ ├── build │ │ │ └── olm-3.1.4.tgz │ │ └── desktop │ │ │ ├── archive │ │ │ ├── README.ico-howto.md │ │ │ ├── hicolor-256-io.element.Element.ico │ │ │ ├── riot-00-128x128.png │ │ │ ├── riot-00-256x256.png │ │ │ ├── riot-01-256x256.png │ │ │ ├── riot-logo-R-01.svg │ │ │ ├── riot-logo-R-02.svg │ │ │ ├── riot-logo-R-03.svg │ │ │ ├── riot-logo-round-00.svg │ │ │ ├── riot-logo-round-02-bnw.svg │ │ │ ├── riot-logo-square-00.svg │ │ │ ├── riot-logo.ico │ │ │ ├── riot.hicolor.128x128.png │ │ │ ├── riot.hicolor.16x16.png │ │ │ ├── riot.hicolor.22x22.png │ │ │ ├── riot.hicolor.24x24.png │ │ │ ├── riot.hicolor.256x256.png │ │ │ ├── riot.hicolor.32x32.png │ │ │ ├── riot.hicolor.48x48.png │ │ │ ├── riot.hicolor.svg │ │ │ ├── riot.highcontrast.128x128.png │ │ │ ├── riot.highcontrast.16x16.png │ │ │ ├── riot.highcontrast.22x22.png │ │ │ ├── riot.highcontrast.24x24.png │ │ │ ├── riot.highcontrast.256x256.png │ │ │ ├── riot.highcontrast.32x32.png │ │ │ ├── riot.highcontrast.48x48.png │ │ │ ├── riot.highcontrast.svg │ │ │ └── riot.src.svg │ │ │ ├── element-icon.src.svg │ │ │ ├── hicolor-128-io.element.element.png │ │ │ ├── hicolor-256-io.element.element.png │ │ │ ├── hicolor-512-io.element.element.png │ │ │ ├── hicolor-64-io.element.element.png │ │ │ ├── hicolor-scalable-io.element.element.svg │ │ │ ├── highcontrast-128-io.element.element.png │ │ │ ├── highcontrast-256-io.element.element.png │ │ │ ├── highcontrast-512-io.element.element.png │ │ │ ├── highcontrast-64-io.element.element.png │ │ │ ├── highcontrast-scalable-io.element.element.svg │ │ │ ├── io.element.element.desktop │ │ │ ├── io.element.element.metainfo.xml │ │ │ └── io.element.element.wrapper.sh │ ├── element-1.7.32-remove-rustup-check.patch │ ├── element-1.8-contrib.tar.gz │ ├── element-1.9-contrib.tar.gz │ ├── riot-0.14-contrib.tar.gz │ ├── riot-0.15-contrib.tar.gz │ ├── riot-0.16-contrib.tar.gz │ ├── riot-0.17-contrib.tar.gz │ ├── riot-1.0-contrib.tar.gz │ ├── riot-1.1-contrib.tar.gz │ ├── riot-1.2-contrib.tar.gz │ ├── riot-1.3-contrib.tar.gz │ ├── riot-1.4-contrib.tar.gz │ ├── riot-1.5-contrib.tar.gz │ ├── riot-1.6-contrib.tar.gz │ └── toddpkgs-riot-repo-1.0.tar.gz ├── element-1.10-contrib.tar.gz ├── element-1.11-contrib.tar.gz ├── toddpkgs-element-repo-1.7.tar.gz ├── toddpkgs-element-repo-1.7 │ ├── LICENSE │ ├── archive │ │ ├── element-el7.repo │ │ ├── keybase-toddwarner_riot-opensuse.repo-leap │ │ └── keybase-toddwarner_riot-opensuse.repo-tumbleweed │ ├── element-el8.repo │ ├── element-fedora.repo │ ├── element-suse-leap.repo │ ├── element-suse-tumbleweed.repo │ └── todd-694673ED-public-2030-01-04.2016-11-07.asc └── wget-element-sources.sh ├── archive ├── riot-0.12.6.spec ├── riot-0.12.7.spec ├── riot-0.13.0.spec ├── riot-0.13.1.spec ├── riot-0.13.3.spec ├── riot-0.13.4.spec ├── riot-0.13.5.spec ├── riot-0.14.0.spec ├── riot-0.9.5.spec ├── riot-0.9.6.spec ├── riot-0.9.7.spec ├── riot-0.9.8.spec ├── riot-1.5.spec ├── riot-web-0.9.5.spec ├── riot.spec ├── toddpkgs-riot-repo-opensuse-leap.spec ├── toddpkgs-riot-repo-testing.spec └── toddpkgs-riot-repo.spec ├── element.spec └── screenshots ├── README.md ├── element1.png ├── element2.png ├── element3.png ├── riot1.png ├── riot2.png └── riot3.png /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Element: decentralized, encrypted chat & collaboration 2 | 3 | _. . . packaged for Fedora and OpenSUSE_ 4 | 5 | _**What is this GitHub Repository?**_ 6 | 7 | The purpose of this repository is to store all the bits and pieces needed to build and package the Element application for various RPM flavors of Linux: CentOS, Fedora, and OpenSUSE. The binary (installable and runnable) packages are were then built on the [Fedora Project's COPR build system](https://copr.fedorainfracloud.org/coprs/taw/element/). 8 | 9 | --- 10 | 11 | --- 12 | 13 | **SHUT DOWN NOTICE** 14 | 15 | **I am closing down this project for two reasons:** 16 | 17 | 1. a core upstream component of Element (the Electron platform) embeds non-free software (a couple codecs in libffmpeg.so) and I have been asked (told) to stop using my preferred build system (COPR) 18 | 2. builds for OpenSUSE are *again* super-challenging 19 | 20 | As such, today—March 1, 2022, version 1.10.6—after almost four years of working on this project, I am ending my maintenance of Element builds for CentOS, Fedora, and OpenSUSE. Any change after this are for my own amusement and for no others. I may continue to experiment. Or maybe not. But, my builds for others are done. This makes me sad, but I am tired of fighting library versions, tired of fighting NodeJS and electron, and the build system I use no longer will permit me to build Element there. So, that's that. 21 | 22 | I am a fan of the project and think they are clearly a superior solution in the groups-chat space, but I am tired of fighting all the technical debt baggage and complexity associated to NodeJS and Electron. At some point I will stop checking in changes and that will be that. If someone wants to use my spec files and start a new RPM build project, please do so. Just let me know so I can link to it here. 23 | 24 | **THERE IS AN ALTERNATIVE TO MY RPM BUILDS!** 25 | 26 | There is an alternative build out there that should work for everyone: a Flatpak! I am not a huge fan of the bloat and non-native-ness of Flatpak/Snap/AppData builds (they are a kludge), but like all kludges, they are often *good enough*. So ... instead of the RPM, just go ahead and [install the Flatpak](https://flathub.org/apps/details/im.riot.Riot). 27 | 28 | A big *thank you* goes out to all the good folks who supported and encouraged me over these four year. Cheers! -todd 29 | 30 | --- 31 | 32 | --- 33 | 34 | 46 | 53 | 54 | _**What is Element?**_ Decentralized, encrypted chat & collaboration powered by [matrix]. 55 | 56 | _**What is Matrix?**_ An open network for secure, decentralized communication. 57 | 58 | In short, Element is an open-source, decentralized, end-to-end encrypted, team collaboration platform who's often compared to IRC, Rocket Chat, Mattermost, Slack, and Discord. 59 | 60 | 63 | 64 | More fully, Element is a desktop application implementing the client-side of the matrix protocol enabling decentralized, secure messaging for collaborative groups. This repository enables Element to be easily installed and maintained on the Fedora, Red Hat(IBM), and OpenSUSE family of Linux operating systems and tracks the source surrounding those builds. This GitHub repository maintains source RPM packages and spec files so you can rebuild Element if you are so inclined, though prebuilt binaries have been conveniently built for you. See below for how to install and run Element on your Linux desktop. 65 | 66 | 69 | 70 | #### More about . . . 71 | 72 | * Element: and the source repositories, [element-desktop](https://github.com/vector-im/element-desktop) and [element-web](https://github.com/vector-im/element-web) 73 | * Matrix: and 74 | * A couple reviews from [some dude](http://www.1500wordmtu.com/2016/slack-no-more-why-you-should-use-riotim-and-matrixorg), [TechCrunch](https://techcrunch.com/2016/09/19/riot-wants-to-be-like-slack-but-with-the-flexibility-of-an-underlying-open-source-platform/), and the [Slant community](https://www.slant.co/options/12764/~matrix-review)
_Unsurprisingly, I personally think Element is superior to Slack and Rocket Chat._ 75 | * Element for Microsoft, Apple, and Android products can be found at and the Apple and Android Play Stores. Element for the web (Chromebook and anyone) is available here: . 76 | 77 | 78 | 224 | 225 | # Questions or comments . . . 226 | 227 | Contact: **t0dd_at_protonmail.com** or find me at **@t0dd:matrix.org** after you have installed Element! 228 | 229 | -------------------------------------------------------------------------------- /SOURCES/README.md: -------------------------------------------------------------------------------- 1 | Only add-on source elements are included in this repository. Upstream source 2 | archives can be found at the links listed here. See also, the Source0 and 3 | Source1 values in the `.spec` files. 4 | - 5 | - 6 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/build/olm-3.1.4.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/build/olm-3.1.4.tgz -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/README.ico-howto.md: -------------------------------------------------------------------------------- 1 | An .ico file is a microsoft windows icon file. I don't know what uses it on linux, but I have been keeping it updated. 2 | 3 | To convert... 4 | ``` 5 | # install ImageMagick 6 | sudo dnf install ImageMagick -y 7 | 8 | # convert png to ico 9 | convert hicolor-256-io.element.Element.png hicolor-256-io.element.Element.ico 10 | ``` 11 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/hicolor-256-io.element.Element.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/hicolor-256-io.element.Element.ico -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-00-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot-00-128x128.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-00-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot-00-256x256.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-01-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot-01-256x256.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-logo-R-01.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-logo-R-02.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-logo-R-03.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | 10 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-logo-round-00.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-logo-round-02-bnw.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 10 | 11 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-logo-square-00.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 10 | 11 | 12 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot-logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot-logo.ico -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.128x128.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.16x16.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.22x22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.22x22.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.24x24.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.256x256.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.32x32.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.hicolor.48x48.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.128x128.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.16x16.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.22x22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.22x22.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.24x24.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.256x256.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.32x32.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/archive/riot.highcontrast.48x48.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/element-icon.src.svg: -------------------------------------------------------------------------------- 1 | 2 | 18 | 20 | 21 | 23 | image/svg+xml 24 | 26 | 27 | 28 | 29 | 30 | 32 | 54 | 60 | 68 | 69 | 75 | 83 | 84 | 99 | 130 | 135 | 142 | 149 | 156 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/hicolor-128-io.element.element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/hicolor-128-io.element.element.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/hicolor-256-io.element.element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/hicolor-256-io.element.element.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/hicolor-512-io.element.element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/hicolor-512-io.element.element.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/hicolor-64-io.element.element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/hicolor-64-io.element.element.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/hicolor-scalable-io.element.element.svg: -------------------------------------------------------------------------------- 1 | 2 | 18 | 20 | 21 | 23 | image/svg+xml 24 | 26 | 27 | 28 | 29 | 30 | 32 | 54 | 60 | 68 | 69 | 74 | 81 | 88 | 95 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/highcontrast-128-io.element.element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/highcontrast-128-io.element.element.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/highcontrast-256-io.element.element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/highcontrast-256-io.element.element.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/highcontrast-512-io.element.element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/highcontrast-512-io.element.element.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/highcontrast-64-io.element.element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.7-contrib/desktop/highcontrast-64-io.element.element.png -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/highcontrast-scalable-io.element.element.svg: -------------------------------------------------------------------------------- 1 | 2 | 18 | 20 | 21 | 23 | image/svg+xml 24 | 26 | 27 | 28 | 29 | 30 | 32 | 54 | 60 | 68 | 69 | 75 | 83 | 84 | 89 | 96 | 103 | 110 | 117 | 118 | 119 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/io.element.element.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Element 3 | Comment=Element is a decentralized, secure messaging client for collaborative group communication. 4 | GenericName=Group Messaging 5 | Exec=io.element.element.wrapper.sh %U 6 | Terminal=false 7 | Type=Application 8 | Categories=Network;InstantMessaging;Chat;VideoConference;X-E2EE; 9 | MimeType=x-scheme-handler/element; 10 | StartupWMClass=Element 11 | StartupNotify=true 12 | Icon=io.element.element 13 | 14 | # .desktop spec: 15 | # the spec: https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/ 16 | # Categories: https://specifications.freedesktop.org/menu-spec/latest/apa.html 17 | # .metainfo.xml spec: https://www.freedesktop.org/software/appstream/docs/ 18 | 19 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/io.element.element.metainfo.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | io.element.element.desktop 4 | 8 | 9 | Element 10 | A decentralized, secure messaging client for collaborative group communication 11 | 12 | MIT 13 | MIT 14 | 15 | 16 |

Create, share, communicate, chat and call securely, and bridge to other applications.

17 | 18 |

More than a messaging app, Element is a shared work-space for the web. Element is a place to connect with teams. Element is a place to to collaborate, to work, to discuss your current projects. Element removes the barriers between apps, allowing you to connect teams and functionality like never before.

19 | 20 |

More than group chat—communication

21 |
    22 |
  • Communicate with your team and out of network colleagues more efficiently: use dedicated rooms which persist information from their creation and forever.
  • 23 |
  • Forget group emails: join or create rooms per topic, per team, per event. Decide the level of transparency you want to provide across the organisation or project.
  • 24 |
  • Cut through the noise by creating notifications that are customised by you and for you.
  • 25 |
  • Grab the attention of your colleague by calling out their name and don’t miss a thing with keyword alerts.
  • 26 |
  • Deploy bots for fun or practical use with our integrations store.
  • 27 |
28 | 29 |

Element's core architecture is an implementation of the matrix 30 | protocol.

31 | 32 |

Element is free. Element is secure.

33 | 34 |

Package builder page: https://github.com/taw00/element-rpm

35 |
36 | 37 | io.element.element.desktop 38 | 39 | 40 | 41 | 42 | Login 43 | https://raw.githubusercontent.com/taw00/element-rpm/master/screenshots/element1.png 44 | 45 | 46 | Chat room (light themed) 47 | https://raw.githubusercontent.com/taw00/element-rpm/master/screenshots/element2.png 48 | 49 | 50 | Chat room (dark themed) 51 | https://raw.githubusercontent.com/taw00/element-rpm/master/screenshots/element3.png 52 | 53 | 54 | 55 | https://element.io 56 | https://github.com/vector-im/riot-desktop/issues 57 | https://github.com/taw00/element-rpm/issues 58 | 59 | Element/New Vector Ltd 60 | 61 | Todd Warner 62 | t0dd_AT_protonmail.com 63 | 64 | 65 | 66 | element 67 | io.element.Element.wrapper.sh 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | application/x-element 186 | 187 |
188 | 189 | 190 | 191 | 192 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7-contrib/desktop/io.element.element.wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Wrapper script to run Element group messaging. 4 | # This script exists because there are multiple issues with various desktop 5 | # configurations. I believe the QT issues are resolved. 6 | # The Electron + KDE Plasma hasn't been resolved since 2018. 7 | 8 | # QT5 + GNOME + Wayland has issues 9 | # https://bugreports.qt.io/browse/QTBUG-68619 10 | 11 | # Electron + KDE Plasma has issues 12 | # https://github.com/electron/electron/issues/12791 13 | # https://github.com/taw00/element-rpm/issues/16 14 | 15 | # I wrote this little wrapper script that attempts to bypass these issues until 16 | # they are fixed. The workarounds involve setting environment variables so that 17 | # the application is forced to operate in a manner that is different than it 18 | # would by default. 19 | 20 | # Note that QT programs will currently "do the right thing" without intervention 21 | # but they will post a somewhat cryptic warning message 22 | # "Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway." 23 | # We control that explicitely here so that this message doesn't crop up. 24 | 25 | # How this script it used. 26 | # 1. It is called from the commandline instead of calling the application directly, or, 27 | # 2. It is called from .desktop (which is used by your window 28 | # manager open the application), and... 29 | # 3. If you use this as a template for your own application, you flip on 30 | # the relevant flag below if your application is a QT5 application or an 31 | # Electron-based application. 32 | 33 | # This can be "qt5" or "electron" or "neither" 34 | type_of_application=electron 35 | 36 | _XDG_SESSION_TYPE=$XDG_SESSION_TYPE 37 | _XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP 38 | _QT_QPA_PLATFORM=$QT_QPA_PLATFORM 39 | 40 | noisy=0 41 | echoerr() { 42 | if [ $noisy -ne 0 ] 43 | then 44 | printf "%s\n" "$*" >&2; 45 | fi 46 | } 47 | 48 | if [ "$type_of_application" = "qt5" ] 49 | then 50 | force_gnome_wayland=0 51 | if [ $force_gnome_wayland -ne 0 ] ; then noisy=1 ; fi 52 | 53 | if [ "$XDG_CURRENT_DESKTOP" = "GNOME" ] && [ "$XDG_SESSION_TYPE" = "wayland" ] 54 | then 55 | if [ $force_gnome_wayland -ne 0 ] 56 | then 57 | # Experimental. wayland is still problematic. 58 | echoerr "\ 59 | ## We have elected to force this QT5-based application to work with wayland and not fall back to x11. 60 | " 61 | _QT_QPA_PLATFORM=wayland 62 | else 63 | _XDG_SESSION_TYPE=x11 64 | unset _QT_QPA_PLATFORM 65 | fi 66 | 67 | else 68 | echoerr "\ 69 | ## Desktop session is not gnome+wayland, carry on! 70 | " 71 | fi 72 | 73 | elif [ "$type_of_application" = "electron" ] 74 | then 75 | force_kde=0 76 | if [ $force_kde -ne 0 ] ; then noisy=1 ; fi 77 | if [ "$XDG_CURRENT_DESKTOP" = "KDE" ] 78 | then 79 | if [ $force_kde -eq 0 ] 80 | then 81 | _XDG_CURRENT_DESKTOP=Unity 82 | else 83 | # Experimental. kde is still problematic. 84 | echoerr "\ 85 | ## We have elected to force this electron-based application to work as by default with KDE. 86 | " 87 | fi 88 | else 89 | echoerr "\ 90 | ## Desktop session is not KDE, carry on! 91 | " 92 | fi 93 | fi 94 | 95 | echoerr "\ 96 | XDG_SESSION_TYPE --> $XDG_SESSION_TYPE to $_XDG_SESSION_TYPE 97 | XDG_CURRENT_DESKTOP --> $XDG_CURRENT_DESKTOP to $_XDG_CURRENT_DESKTOP 98 | QT_QPA_PLATFORM --> $QT_QPA_PLATFORM to $_QT_QPA_PLATFORM 99 | " 100 | 101 | XDG_CURRENT_DESKTOP=$_XDG_CURRENT_DESKTOP XDG_SESSION_TYPE=$_XDG_SESSION_TYPE QT_QPA_PLATFORM=$_QT_QPA_PLATFORM /usr/bin/env element "$@" 102 | 103 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.7.32-remove-rustup-check.patch: -------------------------------------------------------------------------------- 1 | diff -ruN element-desktop-1.7.32--orig/hak/matrix-seshat/check.js element-desktop-1.7.32--remove-rustup-check/hak/matrix-seshat/check.js 2 | --- element-desktop-1.7.32--orig/hak/matrix-seshat/check.js 2021-07-05 11:55:20.000000000 -0400 3 | +++ element-desktop-1.7.32--remove-rustup-check/hak/matrix-seshat/check.js 2021-07-05 15:34:11.387827572 -0400 4 | @@ -61,6 +61,7 @@ 5 | }); 6 | } 7 | 8 | +/* 9 | // Ensure Rust target exists 10 | await new Promise((resolve, reject) => { 11 | childProcess.execFile('rustup', ['target', 'list', '--installed'], (err, out) => { 12 | @@ -74,4 +75,5 @@ 13 | resolve(); 14 | }); 15 | }); 16 | +*/ 17 | }; 18 | -------------------------------------------------------------------------------- /SOURCES/archive/element-1.8-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.8-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/element-1.9-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/element-1.9-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-0.14-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-0.14-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-0.15-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-0.15-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-0.16-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-0.16-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-0.17-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-0.17-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-1.0-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-1.0-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-1.1-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-1.1-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-1.2-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-1.2-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-1.3-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-1.3-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-1.4-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-1.4-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-1.5-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-1.5-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/riot-1.6-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/riot-1.6-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/archive/toddpkgs-riot-repo-1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/archive/toddpkgs-riot-repo-1.0.tar.gz -------------------------------------------------------------------------------- /SOURCES/element-1.10-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/element-1.10-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/element-1.11-contrib.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/element-1.11-contrib.tar.gz -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/SOURCES/toddpkgs-element-repo-1.7.tar.gz -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Todd Warner 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7/archive/element-el7.repo: -------------------------------------------------------------------------------- 1 | # Element messaging client for CentOS (and Red Hat Enterprise Linux) 2 | # Stable and Testing repository streams - binaries and sources 3 | # 4 | # This file is a convenience file. If you are familiar with Fedora COPR, you 5 | # can follow the direct enablement procedures here instead if you like: 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # https://copr.fedorainfracloud.org/coprs/taw/riot-testing/ 8 | # 9 | # Feedback: t0dd@protonmail.com 10 | 11 | [element-stable] 12 | enabled=1 13 | name=Element - epel-$releasever-$basearch 14 | baseurl=https://download.copr.fedoraproject.org/results/taw/Riot/epel-7-$basearch/ 15 | type=rpm-md 16 | skip_if_unavailable=True 17 | gpgcheck=1 18 | gpgkey=https://download.copr.fedoraproject.org/results/taw/Riot/pubkey.gpg 19 | # GnuPG fingerprint should be F4ED2CDD2BB3A9DDBEAADE734D017B904F38BDE2 20 | repo_gpgcheck=0 21 | # leave this off, see 22 | # https://srvfail.com/packagekit-cant-find-file-in-var-cache-packagekit/ 23 | enabled_metadata=0 24 | metadata_expire=1d 25 | 26 | [element-testing] 27 | enabled=0 28 | name=Element - testing - epel-$releasever-$basearch 29 | baseurl=https://download.copr.fedoraproject.org/results/taw/riot-testing/epel-7-$basearch/ 30 | type=rpm-md 31 | skip_if_unavailable=True 32 | gpgcheck=1 33 | gpgkey=https://download.copr.fedoraproject.org/results/taw/Riot/pubkey.gpg 34 | repo_gpgcheck=0 35 | # leave this off, see 36 | # https://srvfail.com/packagekit-cant-find-file-in-var-cache-packagekit/ 37 | enabled_metadata=0 38 | metadata_expire=0 39 | -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7/archive/keybase-toddwarner_riot-opensuse.repo-leap: -------------------------------------------------------------------------------- 1 | # Riot for OpenSuse Linux 2 | # Feedback: t0dd_at_protonmail.com 3 | 4 | [riot-stable-tumbleweed] 5 | enabled=0 6 | name=Riot - OpenSuse Tumbleweed - $basearch 7 | baseurl=https://toddwarner.keybase.pub/repo/riot-opensuse/tumbleweed/$basearch/ 8 | gpgcheck=1 9 | repo_gpgcheck=0 10 | gpgkey=https://keybase.io/toddwarner/key.asc 11 | skip_if_unavailable=True 12 | type=rpm-md 13 | autorefresh=1 14 | metadata_expire=1d 15 | 16 | [riot-stable-leap] 17 | enabled=1 18 | name=Riot - OpenSuse Leap $releasever - $basearch 19 | # For now, we don't differientate leap versions (this needs to change eventually) 20 | #baseurl=https://toddwarner.keybase.pub/repo/riot-opensuse/leap/$releasever/$basearch/ 21 | baseurl=https://toddwarner.keybase.pub/repo/riot-opensuse/leap/$basearch/ 22 | gpgcheck=1 23 | repo_gpgcheck=0 24 | gpgkey=https://keybase.io/toddwarner/key.asc 25 | skip_if_unavailable=True 26 | type=rpm-md 27 | autorefresh=1 28 | metadata_expire=1d 29 | 30 | -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7/archive/keybase-toddwarner_riot-opensuse.repo-tumbleweed: -------------------------------------------------------------------------------- 1 | # Riot for OpenSuse Linux 2 | # Feedback: t0dd_at_protonmail.com 3 | 4 | [riot-stable-tumbleweed] 5 | enabled=1 6 | name=Riot - OpenSuse Tumbleweed - $basearch 7 | baseurl=https://toddwarner.keybase.pub/repo/riot-opensuse/tumbleweed/$basearch/ 8 | gpgcheck=1 9 | repo_gpgcheck=0 10 | gpgkey=https://keybase.io/toddwarner/key.asc 11 | skip_if_unavailable=True 12 | type=rpm-md 13 | autorefresh=1 14 | metadata_expire=1d 15 | 16 | [riot-stable-leap] 17 | enabled=0 18 | name=Riot - OpenSuse Leap $releasever - $basearch 19 | # For now, we don't differientate leap versions (this needs to change eventually) 20 | #baseurl=https://toddwarner.keybase.pub/repo/riot-opensuse/leap/$releasever/$basearch/ 21 | baseurl=https://toddwarner.keybase.pub/repo/riot-opensuse/leap/$basearch/ 22 | gpgcheck=1 23 | repo_gpgcheck=0 24 | gpgkey=https://keybase.io/toddwarner/key.asc 25 | skip_if_unavailable=True 26 | type=rpm-md 27 | autorefresh=1 28 | metadata_expire=1d 29 | 30 | -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7/element-el8.repo: -------------------------------------------------------------------------------- 1 | # Element messaging client for CentOS (and Red Hat Enterprise Linux) 2 | # Stable and Testing repository streams - binaries and sources 3 | # 4 | # Note: Element was once branded Riot. 5 | # 6 | # This file is a convenience file. If you are familiar with Fedora COPR, you 7 | # can follow the direct enablement procedures here instead if you like: 8 | # https://copr.fedorainfracloud.org/coprs/taw/element/ 9 | # https://copr.fedorainfracloud.org/coprs/taw/riot-testing/ 10 | # 11 | # Feedback: t0dd@protonmail.com 12 | 13 | [element-stable] 14 | enabled=1 15 | name=Element for EPEL $releasever - $basearch 16 | baseurl=https://download.copr.fedorainfracloud.org/results/taw/element/epel-8-$basearch/ 17 | type=rpm-md 18 | skip_if_unavailable=True 19 | gpgcheck=1 20 | gpgkey=https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg 21 | repo_gpgcheck=0 22 | # leave this off, see 23 | # https://srvfail.com/packagekit-cant-find-file-in-var-cache-packagekit/ 24 | enabled_metadata=0 25 | metadata_expire=1d 26 | 27 | [element-testing] 28 | enabled=0 29 | name=Element for EPEL $releasever - $basearch - testing 30 | baseurl=https://download.copr.fedorainfracloud.org/results/taw/riot-testing/epel-8-$basearch/ 31 | type=rpm-md 32 | skip_if_unavailable=True 33 | gpgcheck=1 34 | gpgkey=https://download.copr.fedorainfracloud.org/results/taw/riot-testing/pubkey.gpg 35 | repo_gpgcheck=0 36 | # leave this off, see 37 | # https://srvfail.com/packagekit-cant-find-file-in-var-cache-packagekit/ 38 | enabled_metadata=0 39 | metadata_expire=0 40 | -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7/element-fedora.repo: -------------------------------------------------------------------------------- 1 | # Element messaging client for Fedora 2 | # Stable and Testing repository streams - binaries and sources 3 | # 4 | # Note: Element was once branded Riot. 5 | # 6 | # This file is a convenience file. If you are familiar with Fedora COPR, you 7 | # can follow the direct enablement procedures here instead if you like: 8 | # https://copr.fedorainfracloud.org/coprs/taw/element/ 9 | # https://copr.fedorainfracloud.org/coprs/taw/riot-testing/ 10 | # 11 | # Feedback: t0dd@protonmail.com 12 | 13 | [element-stable] 14 | enabled=1 15 | name=Element for Fedora $releasever - $basearch 16 | baseurl=https://download.copr.fedorainfracloud.org/results/taw/element/fedora-$releasever-$basearch/ 17 | type=rpm-md 18 | skip_if_unavailable=True 19 | gpgcheck=1 20 | gpgkey=https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg 21 | repo_gpgcheck=0 22 | metadata_expire=1d 23 | # leave this off, see 24 | # https://srvfail.com/packagekit-cant-find-file-in-var-cache-packagekit/ 25 | enabled_metadata=0 26 | 27 | [element-testing] 28 | enabled=0 29 | name=Element for Fedora $releasever - $basearch - testing 30 | baseurl=https://download.copr.fedorainfracloud.org/results/taw/riot-testing/fedora-$releasever-$basearch/ 31 | type=rpm-md 32 | skip_if_unavailable=True 33 | gpgcheck=1 34 | gpgkey=https://download.copr.fedorainfracloud.org/results/taw/riot-testing/pubkey.gpg 35 | repo_gpgcheck=0 36 | metadata_expire=0 37 | # leave this off, see 38 | # https://srvfail.com/packagekit-cant-find-file-in-var-cache-packagekit/ 39 | enabled_metadata=0 40 | -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7/element-suse-leap.repo: -------------------------------------------------------------------------------- 1 | [element-stable] 2 | enabled=1 3 | enabled_metadata=1 4 | name=Element for OpenSUSE Leap $releasever - $basearch 5 | baseurl=https://download.copr.fedorainfracloud.org/results/taw/element/opensuse-leap-$releasever-$basearch/ 6 | type=rpm-md 7 | skip_if_unavailable=True 8 | gpgcheck=1 9 | gpgkey=https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg 10 | repo_gpgcheck=0 11 | 12 | [element-testing] 13 | enabled=1 14 | enabled_metadata=1 15 | name=Element for OpenSUSE Leap $releasever - $basearch - testing 16 | baseurl=https://download.copr.fedorainfracloud.org/results/taw/riot-testing/opensuse-leap-$releasever-$basearch/ 17 | type=rpm-md 18 | skip_if_unavailable=True 19 | gpgcheck=1 20 | gpgkey=https://download.copr.fedorainfracloud.org/results/taw/riot-testing/pubkey.gpg 21 | repo_gpgcheck=0 22 | enabled=1 23 | enabled_metadata=1 24 | -------------------------------------------------------------------------------- /SOURCES/toddpkgs-element-repo-1.7/element-suse-tumbleweed.repo: -------------------------------------------------------------------------------- 1 | [element-stable] 2 | name=Element for OpenSUSE Tumbleweed - $basearch 3 | baseurl=https://download.copr.fedorainfracloud.org/results/taw/element/opensuse-tumbleweed-$basearch/ 4 | type=rpm-md 5 | skip_if_unavailable=True 6 | gpgcheck=1 7 | gpgkey=https://download.copr.fedorainfracloud.org/results/taw/element/pubkey.gpg 8 | repo_gpgcheck=0 9 | enabled=1 10 | enabled_metadata=1 11 | 12 | [element-testing] 13 | enabled=0 14 | name=Element for OpenSUSE Tumbleweed - $basearch - testing 15 | baseurl=https://download.copr.fedorainfracloud.org/results/taw/riot-testing/opensuse-tumbleweed-$basearch/ 16 | type=rpm-md 17 | skip_if_unavailable=True 18 | gpgcheck=1 19 | gpgkey=https://download.copr.fedorainfracloud.org/results/taw/riot-testing/pubkey.gpg 20 | repo_gpgcheck=0 21 | metadata_expire=0 22 | enabled_metadata=1 23 | -------------------------------------------------------------------------------- /SOURCES/wget-element-sources.sh: -------------------------------------------------------------------------------- 1 | if (( $# != 1 )) ; then 2 | echo "Usage: $0 " 3 | return 1 4 | fi 5 | 6 | wget https://github.com/vector-im/element-web/archive/refs/tags/v$1.tar.gz -O element-web-$1.tar.gz 7 | wget https://github.com/vector-im/element-desktop/archive/refs/tags/v$1.tar.gz -O element-desktop-$1.tar.gz 8 | ls -lh element-*-$1.tar.gz 9 | -------------------------------------------------------------------------------- /archive/riot-0.12.6.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 0 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.12.6 31 | Release: %{_release}%{?dist} 32 | Packager: Todd Warner 33 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 34 | 35 | %define _srcname riot-web 36 | %define namev %{name}-%{version} 37 | %define namevr %{namev}-%{release} 38 | %define srcnamev %{_srcname}-%{version} 39 | %define srcnamevr %{srcnamev}-%{release} 40 | %define buildtree %{srcnamev} 41 | %define archivebasename %{srcnamev} 42 | %define contribarchivename %{name}-extras-desktop 43 | %define riotdefaultinstalltree /opt/riot 44 | 45 | License: Apache-2.0 46 | 47 | Group: Applications/Internet 48 | URL: http://riot.im/ 49 | # upstream 50 | #Source0: https://github.com/vector-im/riot-web 51 | #Source0: https://github.com/vector-im/riot-web/archive/v%{version}.tar.gz 52 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v%{version} 53 | Source0: %{archivebasename}.tar.gz 54 | Source1: %{contribarchivename}.tar.gz 55 | # patch for RPM builds - not really needed, but here for possible completeness 56 | #Patch0: %{archivebasename}-rpm.patch 57 | 58 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 59 | BuildRequires: npm git desktop-file-utils 60 | 61 | %description 62 | Riot is a decentralized, secure messaging client for collaborative group 63 | communication. Riot's core architecture is an implementation of the matrix 64 | protocol. 65 | 66 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 67 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 68 | discuss your current projects. 69 | 70 | Riot removes the barriers between apps, allowing you to connect teams and 71 | functionality like never before. 72 | 73 | Riot is free. Riot is secure. 74 | 75 | 76 | %prep 77 | # riot upstream stuff 78 | %setup -q -T -a 0 -c %{buildtree} 79 | # extra stuff 80 | #%setup -q -T -D -b 1 -n %{buildtree} 81 | %setup -q -T -D -a 1 82 | #%setup -q -T -D -b 1 -c %{buildtree} 83 | # patches to make an RPM by default though we don't use it. (a completist I am) 84 | #%patch0 -p1 85 | 86 | # We leave with this structure... 87 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 88 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 89 | 90 | %build 91 | # building in riot-VERSION 92 | # cd to riot-web-VERSION 93 | cd %{buildtree} 94 | /usr/bin/npm install 95 | /usr/bin/npm run build 96 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 97 | %define linuxunpacked electron_app/dist/linux-unpacked 98 | %ifarch x86_64 amd64 99 | %define linuxunpacked electron_app/dist/linux-unpacked 100 | node_modules/.bin/build -l tar.gz --x64 101 | %else 102 | %define linuxunpacked electron_app/dist/linux-ia32-unpacked 103 | node_modules/.bin/build -l tar.gz --ia32 104 | %endif 105 | 106 | 107 | %install 108 | rm -rf %{buildroot} 109 | mkdir %{buildroot} 110 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 111 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 112 | #cp %{archivebasename}/LICENSE %{buildroot}%{_datadir}/licenses/LICENSE 113 | #install -D -m755 -p electron_app/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 114 | # a little ugly - the symbolic link creation requires this since it is not "installed" 115 | mkdir -p %{buildroot}%{_bindir} 116 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 117 | install -D -m644 -p %{contribarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 118 | 119 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 120 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 121 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 122 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 123 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 124 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 125 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 126 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 127 | 128 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 129 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 130 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 131 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 132 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 133 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 134 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 135 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 136 | 137 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 138 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 139 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 140 | 141 | 142 | %files 143 | %defattr(-,root,root,-) 144 | %{riotdefaultinstalltree} 145 | %{_datadir}/* 146 | %{_bindir}/* 147 | %{_libdir}/libffmpeg.so 148 | %{_libdir}/libnode.so 149 | #%{_docsdir}/* 150 | #%{_mandir}/* 151 | %license %{archivebasename}/LICENSE 152 | 153 | 154 | %post 155 | umask 007 156 | /sbin/ldconfig > /dev/null 2>&1 157 | 158 | 159 | %postun 160 | umask 007 161 | /sbin/ldconfig > /dev/null 2>&1 162 | 163 | 164 | %clean 165 | rm -rf %{build} 166 | rm -rf %{buildroot} 167 | 168 | 169 | %changelog 170 | * Mon Sep 25 2017 Todd Warner 0.12.6-0.taw 171 | - Updated upstream source. 172 | - Updated build tree structure. 173 | - 174 | * Tue Apr 25 2017 Todd Warner 0.9.9-0.taw 175 | - Updated upstream source. 176 | - 177 | * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw 178 | - Updated upstream source. 179 | - 180 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 181 | - Updated upstream source. 182 | - 183 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 184 | - Tweaks 185 | - 186 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 187 | - Small restructuring 188 | - 189 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 190 | - 0.9.6 191 | - 192 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 193 | - improved icons a bit 194 | - 195 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 196 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 197 | - 198 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 199 | - Fixing icons 200 | - Moving towards calling the package riot, versus riot-web, which 201 | - makes little sense. Undecided. 202 | - 203 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 204 | - Fixing icons 205 | - 206 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 207 | - Minor tweaks. 208 | - 209 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 210 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 211 | - 212 | -------------------------------------------------------------------------------- /archive/riot-0.12.7.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 0 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.12.7 31 | Release: %{_release}%{?dist} 32 | Packager: Todd Warner 33 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 34 | 35 | %define _srcname riot-web 36 | %define namev %{name}-%{version} 37 | %define namevr %{namev}-%{release} 38 | %define srcnamev %{_srcname}-%{version} 39 | %define srcnamevr %{srcnamev}-%{release} 40 | %define buildtree %{srcnamev} 41 | %define archivebasename %{srcnamev} 42 | %define contribarchivename %{name}-extras-desktop 43 | %define riotdefaultinstalltree /opt/riot 44 | 45 | License: Apache-2.0 46 | 47 | Group: Applications/Internet 48 | URL: http://riot.im/ 49 | # upstream 50 | #Source0: https://github.com/vector-im/riot-web 51 | #Source0: https://github.com/vector-im/riot-web/archive/v%{version}.tar.gz 52 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v%{version} 53 | Source0: %{archivebasename}.tar.gz 54 | Source1: %{contribarchivename}.tar.gz 55 | # patch for RPM builds - not really needed, but here for possible completeness 56 | #Patch0: %{archivebasename}-rpm.patch 57 | 58 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 59 | BuildRequires: npm git desktop-file-utils 60 | 61 | %description 62 | Riot is a decentralized, secure messaging client for collaborative group 63 | communication. Riot's core architecture is an implementation of the matrix 64 | protocol. 65 | 66 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 67 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 68 | discuss your current projects. 69 | 70 | Riot removes the barriers between apps, allowing you to connect teams and 71 | functionality like never before. 72 | 73 | Riot is free. Riot is secure. 74 | 75 | 76 | %prep 77 | # riot upstream stuff 78 | %setup -q -T -a 0 -c %{buildtree} 79 | # extra stuff 80 | #%setup -q -T -D -b 1 -n %{buildtree} 81 | %setup -q -T -D -a 1 82 | #%setup -q -T -D -b 1 -c %{buildtree} 83 | # patches to make an RPM by default though we don't use it. (a completist I am) 84 | #%patch0 -p1 85 | 86 | # We leave with this structure... 87 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 88 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 89 | 90 | %build 91 | # building in riot-VERSION 92 | # cd to riot-web-VERSION 93 | cd %{buildtree} 94 | /usr/bin/npm install 95 | /usr/bin/npm run build 96 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 97 | %define linuxunpacked electron_app/dist/linux-unpacked 98 | %ifarch x86_64 amd64 99 | %define linuxunpacked electron_app/dist/linux-unpacked 100 | node_modules/.bin/build -l tar.gz --x64 101 | %else 102 | %define linuxunpacked electron_app/dist/linux-ia32-unpacked 103 | node_modules/.bin/build -l tar.gz --ia32 104 | %endif 105 | 106 | 107 | %install 108 | rm -rf %{buildroot} 109 | mkdir %{buildroot} 110 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 111 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 112 | #cp %{archivebasename}/LICENSE %{buildroot}%{_datadir}/licenses/LICENSE 113 | #install -D -m755 -p electron_app/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 114 | # a little ugly - the symbolic link creation requires this since it is not "installed" 115 | mkdir -p %{buildroot}%{_bindir} 116 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 117 | install -D -m644 -p %{contribarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 118 | 119 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 120 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 121 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 122 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 123 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 124 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 125 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 126 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 127 | 128 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 129 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 130 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 131 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 132 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 133 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 134 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 135 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 136 | 137 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 138 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 139 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 140 | 141 | 142 | %files 143 | %defattr(-,root,root,-) 144 | %{riotdefaultinstalltree} 145 | %{_datadir}/* 146 | %{_bindir}/* 147 | %{_libdir}/libffmpeg.so 148 | %{_libdir}/libnode.so 149 | #%{_docsdir}/* 150 | #%{_mandir}/* 151 | %license %{archivebasename}/LICENSE 152 | 153 | 154 | %post 155 | umask 007 156 | /sbin/ldconfig > /dev/null 2>&1 157 | 158 | 159 | %postun 160 | umask 007 161 | /sbin/ldconfig > /dev/null 2>&1 162 | 163 | 164 | %clean 165 | rm -rf %{build} 166 | rm -rf %{buildroot} 167 | 168 | 169 | %changelog 170 | * Tue Oct 24 2017 Todd Warner 0.12.7-0.taw 171 | - Updated upstream source. 172 | - 173 | * Mon Sep 25 2017 Todd Warner 0.12.6-0.taw 174 | - Updated upstream source. 175 | - Updated build tree structure. 176 | - 177 | * Tue Apr 25 2017 Todd Warner 0.9.9-0.taw 178 | - Updated upstream source. 179 | - 180 | * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw 181 | - Updated upstream source. 182 | - 183 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 184 | - Updated upstream source. 185 | - 186 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 187 | - Tweaks 188 | - 189 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 190 | - Small restructuring 191 | - 192 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 193 | - 0.9.6 194 | - 195 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 196 | - improved icons a bit 197 | - 198 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 199 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 200 | - 201 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 202 | - Fixing icons 203 | - Moving towards calling the package riot, versus riot-web, which 204 | - makes little sense. Undecided. 205 | - 206 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 207 | - Fixing icons 208 | - 209 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 210 | - Minor tweaks. 211 | - 212 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 213 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 214 | - 215 | -------------------------------------------------------------------------------- /archive/riot-0.13.0.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 1 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.13.0 31 | Release: %{_release}%{?dist} 32 | Packager: Todd Warner 33 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 34 | 35 | %define _srcname riot-web 36 | %define namev %{name}-%{version} 37 | %define namevr %{namev}-%{release} 38 | %define srcnamev %{_srcname}-%{version} 39 | %define srcnamevr %{srcnamev}-%{release} 40 | %define buildtree %{srcnamev} 41 | %define archivebasename %{srcnamev} 42 | %define contribarchivename %{name}-extras-desktop 43 | %define riotdefaultinstalltree /opt/riot 44 | 45 | License: Apache-2.0 46 | 47 | Group: Applications/Internet 48 | URL: http://riot.im/ 49 | # upstream 50 | #Source0: https://github.com/vector-im/riot-web 51 | #Source0: https://github.com/vector-im/riot-web/archive/v%{version}.tar.gz 52 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v%{version} 53 | Source0: %{archivebasename}.tar.gz 54 | Source1: %{contribarchivename}.tar.gz 55 | # patch for RPM builds - not really needed, but here for possible completeness 56 | #Patch0: %{archivebasename}-rpm.patch 57 | 58 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 59 | BuildRequires: npm git desktop-file-utils 60 | 61 | %description 62 | Riot is a decentralized, secure messaging client for collaborative group 63 | communication. Riot's core architecture is an implementation of the matrix 64 | protocol. 65 | 66 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 67 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 68 | discuss your current projects. 69 | 70 | Riot removes the barriers between apps, allowing you to connect teams and 71 | functionality like never before. 72 | 73 | Riot is free. Riot is secure. 74 | 75 | 76 | %prep 77 | # riot upstream stuff 78 | %setup -q -T -a 0 -c %{buildtree} 79 | # extra stuff 80 | #%setup -q -T -D -b 1 -n %{buildtree} 81 | %setup -q -T -D -a 1 82 | #%setup -q -T -D -b 1 -c %{buildtree} 83 | # patches to make an RPM by default though we don't use it. (a completist I am) 84 | #%patch0 -p1 85 | 86 | # We leave with this structure... 87 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 88 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 89 | 90 | %build 91 | # building in riot-VERSION 92 | # cd to riot-web-VERSION 93 | cd %{buildtree} 94 | /usr/bin/npm install 95 | /usr/bin/npm install 7zip-bin-linux 96 | /usr/bin/npm run build 97 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 98 | %define linuxunpacked electron_app/dist/linux-unpacked 99 | %ifarch x86_64 amd64 100 | %define linuxunpacked electron_app/dist/linux-unpacked 101 | node_modules/.bin/build -l tar.gz --x64 102 | %else 103 | %define linuxunpacked electron_app/dist/linux-ia32-unpacked 104 | node_modules/.bin/build -l tar.gz --ia32 105 | %endif 106 | 107 | 108 | %install 109 | rm -rf %{buildroot} 110 | mkdir %{buildroot} 111 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 112 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 113 | #cp %{archivebasename}/LICENSE %{buildroot}%{_datadir}/licenses/LICENSE 114 | #install -D -m755 -p electron_app/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 115 | # a little ugly - the symbolic link creation requires this since it is not "installed" 116 | mkdir -p %{buildroot}%{_bindir} 117 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 118 | install -D -m644 -p %{contribarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 119 | 120 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 121 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 122 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 123 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 124 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 125 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 126 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 127 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 128 | 129 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 130 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 131 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 132 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 133 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 134 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 135 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 136 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 137 | 138 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 139 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 140 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 141 | 142 | 143 | %files 144 | %defattr(-,root,root,-) 145 | %{riotdefaultinstalltree} 146 | %{_datadir}/* 147 | %{_bindir}/* 148 | %{_libdir}/libffmpeg.so 149 | %{_libdir}/libnode.so 150 | #%{_docsdir}/* 151 | #%{_mandir}/* 152 | %license %{archivebasename}/LICENSE 153 | 154 | 155 | %post 156 | umask 007 157 | /sbin/ldconfig > /dev/null 2>&1 158 | 159 | 160 | %postun 161 | umask 007 162 | /sbin/ldconfig > /dev/null 2>&1 163 | 164 | 165 | %clean 166 | rm -rf %{build} 167 | rm -rf %{buildroot} 168 | 169 | 170 | %changelog 171 | * Fri Nov 17 2017 Todd Warner 0.13.0-1.taw 172 | - Fedora 27 does not install 7zip-bin-linux when you perform "npm install", so 173 | - we specifically add it. 174 | - 175 | * Fri Nov 17 2017 Todd Warner 0.13.0-0.taw 176 | - Updated upstream source. 177 | - 178 | * Tue Oct 24 2017 Todd Warner 0.12.7-0.taw 179 | - Updated upstream source. 180 | - 181 | * Mon Sep 25 2017 Todd Warner 0.12.6-0.taw 182 | - Updated upstream source. 183 | - Updated build tree structure. 184 | - 185 | * Tue Apr 25 2017 Todd Warner 0.9.9-0.taw 186 | - Updated upstream source. 187 | - 188 | * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw 189 | - Updated upstream source. 190 | - 191 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 192 | - Updated upstream source. 193 | - 194 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 195 | - Tweaks 196 | - 197 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 198 | - Small restructuring 199 | - 200 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 201 | - 0.9.6 202 | - 203 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 204 | - improved icons a bit 205 | - 206 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 207 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 208 | - 209 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 210 | - Fixing icons 211 | - Moving towards calling the package riot, versus riot-web, which 212 | - makes little sense. Undecided. 213 | - 214 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 215 | - Fixing icons 216 | - 217 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 218 | - Minor tweaks. 219 | - 220 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 221 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 222 | - 223 | -------------------------------------------------------------------------------- /archive/riot-0.13.1.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 0 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.13.1 31 | Release: %{_release}%{?dist} 32 | Packager: Todd Warner 33 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 34 | 35 | %define _srcname riot-web 36 | %define namev %{name}-%{version} 37 | %define namevr %{namev}-%{release} 38 | %define srcnamev %{_srcname}-%{version} 39 | %define srcnamevr %{srcnamev}-%{release} 40 | %define buildtree %{srcnamev} 41 | %define archivebasename %{srcnamev} 42 | %define contribarchivename %{name}-extras-desktop 43 | %define riotdefaultinstalltree /opt/riot 44 | 45 | License: Apache-2.0 46 | 47 | Group: Applications/Internet 48 | URL: http://riot.im/ 49 | # upstream 50 | #Source0: https://github.com/vector-im/riot-web 51 | #Source0: https://github.com/vector-im/riot-web/archive/v%{version}.tar.gz 52 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v%{version} 53 | Source0: %{archivebasename}.tar.gz 54 | Source1: %{contribarchivename}.tar.gz 55 | # patch for RPM builds - not really needed, but here for possible completeness 56 | #Patch0: %{archivebasename}-rpm.patch 57 | 58 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 59 | BuildRequires: npm git desktop-file-utils 60 | 61 | %description 62 | Riot is a decentralized, secure messaging client for collaborative group 63 | communication. Riot's core architecture is an implementation of the matrix 64 | protocol. 65 | 66 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 67 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 68 | discuss your current projects. 69 | 70 | Riot removes the barriers between apps, allowing you to connect teams and 71 | functionality like never before. 72 | 73 | Riot is free. Riot is secure. 74 | 75 | 76 | %prep 77 | # riot upstream stuff 78 | %setup -q -T -a 0 -c %{buildtree} 79 | # extra stuff 80 | #%setup -q -T -D -b 1 -n %{buildtree} 81 | %setup -q -T -D -a 1 82 | #%setup -q -T -D -b 1 -c %{buildtree} 83 | # patches to make an RPM by default though we don't use it. (a completist I am) 84 | #%patch0 -p1 85 | 86 | # We leave with this structure... 87 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 88 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 89 | 90 | %build 91 | # building in riot-VERSION 92 | # cd to riot-web-VERSION 93 | cd %{buildtree} 94 | /usr/bin/npm install 95 | /usr/bin/npm install 7zip-bin-linux 96 | /usr/bin/npm run build 97 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 98 | %define linuxunpacked electron_app/dist/linux-unpacked 99 | %ifarch x86_64 amd64 100 | %define linuxunpacked electron_app/dist/linux-unpacked 101 | node_modules/.bin/build -l tar.gz --x64 102 | %else 103 | %define linuxunpacked electron_app/dist/linux-ia32-unpacked 104 | node_modules/.bin/build -l tar.gz --ia32 105 | %endif 106 | 107 | 108 | %install 109 | rm -rf %{buildroot} 110 | mkdir %{buildroot} 111 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 112 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 113 | #cp %{archivebasename}/LICENSE %{buildroot}%{_datadir}/licenses/LICENSE 114 | #install -D -m755 -p electron_app/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 115 | # a little ugly - the symbolic link creation requires this since it is not "installed" 116 | mkdir -p %{buildroot}%{_bindir} 117 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 118 | install -D -m644 -p %{contribarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 119 | 120 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 121 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 122 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 123 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 124 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 125 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 126 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 127 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 128 | 129 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 130 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 131 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 132 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 133 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 134 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 135 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 136 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 137 | 138 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 139 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 140 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 141 | 142 | 143 | %files 144 | %defattr(-,root,root,-) 145 | %{riotdefaultinstalltree} 146 | %{_datadir}/* 147 | %{_bindir}/* 148 | %{_libdir}/libffmpeg.so 149 | %{_libdir}/libnode.so 150 | #%{_docsdir}/* 151 | #%{_mandir}/* 152 | %license %{archivebasename}/LICENSE 153 | 154 | 155 | %post 156 | umask 007 157 | /sbin/ldconfig > /dev/null 2>&1 158 | 159 | 160 | %postun 161 | umask 007 162 | /sbin/ldconfig > /dev/null 2>&1 163 | 164 | 165 | %clean 166 | rm -rf %{build} 167 | rm -rf %{buildroot} 168 | 169 | 170 | %changelog 171 | * Fri Nov 17 2017 Todd Warner 0.13.1-0.taw 172 | - Updated upstream source. v0.13.1 is a secuity update... 173 | - https://github.com/vector-im/riot-web/releases/tag/v0.13.1 174 | - 175 | * Fri Nov 17 2017 Todd Warner 0.13.0-1.taw 176 | - Fedora 27 does not install 7zip-bin-linux when you perform "npm install", so 177 | - we specifically add it. 178 | - 179 | * Fri Nov 17 2017 Todd Warner 0.13.0-0.taw 180 | - Updated upstream source. 181 | - 182 | * Tue Oct 24 2017 Todd Warner 0.12.7-0.taw 183 | - Updated upstream source. 184 | - 185 | * Mon Sep 25 2017 Todd Warner 0.12.6-0.taw 186 | - Updated upstream source. 187 | - Updated build tree structure. 188 | - 189 | * Tue Apr 25 2017 Todd Warner 0.9.9-0.taw 190 | - Updated upstream source. 191 | - 192 | * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw 193 | - Updated upstream source. 194 | - 195 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 196 | - Updated upstream source. 197 | - 198 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 199 | - Tweaks 200 | - 201 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 202 | - Small restructuring 203 | - 204 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 205 | - 0.9.6 206 | - 207 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 208 | - improved icons a bit 209 | - 210 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 211 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 212 | - 213 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 214 | - Fixing icons 215 | - Moving towards calling the package riot, versus riot-web, which 216 | - makes little sense. Undecided. 217 | - 218 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 219 | - Fixing icons 220 | - 221 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 222 | - Minor tweaks. 223 | - 224 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 225 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 226 | - 227 | -------------------------------------------------------------------------------- /archive/riot-0.13.3.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 1 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.13.3 31 | Release: %{_release}%{?dist} 32 | Packager: Todd Warner 33 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 34 | 35 | %define _srcname riot-web 36 | %define namev %{name}-%{version} 37 | %define namevr %{namev}-%{release} 38 | %define srcnamev %{_srcname}-%{version} 39 | %define srcnamevr %{srcnamev}-%{release} 40 | %define buildtree %{srcnamev} 41 | %define archivebasename %{srcnamev} 42 | %define contribarchivename %{name}-extras-desktop 43 | %define riotdefaultinstalltree /opt/riot 44 | 45 | License: Apache-2.0 46 | 47 | Group: Applications/Internet 48 | URL: http://riot.im/ 49 | # upstream 50 | #Source0: https://github.com/vector-im/riot-web 51 | #Source0: https://github.com/vector-im/riot-web/archive/v%{version}.tar.gz 52 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v%{version} 53 | Source0: %{archivebasename}.tar.gz 54 | Source1: %{contribarchivename}.tar.gz 55 | # patch for RPM builds - not really needed, but here for possible completeness 56 | #Patch0: %{archivebasename}-rpm.patch 57 | 58 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 59 | BuildRequires: npm git desktop-file-utils 60 | 61 | %description 62 | Riot is a decentralized, secure messaging client for collaborative group 63 | communication. Riot's core architecture is an implementation of the matrix 64 | protocol. 65 | 66 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 67 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 68 | discuss your current projects. 69 | 70 | Riot removes the barriers between apps, allowing you to connect teams and 71 | functionality like never before. 72 | 73 | Riot is free. Riot is secure. 74 | 75 | 76 | %prep 77 | # riot upstream stuff 78 | %setup -q -T -a 0 -c %{buildtree} 79 | # extra stuff 80 | #%setup -q -T -D -b 1 -n %{buildtree} 81 | %setup -q -T -D -a 1 82 | #%setup -q -T -D -b 1 -c %{buildtree} 83 | # patches to make an RPM by default though we don't use it. (a completist I am) 84 | #%patch0 -p1 85 | 86 | # We leave with this structure... 87 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 88 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 89 | 90 | %build 91 | # building in riot-VERSION 92 | # cd to riot-web-VERSION 93 | cd %{buildtree} 94 | /usr/bin/npm install 95 | /usr/bin/npm install 7zip-bin-linux 96 | /usr/bin/npm run build 97 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 98 | %define linuxunpacked electron_app/dist/linux-unpacked 99 | %ifarch x86_64 amd64 100 | %define linuxunpacked electron_app/dist/linux-unpacked 101 | node_modules/.bin/build -l tar.gz --x64 102 | %else 103 | %define linuxunpacked electron_app/dist/linux-ia32-unpacked 104 | node_modules/.bin/build -l tar.gz --ia32 105 | %endif 106 | 107 | 108 | %install 109 | rm -rf %{buildroot} 110 | mkdir %{buildroot} 111 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 112 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 113 | #cp %{archivebasename}/LICENSE %{buildroot}%{_datadir}/licenses/LICENSE 114 | #install -D -m755 -p electron_app/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 115 | # a little ugly - the symbolic link creation requires this since it is not "installed" 116 | mkdir -p %{buildroot}%{_bindir} 117 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 118 | install -D -m644 -p %{contribarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 119 | 120 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 121 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 122 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 123 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 124 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 125 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 126 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 127 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 128 | 129 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 130 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 131 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 132 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 133 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 134 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 135 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 136 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 137 | 138 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 139 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 140 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 141 | 142 | 143 | %files 144 | %defattr(-,root,root,-) 145 | %{riotdefaultinstalltree} 146 | %{_datadir}/* 147 | %{_bindir}/* 148 | %{_libdir}/libffmpeg.so 149 | %{_libdir}/libnode.so 150 | #%{_docsdir}/* 151 | #%{_mandir}/* 152 | %license %{archivebasename}/LICENSE 153 | 154 | 155 | %post 156 | umask 007 157 | /sbin/ldconfig > /dev/null 2>&1 158 | 159 | 160 | %postun 161 | umask 007 162 | /sbin/ldconfig > /dev/null 2>&1 163 | 164 | 165 | %clean 166 | rm -rf %{build} 167 | rm -rf %{buildroot} 168 | 169 | 170 | %changelog 171 | * Wed Dec 06 2017 Todd Warner 0.13.3-1.taw 172 | - Updated upstream source. 173 | - https://github.com/vector-im/riot-web/releases/tag/v0.13.3 174 | - Bumped to -1.taw to fix this changelog date which was incorrectly labeled. 175 | - 176 | * Fri Nov 17 2017 Todd Warner 0.13.0-1.taw 177 | - Fedora 27 does not install 7zip-bin-linux when you perform "npm install", so 178 | - we specifically add it. 179 | - 180 | * Fri Nov 17 2017 Todd Warner 0.13.0-0.taw 181 | - Updated upstream source. 182 | - 183 | * Tue Oct 24 2017 Todd Warner 0.12.7-0.taw 184 | - Updated upstream source. 185 | - 186 | * Mon Sep 25 2017 Todd Warner 0.12.6-0.taw 187 | - Updated upstream source. 188 | - Updated build tree structure. 189 | - 190 | * Tue Apr 25 2017 Todd Warner 0.9.9-0.taw 191 | - Updated upstream source. 192 | - 193 | * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw 194 | - Updated upstream source. 195 | - 196 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 197 | - Updated upstream source. 198 | - 199 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 200 | - Tweaks 201 | - 202 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 203 | - Small restructuring 204 | - 205 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 206 | - 0.9.6 207 | - 208 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 209 | - improved icons a bit 210 | - 211 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 212 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 213 | - 214 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 215 | - Fixing icons 216 | - Moving towards calling the package riot, versus riot-web, which 217 | - makes little sense. Undecided. 218 | - 219 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 220 | - Fixing icons 221 | - 222 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 223 | - Minor tweaks. 224 | - 225 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 226 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 227 | - 228 | -------------------------------------------------------------------------------- /archive/riot-0.13.4.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 0 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.13.4 31 | Release: %{_release}%{?dist} 32 | Packager: Todd Warner 33 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 34 | 35 | %define _srcname riot-web 36 | %define namev %{name}-%{version} 37 | %define namevr %{namev}-%{release} 38 | %define srcnamev %{_srcname}-%{version} 39 | %define srcnamevr %{srcnamev}-%{release} 40 | %define buildtree %{srcnamev} 41 | %define archivebasename %{srcnamev} 42 | %define contribarchivename %{name}-extras-desktop 43 | %define riotdefaultinstalltree /opt/riot 44 | 45 | License: Apache-2.0 46 | 47 | Group: Applications/Internet 48 | URL: http://riot.im/ 49 | # upstream 50 | #Source0: https://github.com/vector-im/riot-web 51 | #Source0: https://github.com/vector-im/riot-web/archive/v%{version}.tar.gz 52 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v%{version} 53 | Source0: %{archivebasename}.tar.gz 54 | Source1: %{contribarchivename}.tar.gz 55 | # patch for RPM builds - not really needed, but here for possible completeness 56 | #Patch0: %{archivebasename}-rpm.patch 57 | 58 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 59 | BuildRequires: npm git desktop-file-utils 60 | 61 | %description 62 | Riot is a decentralized, secure messaging client for collaborative group 63 | communication. Riot's core architecture is an implementation of the matrix 64 | protocol. 65 | 66 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 67 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 68 | discuss your current projects. 69 | 70 | Riot removes the barriers between apps, allowing you to connect teams and 71 | functionality like never before. 72 | 73 | Riot is free. Riot is secure. 74 | 75 | 76 | %prep 77 | # riot upstream stuff 78 | %setup -q -T -a 0 -c %{buildtree} 79 | # extra stuff 80 | #%setup -q -T -D -b 1 -n %{buildtree} 81 | %setup -q -T -D -a 1 82 | #%setup -q -T -D -b 1 -c %{buildtree} 83 | # patches to make an RPM by default though we don't use it. (a completist I am) 84 | #%patch0 -p1 85 | 86 | # We leave with this structure... 87 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 88 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 89 | 90 | %build 91 | # building in riot-VERSION 92 | # cd to riot-web-VERSION 93 | cd %{buildtree} 94 | /usr/bin/npm install 95 | /usr/bin/npm install 7zip-bin-linux 96 | /usr/bin/npm run build 97 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 98 | %define linuxunpacked electron_app/dist/linux-unpacked 99 | %ifarch x86_64 amd64 100 | %define linuxunpacked electron_app/dist/linux-unpacked 101 | node_modules/.bin/build -l tar.gz --x64 102 | %else 103 | %define linuxunpacked electron_app/dist/linux-ia32-unpacked 104 | node_modules/.bin/build -l tar.gz --ia32 105 | %endif 106 | 107 | 108 | %install 109 | rm -rf %{buildroot} 110 | mkdir %{buildroot} 111 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 112 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 113 | #cp %{archivebasename}/LICENSE %{buildroot}%{_datadir}/licenses/LICENSE 114 | #install -D -m755 -p electron_app/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 115 | # a little ugly - the symbolic link creation requires this since it is not "installed" 116 | mkdir -p %{buildroot}%{_bindir} 117 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 118 | install -D -m644 -p %{contribarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 119 | 120 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 121 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 122 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 123 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 124 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 125 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 126 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 127 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 128 | 129 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 130 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 131 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 132 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 133 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 134 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 135 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 136 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 137 | 138 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 139 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 140 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 141 | 142 | 143 | %files 144 | %defattr(-,root,root,-) 145 | %{riotdefaultinstalltree} 146 | %{_datadir}/* 147 | %{_bindir}/* 148 | %{_libdir}/libffmpeg.so 149 | %{_libdir}/libnode.so 150 | #%{_docsdir}/* 151 | #%{_mandir}/* 152 | %license %{archivebasename}/LICENSE 153 | 154 | 155 | %post 156 | umask 007 157 | /sbin/ldconfig > /dev/null 2>&1 158 | 159 | 160 | %postun 161 | umask 007 162 | /sbin/ldconfig > /dev/null 2>&1 163 | 164 | 165 | %clean 166 | rm -rf %{build} 167 | rm -rf %{buildroot} 168 | 169 | 170 | %changelog 171 | * Sat Jan 06 2018 Todd Warner 0.13.4-0.taw 172 | - Updated upstream source that fixes one of the default configuration files. 173 | - https://github.com/vector-im/riot-web/releases/tag/v0.13.4 174 | - 175 | * Wed Dec 06 2017 Todd Warner 0.13.3-1.taw 176 | - Updated upstream source. 177 | - https://github.com/vector-im/riot-web/releases/tag/v0.13.3 178 | - Bumped to -1.taw to fix this changelog date which was incorrectly labeled. 179 | - 180 | * Fri Nov 17 2017 Todd Warner 0.13.0-1.taw 181 | - Fedora 27 does not install 7zip-bin-linux when you perform "npm install", so 182 | - we specifically add it. 183 | - 184 | * Fri Nov 17 2017 Todd Warner 0.13.0-0.taw 185 | - Updated upstream source. 186 | - 187 | * Tue Oct 24 2017 Todd Warner 0.12.7-0.taw 188 | - Updated upstream source. 189 | - 190 | * Mon Sep 25 2017 Todd Warner 0.12.6-0.taw 191 | - Updated upstream source. 192 | - Updated build tree structure. 193 | - 194 | * Tue Apr 25 2017 Todd Warner 0.9.9-0.taw 195 | - Updated upstream source. 196 | - 197 | * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw 198 | - Updated upstream source. 199 | - 200 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 201 | - Updated upstream source. 202 | - 203 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 204 | - Tweaks 205 | - 206 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 207 | - Small restructuring 208 | - 209 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 210 | - 0.9.6 211 | - 212 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 213 | - improved icons a bit 214 | - 215 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 216 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 217 | - 218 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 219 | - Fixing icons 220 | - Moving towards calling the package riot, versus riot-web, which 221 | - makes little sense. Undecided. 222 | - 223 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 224 | - Fixing icons 225 | - 226 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 227 | - Minor tweaks. 228 | - 229 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 230 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 231 | - 232 | -------------------------------------------------------------------------------- /archive/riot-0.13.5.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # This will be changing dramatically in 0.14.0... 12 | # Release bump is the base release number - i.e., we tend to "bump" this often. 13 | # Recommend including the date for experimental builds 14 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 15 | %define bump 3 16 | # release bumptag 17 | %define bumptag .taw 18 | #%%define bumptag %%{nil} -- note, you have to double up %%'s in comments or rpmbuild hates you 19 | # ...the release bumptag is used to convey information about who built the 20 | # package (or other extra information) and is really only useful during early 21 | # spins of the RPMs. For example, ".taw" is a reference to the original 22 | # packager, Todd Warner (his initials). 23 | # For actual releases, you may want to NIL the value above 24 | %define _release %{bump}%{bumptag} 25 | 26 | # how are debug info and build_ids managed (I only halfway understand this): 27 | # https://github.com/rpm-software-management/rpm/blob/master/macros.in 28 | %define debug_package %{nil} 29 | %define _unique_build_ids 1 30 | %define _build_id_links alldebug 31 | 32 | Name: riot 33 | Obsoletes: riot-web 34 | Version: 0.13.5 35 | Release: %{_release}%{?dist} 36 | Packager: Todd Warner 37 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 38 | 39 | %define _srcname riot-web 40 | %define namev %{name}-%{version} 41 | %define namevr %{namev}-%{release} 42 | %define srcnamev %{_srcname}-%{version} 43 | %define srcnamevr %{srcnamev}-%{release} 44 | %define buildtree %{srcnamev} 45 | %define archivebasename %{srcnamev} 46 | %define contribarchivename %{name}-extras-desktop 47 | %define riotdefaultinstalltree /opt/riot 48 | 49 | License: Apache-2.0 50 | 51 | Group: Applications/Internet 52 | URL: http://riot.im/ 53 | # upstream 54 | Source0: %{archivebasename}.tar.gz 55 | Source1: %{contribarchivename}.tar.gz 56 | 57 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 58 | BuildRequires: npm git desktop-file-utils 59 | 60 | %description 61 | Riot is a decentralized, secure messaging client for collaborative group 62 | communication. Riot's core architecture is an implementation of the matrix 63 | protocol. 64 | 65 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 66 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 67 | discuss your current projects. 68 | 69 | Riot removes the barriers between apps, allowing you to connect teams and 70 | functionality like never before. 71 | 72 | Riot is free. Riot is secure. 73 | 74 | 75 | %prep 76 | # riot upstream stuff 77 | %setup -q -T -a 0 -c %{buildtree} 78 | %setup -q -T -D -a 1 79 | 80 | # We leave with this structure... 81 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 82 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 83 | 84 | %build 85 | # This section starts us in directory .../BUILD/pkg-version_major (srcroot) 86 | # cd to riot-web-VERSION 87 | cd %{buildtree} 88 | 89 | # Clearing npm's cache will hopefully elminate SHA1 integrity issues. 90 | /usr/bin/npm cache clean --force 91 | 92 | /usr/bin/npm install 93 | /usr/bin/npm install 7zip-bin-linux 94 | /usr/bin/npm run build 95 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 96 | %define linuxunpacked electron_app/dist/linux-unpacked 97 | %ifarch x86_64 amd64 98 | %define linuxunpacked electron_app/dist/linux-unpacked 99 | node_modules/.bin/build -l tar.gz --x64 100 | %else 101 | %define linuxunpacked electron_app/dist/linux-ia32-unpacked 102 | node_modules/.bin/build -l tar.gz --ia32 103 | %endif 104 | 105 | 106 | %install 107 | # This section starts us in directory .../BUILD/pkg-version_major (srcroot) 108 | rm -rf %{buildroot} ; mkdir %{buildroot} 109 | 110 | install -d %{buildroot}%{riotdefaultinstalltree} 111 | install -d -m755 -p %{buildroot}%{_bindir} 112 | install -d %{buildroot}%{_datadir}/applications 113 | install -d %{buildroot}/usr/lib/riot 114 | install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d 115 | 116 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 117 | 118 | # a little ugly - the symbolic link creation requires this since it is not "installed" 119 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 120 | 121 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 122 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 123 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 124 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 125 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 126 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 127 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 128 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 129 | 130 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 131 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 132 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 133 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 134 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 135 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 136 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 137 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 138 | 139 | install -D -m644 -p %{contribarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 140 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 141 | 142 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}/usr/lib/riot/libffmpeg.so 143 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}/usr/lib/riot/libnode.so 144 | install -D -m644 -p %{contribarchivename}/extras/etc-ld.so.conf.d-riot.conf %{buildroot}/etc/ld.so.conf.d/riot.conf 145 | #install -D -m755 -p %%{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %%{buildroot}%%{_libdir}/libffmpeg.so 146 | #install -D -m755 -p %%{buildroot}%{riotdefaultinstalltree}/libnode.so %%{buildroot}%%{_libdir}/libnode.so 147 | 148 | 149 | %files 150 | %defattr(-,root,root,-) 151 | # We own /opt/riot and everything under it... 152 | %{riotdefaultinstalltree} 153 | %{_datadir}/* 154 | %{_bindir}/* 155 | /etc/ld.so.conf.d/riot.conf 156 | %dir %attr(755,root,root) /usr/lib/riot 157 | /usr/lib/riot/libffmpeg.so 158 | /usr/lib/riot/libnode.so 159 | #%%{_libdir}/libffmpeg.so 160 | #%%{_libdir}/libnode.so 161 | #%%{_docsdir}/* 162 | #%%{_mandir}/* 163 | %license %{archivebasename}/LICENSE 164 | 165 | 166 | %post 167 | umask 007 168 | /sbin/ldconfig > /dev/null 2>&1 169 | 170 | 171 | %postun 172 | umask 007 173 | /sbin/ldconfig > /dev/null 2>&1 174 | 175 | 176 | %clean 177 | rm -rf %{build} 178 | rm -rf %{buildroot} 179 | 180 | 181 | %changelog 182 | * Tue Apr 10 2018 Todd Warner 0.13.5-3.taw 183 | - Added an 'npm cache clean --force' to hopefully about cache integrity issues 184 | (sha1 integrity checks, namely) 185 | - 186 | * Mon Apr 9 2018 Todd Warner 0.13.5-2.taw 187 | - Nuked .build_ids in order to avoid conflicts. 188 | - 189 | * Sun Feb 11 2018 Todd Warner 0.13.5-1.taw 190 | - Adjusted location of libffmpeg and libnode in order to avoid conflicts. 191 | - 192 | * Fri Feb 09 2018 Todd Warner 0.13.5-0.taw 193 | - Updated upstream source that fixes a security issue with external URL management. 194 | - https://github.com/vector-im/riot-web/releases/tag/v0.13.5 195 | - 196 | * Sat Jan 06 2018 Todd Warner 0.13.4-0.taw 197 | - Updated upstream source that fixes one of the default configuration files. 198 | - https://github.com/vector-im/riot-web/releases/tag/v0.13.4 199 | - 200 | * Wed Dec 06 2017 Todd Warner 0.13.3-1.taw 201 | - Updated upstream source. 202 | - https://github.com/vector-im/riot-web/releases/tag/v0.13.3 203 | - Bumped to -1.taw to fix this changelog date which was incorrectly labeled. 204 | - 205 | * Fri Nov 17 2017 Todd Warner 0.13.0-1.taw 206 | - Fedora 27 does not install 7zip-bin-linux when you perform "npm install", so 207 | - we specifically add it. 208 | - 209 | * Fri Nov 17 2017 Todd Warner 0.13.0-0.taw 210 | - Updated upstream source. 211 | - 212 | * Tue Oct 24 2017 Todd Warner 0.12.7-0.taw 213 | - Updated upstream source. 214 | - 215 | * Mon Sep 25 2017 Todd Warner 0.12.6-0.taw 216 | - Updated upstream source. 217 | - Updated build tree structure. 218 | - 219 | * Tue Apr 25 2017 Todd Warner 0.9.9-0.taw 220 | - Updated upstream source. 221 | - 222 | * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw 223 | - Updated upstream source. 224 | - 225 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 226 | - Updated upstream source. 227 | - 228 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 229 | - Tweaks 230 | - 231 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 232 | - Small restructuring 233 | - 234 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 235 | - 0.9.6 236 | - 237 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 238 | - improved icons a bit 239 | - 240 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 241 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 242 | - 243 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 244 | - Fixing icons 245 | - Moving towards calling the package riot, versus riot-web, which 246 | - makes little sense. Undecided. 247 | - 248 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 249 | - Fixing icons 250 | - 251 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 252 | - Minor tweaks. 253 | - 254 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 255 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 256 | - 257 | -------------------------------------------------------------------------------- /archive/riot-0.9.5.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 5 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.9.5 31 | Release: 1.%{_release}%{?dist} 32 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 33 | 34 | %define _srcname riot-web 35 | %define namev %{name}-%{version} 36 | %define namevr %{namev}-%{release} 37 | %define srcnamev %{_srcname}-%{version} 38 | %define srcnamevr %{srcnamev}-%{release} 39 | %define archivebasename %{srcnamev} 40 | %define sourcetree %{srcnamev} 41 | %define riotdefaultinstalltree /opt/riot 42 | 43 | License: Apache-2.0 44 | 45 | Group: Applications/Internet 46 | URL: http://riot.im/ 47 | # upstream 48 | #Source0: https://github.com/vector-im/riot-web 49 | #Source0: https://github.com/vector-im/riot-web/archive/v0.9.5.tar.gz 50 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v0.9.5 51 | Source0: %{archivebasename}.tar.gz 52 | Source1: %{archivebasename}-extras.tar.gz 53 | # patch for RPM builds - not really needed, but here for possible completeness 54 | Patch0: %{archivebasename}-rpm.patch 55 | 56 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 57 | BuildRequires: npm git desktop-file-utils 58 | 59 | %description 60 | Riot is a decentralized, secure messaging client for collaborative group 61 | communication. Riot's core architecture is an implementation of the matrix 62 | protocol. 63 | 64 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 65 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 66 | discuss your current projects. 67 | 68 | Riot removes the barriers between apps, allowing you to connect teams and 69 | functionality like never before. 70 | 71 | Riot is free. Riot is secure. 72 | 73 | 74 | %prep 75 | # riot upstream stuff 76 | %setup -q -n %{sourcetree} 77 | # extra stuff 78 | %setup -q -T -D -b 1 -n %{sourcetree} 79 | # patches to make an RPM by default though we don't use it. (a completist I am) 80 | #%patch0 -p1 81 | 82 | 83 | %build 84 | npm install 85 | npm run build 86 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 87 | %define linuxunpacked electron/dist/linux-unpacked 88 | %ifarch x86_64 amd64 89 | %define linuxunpacked electron/dist/linux-unpacked 90 | node_modules/.bin/build -l tar.gz --x64 91 | %else 92 | %define linuxunpacked electron/dist/linux-ia32-unpacked 93 | node_modules/.bin/build -l tar.gz --ia32 94 | %endif 95 | 96 | 97 | %install 98 | rm -rf %{buildroot} 99 | mkdir %{buildroot} 100 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 101 | cp -a %{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 102 | #install -D -m755 -p electron/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 103 | # a little ugly - the symbolic link creation requires this since it is not "installed" 104 | mkdir -p %{buildroot}%{_bindir} 105 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 106 | install -D -m644 -p extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 107 | 108 | install -D -m644 -p extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 109 | install -D -m644 -p extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 110 | install -D -m644 -p extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 111 | install -D -m644 -p extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 112 | install -D -m644 -p extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 113 | install -D -m644 -p extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 114 | install -D -m644 -p extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 115 | install -D -m644 -p extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 116 | 117 | install -D -m644 -p extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 118 | install -D -m644 -p extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 119 | install -D -m644 -p extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 120 | install -D -m644 -p extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 121 | install -D -m644 -p extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 122 | install -D -m644 -p extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 123 | install -D -m644 -p extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 124 | install -D -m644 -p extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 125 | 126 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 127 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 128 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 129 | 130 | 131 | %files 132 | %defattr(-,root,root,-) 133 | %{riotdefaultinstalltree} 134 | %{_datadir}/* 135 | %{_bindir}/* 136 | %{_libdir}/libffmpeg.so 137 | %{_libdir}/libnode.so 138 | #%{_docsdir}/* 139 | #%{_mandir}/* 140 | %license LICENSE 141 | 142 | 143 | %post 144 | umask 007 145 | /sbin/ldconfig > /dev/null 2>&1 146 | 147 | 148 | %postun 149 | umask 007 150 | /sbin/ldconfig > /dev/null 2>&1 151 | 152 | 153 | %clean 154 | rm -rf %{build} 155 | rm -rf %{buildroot} 156 | 157 | 158 | %changelog 159 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 160 | - improved icons a bit 161 | - 162 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 163 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 164 | - 165 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 166 | - Fixing icons 167 | - Moving towards calling the package riot, versus riot-web, which 168 | - makes little sense. Undecided. 169 | - 170 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 171 | - Fixing icons 172 | - 173 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 174 | - Minor tweaks. 175 | - 176 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 177 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 178 | - 179 | -------------------------------------------------------------------------------- /archive/riot-0.9.6.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 0 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.9.6 31 | Release: 1.%{_release}%{?dist} 32 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 33 | 34 | %define _srcname riot-web 35 | %define namev %{name}-%{version} 36 | %define namevr %{namev}-%{release} 37 | %define srcnamev %{_srcname}-%{version} 38 | %define srcnamevr %{srcnamev}-%{release} 39 | %define archivebasename %{srcnamev} 40 | %define sourcetree %{srcnamev} 41 | %define riotdefaultinstalltree /opt/riot 42 | 43 | License: Apache-2.0 44 | 45 | Group: Applications/Internet 46 | URL: http://riot.im/ 47 | # upstream 48 | #Source0: https://github.com/vector-im/riot-web 49 | #Source0: https://github.com/vector-im/riot-web/archive/v0.9.5.tar.gz 50 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v0.9.5 51 | Source0: %{archivebasename}.tar.gz 52 | Source1: %{archivebasename}-extras.tar.gz 53 | # patch for RPM builds - not really needed, but here for possible completeness 54 | #Patch0: %{archivebasename}-rpm.patch 55 | 56 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 57 | BuildRequires: npm git desktop-file-utils 58 | 59 | %description 60 | Riot is a decentralized, secure messaging client for collaborative group 61 | communication. Riot's core architecture is an implementation of the matrix 62 | protocol. 63 | 64 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 65 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 66 | discuss your current projects. 67 | 68 | Riot removes the barriers between apps, allowing you to connect teams and 69 | functionality like never before. 70 | 71 | Riot is free. Riot is secure. 72 | 73 | 74 | %prep 75 | # riot upstream stuff 76 | %setup -q -n %{sourcetree} 77 | # extra stuff 78 | %setup -q -T -D -b 1 -n %{sourcetree} 79 | # patches to make an RPM by default though we don't use it. (a completist I am) 80 | #%patch0 -p1 81 | 82 | 83 | %build 84 | npm install 85 | npm run build 86 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 87 | %define linuxunpacked electron/dist/linux-unpacked 88 | %ifarch x86_64 amd64 89 | %define linuxunpacked electron/dist/linux-unpacked 90 | node_modules/.bin/build -l tar.gz --x64 91 | %else 92 | %define linuxunpacked electron/dist/linux-ia32-unpacked 93 | node_modules/.bin/build -l tar.gz --ia32 94 | %endif 95 | 96 | 97 | %install 98 | rm -rf %{buildroot} 99 | mkdir %{buildroot} 100 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 101 | cp -a %{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 102 | #install -D -m755 -p electron/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 103 | # a little ugly - the symbolic link creation requires this since it is not "installed" 104 | mkdir -p %{buildroot}%{_bindir} 105 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 106 | install -D -m644 -p extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 107 | 108 | install -D -m644 -p extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 109 | install -D -m644 -p extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 110 | install -D -m644 -p extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 111 | install -D -m644 -p extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 112 | install -D -m644 -p extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 113 | install -D -m644 -p extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 114 | install -D -m644 -p extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 115 | install -D -m644 -p extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 116 | 117 | install -D -m644 -p extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 118 | install -D -m644 -p extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 119 | install -D -m644 -p extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 120 | install -D -m644 -p extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 121 | install -D -m644 -p extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 122 | install -D -m644 -p extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 123 | install -D -m644 -p extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 124 | install -D -m644 -p extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 125 | 126 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 127 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 128 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 129 | 130 | 131 | %files 132 | %defattr(-,root,root,-) 133 | %{riotdefaultinstalltree} 134 | %{_datadir}/* 135 | %{_bindir}/* 136 | %{_libdir}/libffmpeg.so 137 | %{_libdir}/libnode.so 138 | #%{_docsdir}/* 139 | #%{_mandir}/* 140 | %license LICENSE 141 | 142 | 143 | %post 144 | umask 007 145 | /sbin/ldconfig > /dev/null 2>&1 146 | 147 | 148 | %postun 149 | umask 007 150 | /sbin/ldconfig > /dev/null 2>&1 151 | 152 | 153 | %clean 154 | rm -rf %{build} 155 | rm -rf %{buildroot} 156 | 157 | 158 | %changelog 159 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 160 | - 0.9.6 161 | - 162 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 163 | - improved icons a bit 164 | - 165 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 166 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 167 | - 168 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 169 | - Fixing icons 170 | - Moving towards calling the package riot, versus riot-web, which 171 | - makes little sense. Undecided. 172 | - 173 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 174 | - Fixing icons 175 | - 176 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 177 | - Minor tweaks. 178 | - 179 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 180 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 181 | - 182 | -------------------------------------------------------------------------------- /archive/riot-0.9.7.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 0 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.9.7 31 | Release: 1.%{_release}%{?dist} 32 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 33 | 34 | %define _srcname riot-web 35 | %define namev %{name}-%{version} 36 | %define namevr %{namev}-%{release} 37 | %define srcnamev %{_srcname}-%{version} 38 | %define srcnamevr %{srcnamev}-%{release} 39 | %define buildtree %{srcnamev} 40 | %define archivebasename %{srcnamev} 41 | %define extrasarchivename %{name}-extras-desktop 42 | %define riotdefaultinstalltree /opt/riot 43 | 44 | License: Apache-2.0 45 | 46 | Group: Applications/Internet 47 | URL: http://riot.im/ 48 | # upstream 49 | #Source0: https://github.com/vector-im/riot-web 50 | #Source0: https://github.com/vector-im/riot-web/archive/v0.9.5.tar.gz 51 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v0.9.5 52 | Source0: %{archivebasename}.tar.gz 53 | #Source1: %{archivebasename}-extras.tar.gz 54 | Source1: %{extrasarchivename}.tar.gz 55 | # patch for RPM builds - not really needed, but here for possible completeness 56 | #Patch0: %{archivebasename}-rpm.patch 57 | 58 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 59 | BuildRequires: npm git desktop-file-utils 60 | 61 | %description 62 | Riot is a decentralized, secure messaging client for collaborative group 63 | communication. Riot's core architecture is an implementation of the matrix 64 | protocol. 65 | 66 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 67 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 68 | discuss your current projects. 69 | 70 | Riot removes the barriers between apps, allowing you to connect teams and 71 | functionality like never before. 72 | 73 | Riot is free. Riot is secure. 74 | 75 | 76 | %prep 77 | # riot upstream stuff 78 | %setup -q -T -a 0 -c %{buildtree} 79 | # extra stuff 80 | #%setup -q -T -D -b 1 -n %{buildtree} 81 | %setup -q -T -D -a 1 82 | #%setup -q -T -D -b 1 -c %{buildtree} 83 | # patches to make an RPM by default though we don't use it. (a completist I am) 84 | #%patch0 -p1 85 | 86 | # We leave with this structure... 87 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 88 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 89 | 90 | %build 91 | # building in riot-VERSION 92 | # cd to riot-web-VERSION 93 | cd %{buildtree} 94 | /usr/bin/npm install 95 | /usr/bin/npm run build 96 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 97 | %define linuxunpacked electron/dist/linux-unpacked 98 | %ifarch x86_64 amd64 99 | %define linuxunpacked electron/dist/linux-unpacked 100 | node_modules/.bin/build -l tar.gz --x64 101 | %else 102 | %define linuxunpacked electron/dist/linux-ia32-unpacked 103 | node_modules/.bin/build -l tar.gz --ia32 104 | %endif 105 | 106 | 107 | %install 108 | rm -rf %{buildroot} 109 | mkdir %{buildroot} 110 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 111 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 112 | #cp %{archivebasename}/LICENSE %{buildroot}%{_datadir}/licenses/LICENSE 113 | #install -D -m755 -p electron/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 114 | # a little ugly - the symbolic link creation requires this since it is not "installed" 115 | mkdir -p %{buildroot}%{_bindir} 116 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 117 | install -D -m644 -p %{extrasarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 118 | 119 | install -D -m644 -p %{extrasarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 120 | install -D -m644 -p %{extrasarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 121 | install -D -m644 -p %{extrasarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 122 | install -D -m644 -p %{extrasarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 123 | install -D -m644 -p %{extrasarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 124 | install -D -m644 -p %{extrasarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 125 | install -D -m644 -p %{extrasarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 126 | install -D -m644 -p %{extrasarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 127 | 128 | install -D -m644 -p %{extrasarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 129 | install -D -m644 -p %{extrasarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 130 | install -D -m644 -p %{extrasarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 131 | install -D -m644 -p %{extrasarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 132 | install -D -m644 -p %{extrasarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 133 | install -D -m644 -p %{extrasarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 134 | install -D -m644 -p %{extrasarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 135 | install -D -m644 -p %{extrasarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 136 | 137 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 138 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 139 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 140 | 141 | 142 | %files 143 | %defattr(-,root,root,-) 144 | %{riotdefaultinstalltree} 145 | %{_datadir}/* 146 | %{_bindir}/* 147 | %{_libdir}/libffmpeg.so 148 | %{_libdir}/libnode.so 149 | #%{_docsdir}/* 150 | #%{_mandir}/* 151 | %license %{archivebasename}/LICENSE 152 | 153 | 154 | %post 155 | umask 007 156 | /sbin/ldconfig > /dev/null 2>&1 157 | 158 | 159 | %postun 160 | umask 007 161 | /sbin/ldconfig > /dev/null 2>&1 162 | 163 | 164 | %clean 165 | rm -rf %{build} 166 | rm -rf %{buildroot} 167 | 168 | 169 | %changelog 170 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 171 | - Updated upstream source. 172 | - 173 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 174 | - Tweaks 175 | - 176 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 177 | - Small restructuring 178 | - 179 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 180 | - 0.9.6 181 | - 182 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 183 | - improved icons a bit 184 | - 185 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 186 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 187 | - 188 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 189 | - Fixing icons 190 | - Moving towards calling the package riot, versus riot-web, which 191 | - makes little sense. Undecided. 192 | - 193 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 194 | - Fixing icons 195 | - 196 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 197 | - Minor tweaks. 198 | - 199 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 200 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 201 | - 202 | -------------------------------------------------------------------------------- /archive/riot-0.9.8.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix. 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # https://copr.fedorainfracloud.org/coprs/taw/Riot/ 7 | # 8 | # t0dd@protonmail.com 9 | 10 | 11 | # Release bump is the base release number - i.e., we tend to "bump" this often. 12 | # Recommend including the date for experimental builds 13 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 14 | %define bump 0 15 | # release bumptag 16 | %define bumptag .taw 17 | # % define bumptag % {nil} 18 | # ...the release bumptag is used to convey information about who built the 19 | # package (or other extra information) and is really only useful during early 20 | # spins of the RPMs. For example, ".taw" is a reference to the original 21 | # packager, Todd Warner (his initials). 22 | # For actual releases, you may want to NIL the value above 23 | %define _release %{bump}%{bumptag} 24 | 25 | # We don't want a debuginfo package 26 | %define debug_package %{nil} 27 | 28 | Name: riot 29 | Obsoletes: riot-web 30 | Version: 0.9.8 31 | Release: %{_release}%{?dist} 32 | Packager: Todd Warner 33 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix. 34 | 35 | %define _srcname riot-web 36 | %define namev %{name}-%{version} 37 | %define namevr %{namev}-%{release} 38 | %define srcnamev %{_srcname}-%{version} 39 | %define srcnamevr %{srcnamev}-%{release} 40 | %define buildtree %{srcnamev} 41 | %define archivebasename %{srcnamev} 42 | %define contribarchivename %{name}-extras-desktop 43 | %define riotdefaultinstalltree /opt/riot 44 | 45 | License: Apache-2.0 46 | 47 | Group: Applications/Internet 48 | URL: http://riot.im/ 49 | # upstream 50 | #Source0: https://github.com/vector-im/riot-web 51 | #Source0: https://github.com/vector-im/riot-web/archive/v%{version}.tar.gz 52 | #Source0: https://github.com/vector-im/riot-web/releases/tag/v%{version} 53 | Source0: %{archivebasename}.tar.gz 54 | Source1: %{contribarchivename}.tar.gz 55 | # patch for RPM builds - not really needed, but here for possible completeness 56 | #Patch0: %{archivebasename}-rpm.patch 57 | 58 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 59 | BuildRequires: npm git desktop-file-utils 60 | 61 | %description 62 | Riot is a decentralized, secure messaging client for collaborative group 63 | communication. Riot's core architecture is an implementation of the matrix 64 | protocol. 65 | 66 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 67 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 68 | discuss your current projects. 69 | 70 | Riot removes the barriers between apps, allowing you to connect teams and 71 | functionality like never before. 72 | 73 | Riot is free. Riot is secure. 74 | 75 | 76 | %prep 77 | # riot upstream stuff 78 | %setup -q -T -a 0 -c %{buildtree} 79 | # extra stuff 80 | #%setup -q -T -D -b 1 -n %{buildtree} 81 | %setup -q -T -D -a 1 82 | #%setup -q -T -D -b 1 -c %{buildtree} 83 | # patches to make an RPM by default though we don't use it. (a completist I am) 84 | #%patch0 -p1 85 | 86 | # We leave with this structure... 87 | # ~/rpmbuild/BUILD/riot-VERSION/riot-web-VERSION/ 88 | # ~/rpmbuild/BUILD/riot-VERSION/riot-extras-desktop/ 89 | 90 | %build 91 | # building in riot-VERSION 92 | # cd to riot-web-VERSION 93 | cd %{buildtree} 94 | /usr/bin/npm install 95 | /usr/bin/npm run build 96 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 97 | %define linuxunpacked electron/dist/linux-unpacked 98 | %ifarch x86_64 amd64 99 | %define linuxunpacked electron/dist/linux-unpacked 100 | node_modules/.bin/build -l tar.gz --x64 101 | %else 102 | %define linuxunpacked electron/dist/linux-ia32-unpacked 103 | node_modules/.bin/build -l tar.gz --ia32 104 | %endif 105 | 106 | 107 | %install 108 | rm -rf %{buildroot} 109 | mkdir %{buildroot} 110 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 111 | cp -a %{archivebasename}/%{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 112 | #cp %{archivebasename}/LICENSE %{buildroot}%{_datadir}/licenses/LICENSE 113 | #install -D -m755 -p electron/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot 114 | # a little ugly - the symbolic link creation requires this since it is not "installed" 115 | mkdir -p %{buildroot}%{_bindir} 116 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot 117 | install -D -m644 -p %{contribarchivename}/extras/riot.desktop %{buildroot}%{_datadir}/applications/riot.desktop 118 | 119 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/riot.png 120 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/riot.png 121 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.24x24.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/riot.png 122 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/riot.png 123 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/riot.png 124 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot.png 125 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot.png 126 | install -D -m644 -p %{contribarchivename}/extras/riot.hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/riot.svg 127 | 128 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.16x16.png %{buildroot}%{_datadir}/icons/HighContrast/16x16/apps/riot.png 129 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.22x22.png %{buildroot}%{_datadir}/icons/HighContrast/22x22/apps/riot.png 130 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.24x24.png %{buildroot}%{_datadir}/icons/HighContrast/24x24/apps/riot.png 131 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.32x32.png %{buildroot}%{_datadir}/icons/HighContrast/32x32/apps/riot.png 132 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.48x48.png %{buildroot}%{_datadir}/icons/HighContrast/48x48/apps/riot.png 133 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.128x128.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/riot.png 134 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.256x256.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/riot.png 135 | install -D -m644 -p %{contribarchivename}/extras/riot.highcontrast.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/riot.svg 136 | 137 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot.desktop 138 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 139 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 140 | 141 | 142 | %files 143 | %defattr(-,root,root,-) 144 | %{riotdefaultinstalltree} 145 | %{_datadir}/* 146 | %{_bindir}/* 147 | %{_libdir}/libffmpeg.so 148 | %{_libdir}/libnode.so 149 | #%{_docsdir}/* 150 | #%{_mandir}/* 151 | %license %{archivebasename}/LICENSE 152 | 153 | 154 | %post 155 | umask 007 156 | /sbin/ldconfig > /dev/null 2>&1 157 | 158 | 159 | %postun 160 | umask 007 161 | /sbin/ldconfig > /dev/null 2>&1 162 | 163 | 164 | %clean 165 | rm -rf %{build} 166 | rm -rf %{buildroot} 167 | 168 | 169 | %changelog 170 | * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw 171 | - Updated upstream source. 172 | - 173 | * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw 174 | - Updated upstream source. 175 | - 176 | * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw 177 | - Tweaks 178 | - 179 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw 180 | - Small restructuring 181 | - 182 | * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw 183 | - 0.9.6 184 | - 185 | * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw 186 | - improved icons a bit 187 | - 188 | * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw 189 | - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) 190 | - 191 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw 192 | - Fixing icons 193 | - Moving towards calling the package riot, versus riot-web, which 194 | - makes little sense. Undecided. 195 | - 196 | * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw 197 | - Fixing icons 198 | - 199 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw 200 | - Minor tweaks. 201 | - 202 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 203 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 204 | - 205 | -------------------------------------------------------------------------------- /archive/riot-web-0.9.5.spec: -------------------------------------------------------------------------------- 1 | # Riot - Front-end client for the decentralized, secure, messaging and 2 | # data-transport protocol, Matrix.org 3 | # 4 | # https://riot.im/ 5 | # https://github/taw00/riot-rpm 6 | # 7 | # t0dd@protonmail.com 8 | 9 | 10 | # Release bump is the base release number - i.e., we tend to "bump" this often. 11 | # Recommend including the date for experimental builds 12 | # for example 20160405.0, 20160405.1, 20160405.2, 20160406.0, etc 13 | %define bump 0 14 | # release bumptag 15 | %define bumptag .taw 16 | # % define bumptag % {nil} 17 | # ...the release bumptag is used to convey information about who built the 18 | # package (or other extra information) and is really only useful during early 19 | # spins of the RPMs. For example, ".taw" is a reference to the original 20 | # packager, Todd Warner (his initials). 21 | # For actual releases, you may want to NIL the value above 22 | %define _release %{bump}%{bumptag} 23 | 24 | # We don't want a debuginfo package 25 | %define debug_package %{nil} 26 | 27 | %define _name riot-web 28 | Name: riot-web 29 | Version: 0.9.5 30 | Release: 1.%{_release}%{?dist} 31 | Summary: Riot - Front-end client for the decentralized, secure, messaging and data-transport protocol, Matrix.org 32 | 33 | %define namev %{name}-%{version} 34 | %define namevr %{namev}-%{release} 35 | %define archivebasename %{namev} 36 | %define sourcetree %{namev} 37 | %define riotdefaultinstalltree /opt/Riot 38 | 39 | License: Apache-2.0 40 | 41 | Group: Applications/Internet 42 | URL: http://riot.im/ 43 | # upstream 44 | #Source0: https://github.com/vector-im/riot-web 45 | Source0: %{archivebasename}.tar.gz 46 | Source1: %{archivebasename}-extras.tar.gz 47 | # patch for RPM builds - not really needed, but here for possible completeness 48 | Patch0: %{archivebasename}-rpm.patch 49 | 50 | BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XXXXXX) 51 | BuildRequires: npm git desktop-file-utils 52 | 53 | %description 54 | Riot is a front-end client implementing the decentralized, secure, messaging and 55 | data-transport protocol, Matrix.org. 56 | 57 | Riot is more than a messaging app. Riot is a shared workspace for the web. Riot 58 | is a place to connect with teams. Riot is a place to to collaborate, to work, to 59 | discuss your current projects. 60 | 61 | Riot removes the barriers between apps, allowing you to connect teams and 62 | functionality like never before. 63 | 64 | Riot is free. Riot is secure. 65 | 66 | 67 | %prep 68 | # riot upstream stuff 69 | %setup -q -n %{sourcetree} 70 | # extra stuff 71 | %setup -q -T -D -b 1 -n %{sourcetree} 72 | # patches to make an RPM by default though we don't use it. (a completist I am) 73 | #%patch0 -p1 74 | 75 | 76 | %build 77 | npm install 78 | npm run build 79 | # builds linux-friendly stuff (we use this) and a default tarball, rpm, or deb (not used) 80 | %define linuxunpacked electron/dist/linux-unpacked 81 | %ifarch x86_64 amd64 82 | %define linuxunpacked electron/dist/linux-unpacked 83 | node_modules/.bin/build -l tar.gz --x64 84 | %else 85 | %define linuxunpacked electron/dist/linux-ia32-unpacked 86 | node_modules/.bin/build -l tar.gz --ia32 87 | %endif 88 | 89 | 90 | %install 91 | rm -rf %{buildroot} 92 | mkdir %{buildroot} 93 | mkdir -p %{buildroot}%{riotdefaultinstalltree} 94 | cp -a %{linuxunpacked}/* %{buildroot}%{riotdefaultinstalltree} 95 | #install -D -m755 -p electron/dist/linux-unpacked/riot-web %{buildroot}%{_bindir}/riot-web 96 | # a little ugly - the symbolic link creation requires this since it is not "installed" 97 | mkdir -p %{buildroot}%{_bindir} 98 | ln -s %{riotdefaultinstalltree}/riot-web %{buildroot}%{_bindir}/riot-web 99 | install -D -m644 -p extras/riot-web.desktop %{buildroot}%{_datadir}/applications/riot-web.desktop 100 | install -D -m644 -p extras/riot-web1.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/riot-web.png 101 | install -D -m644 -p extras/riot-web2.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/riot-web.png 102 | desktop-file-validate %{buildroot}%{_datadir}/applications/riot-web.desktop 103 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libffmpeg.so %{buildroot}%{_libdir}/libffmpeg.so 104 | install -D -m755 -p %{buildroot}%{riotdefaultinstalltree}/libnode.so %{buildroot}%{_libdir}/libnode.so 105 | 106 | 107 | %files 108 | %defattr(-,root,root,-) 109 | %{riotdefaultinstalltree} 110 | %{_datadir}/* 111 | %{_bindir}/* 112 | %{_libdir}/libffmpeg.so 113 | %{_libdir}/libnode.so 114 | #%{_docsdir}/* 115 | #%{_mandir}/* 116 | %license LICENSE 117 | 118 | 119 | %post 120 | umask 007 121 | /sbin/ldconfig > /dev/null 2>&1 122 | 123 | 124 | %postun 125 | umask 007 126 | /sbin/ldconfig > /dev/null 2>&1 127 | 128 | 129 | %clean 130 | rm -rf %{build} 131 | rm -rf %{buildroot} 132 | 133 | 134 | %changelog 135 | * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw 136 | - Initial build. Everything still ends up in /opt/Riot (messy) but... meh. 137 | -------------------------------------------------------------------------------- /archive/toddpkgs-riot-repo-opensuse-leap.spec: -------------------------------------------------------------------------------- 1 | Name: toddpkgs-riot-repo 2 | Version: 1.0 3 | Release: 4.1.testing%{?dist}.taw 4 | Summary: Repository configuration to enable management of Riot packages 5 | 6 | Group: System Environment/Base 7 | License: MIT 8 | URL: https://github.com/taw00/riot-rpm 9 | Source0: https://github.com/taw00/riot-rpm/raw/master/SOURCES/toddpkgs-riot-repo-1.0.tar.gz 10 | BuildArch: noarch 11 | #BuildRequires: tree 12 | 13 | 14 | %description 15 | Todd (aka, taw, taw00, t0dd in various communities) packages applications for 16 | Fedora Linux and RHEL/CentOS/EPEL. This package deploys the repository 17 | configuration file necessary to enable on-going management of the Riot 18 | messaging client RPM package for Fedora Linux and CentOS/RHEL/EPEL. 19 | 20 | Install this, then... 21 | 22 | * For fedora: 23 | sudo dnf install riot -y --refresh 24 | 25 | * For CentOS or RHEL: 26 | sudo yum clean expire-cache 27 | sudo yum install riot -y 28 | 29 | * For OpenSuse Leap 30 | sudo zypper refresh 31 | sudo zypper modifyrepo -er "riot-stable-leap" 32 | sudo zypper install riot 33 | 34 | * For OpenSuse Tumbleweed 35 | sudo zypper refresh 36 | sudo zypper modifyrepo -er "riot-stable-tumbleweed" 37 | sudo zypper install riot 38 | 39 | You can edit /etc/yum.repos.d/riot.repo (as root) and 'enable=1' or '0' 40 | whether you want the stable or the testing repositories. 41 | 42 | Notes about GPG keys: 43 | * An RPM signing key is included. It is used to sign RPMs that I build by 44 | hand. Namely any *.src.rpm found in github.com/taw00/riot-rpm and (for now) 45 | all the binary OpenSuse packages 46 | * RPMs from the copr repositories are signed by fedoraproject build system 47 | keys. 48 | 49 | 50 | %prep 51 | %setup -q 52 | # For debugging purposes... 53 | #cd .. ; tree -df -L 1 ; cd - 54 | 55 | 56 | %build 57 | # no-op 58 | 59 | 60 | %install 61 | # Builds generically. Will need a disto specific RPM though. 62 | install -d %{buildroot}%{_sysconfdir}/yum.repos.d 63 | install -d %{buildroot}%{_sysconfdir}/zypp/repos.d 64 | install -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg 65 | 66 | install -D -m644 todd-694673ED-public-2030-01-04.2016-11-07.asc %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-todd-694673ED-public 67 | 68 | %if 0%{?fedora:1} 69 | install -D -m644 riot-fedora.repo %{buildroot}%{_sysconfdir}/yum.repos.d/riot.repo 70 | %endif 71 | %if 0%{?rhel:1} 72 | install -D -m644 riot-epel.repo %{buildroot}%{_sysconfdir}/yum.repos.d/riot.repo 73 | %endif 74 | %if 0%{?suse_version:1} 75 | install -D -m644 keybase-toddwarner_riot-opensuse.repo-leap %{buildroot}%{_sysconfdir}/zypp/repos.d/riot.repo 76 | %endif 77 | 78 | 79 | %files 80 | %attr(644, root,root) %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-todd-694673ED-public 81 | %license LICENSE 82 | 83 | %if 0%{?fedora:1} 84 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/yum.repos.d/riot.repo 85 | %endif 86 | 87 | %if 0%{?rhel:1} 88 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/yum.repos.d/riot.repo 89 | %endif 90 | 91 | %if 0%{?suse_version:1} 92 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/zypp/repos.d/riot.repo 93 | %endif 94 | 95 | 96 | %changelog 97 | * Mon Dec 17 2018 Todd Warner 1.0-4.1.testing.taw 98 | - enabled_metadata needs to be set to 0 because COPR repos do not managed 99 | appstream metadata correctly 100 | 101 | 102 | * Sat May 26 2018 Todd Warner 1.0-3.3.testing.taw 103 | * Sat May 26 2018 Todd Warner 1.0-3.2.testing.taw 104 | - OpenSuse uses /etc/zypp and not /etc/yum... apparently. :/ 105 | - Need a license for this package. Punted, like everyone else, and chose MIT 106 | - Added type and autorefresh flags to repofile 107 | - Made leap specific SPEC file. This (primary spec) will work generically 108 | though defaulting to opensuse tumbleweed. 109 | 110 | * Fri May 25 2018 Todd Warner 1.0-3.1.testing.taw 111 | - Support for OpenSuse 112 | 113 | * Sat May 12 2018 Todd Warner 1.0-3.taw 114 | - Update. 115 | 116 | * Sat May 12 2018 Todd Warner 1.0-2.1.testing.taw 117 | - metadata for test repo expires immediately. 118 | - fixed error in test repo URL (for fedora) 119 | 120 | * Sun May 6 2018 Todd Warner 1.0-2.taw 121 | - Update. 122 | 123 | * Sun May 6 2018 Todd Warner 1.0-1.1.testing.taw 124 | - Made the rep info desplayed when updating less noisy. It annoyed me. 125 | 126 | * Sun Apr 15 2018 Todd Warner 1.0-1.taw 127 | - Initial build 128 | 129 | * Sun Apr 15 2018 Todd Warner 1.0-0.1.testing.taw 130 | - Initial test build 131 | 132 | -------------------------------------------------------------------------------- /archive/toddpkgs-riot-repo-testing.spec: -------------------------------------------------------------------------------- 1 | Name: toddpkgs-riot-repo 2 | Version: 1.0 3 | Release: 7.1.testing%{?dist}.taw 4 | Summary: Repository configuration to enable management of Riot packages 5 | 6 | Group: System Environment/Base 7 | License: MIT 8 | URL: https://github.com/taw00/riot-rpm 9 | Source0: https://github.com/taw00/riot-rpm/raw/master/SOURCES/toddpkgs-riot-repo-1.0.tar.gz 10 | BuildArch: noarch 11 | 12 | 13 | %description 14 | Todd (aka, taw, taw00, t0dd in various communities) packages applications for 15 | Fedora Linux and RHEL/CentOS/EPEL. This package deploys the repository 16 | configuration file necessary to enable on-going management of the Riot 17 | messaging client RPM package for Fedora Linux and CentOS/RHEL/EPEL. 18 | 19 | Install this, then... 20 | 21 | * For fedora: 22 | sudo dnf install riot -y --refresh 23 | 24 | * For CentOS or RHEL: 25 | sudo yum clean expire-cache 26 | sudo yum install riot -y 27 | 28 | * For OpenSuse Leap 29 | sudo zypper refresh 30 | sudo zypper modifyrepo -er "riot-stable" 31 | sudo zypper install riot 32 | 33 | * For OpenSuse Tumbleweed 34 | sudo zypper refresh 35 | sudo zypper modifyrepo -er "riot-stable" 36 | sudo zypper install riot 37 | 38 | You can edit /etc/yum.repos.d/riot.repo (as root) and 'enable=1' or '0' 39 | whether you want the stable or the testing repositories. 40 | 41 | Notes about GPG keys: 42 | * An RPM signing key is included. It is used to sign RPMs that I build by 43 | hand. Namely any *.src.rpm found in github.com/taw00/riot-rpm and (for now) 44 | all the binary OpenSuse packages 45 | * RPMs from the copr repositories are signed by fedoraproject build system 46 | keys. 47 | 48 | 49 | %prep 50 | %setup -q 51 | # For debugging purposes... 52 | #cd .. ; tree -df -L 1 ; cd - 53 | 54 | 55 | %build 56 | # no-op 57 | 58 | 59 | %install 60 | # Builds generically. Will need a disto specific RPM though. 61 | install -d %{buildroot}%{_sysconfdir}/yum.repos.d 62 | install -d %{buildroot}%{_sysconfdir}/zypp/repos.d 63 | install -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg 64 | 65 | install -D -m644 todd-694673ED-public-2030-01-04.2016-11-07.asc %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-todd-694673ED-public 66 | 67 | ## 68 | ## Fedora 69 | ## 70 | %if 0%{?fedora:1} 71 | install -D -m644 riot-fedora.repo %{buildroot}%{_sysconfdir}/yum.repos.d/riot.repo 72 | %endif 73 | ## 74 | ## EL (Epel) 75 | ## 76 | %if 0%{?rhel:1} 77 | %if 0%{?rhel} < 8 78 | install -D -m644 riot-el7.repo %{buildroot}%{_sysconfdir}/yum.repos.d/riot.repo 79 | %else 80 | %if 0%{?rhel} < 9 81 | install -D -m644 riot-el8.repo %{buildroot}%{_sysconfdir}/yum.repos.d/riot.repo 82 | %endif 83 | %endif 84 | %endif 85 | ## 86 | ## OpenSUSE 87 | ## 88 | # https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros 89 | %if 0%{?is_opensuse:1} 90 | %if 0%{?sle_version:1} 91 | # We're not checking for version of leap 92 | install -D -m644 riot-suse-leap.repo %{buildroot}%{_sysconfdir}/zypp/repos.d/riot.repo 93 | %else 94 | install -D -m644 riot-suse-tumbleweed.repo %{buildroot}%{_sysconfdir}/zypp/repos.d/riot.repo 95 | %endif 96 | %endif 97 | 98 | 99 | %files 100 | %attr(644, root,root) %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-todd-694673ED-public 101 | %license LICENSE 102 | 103 | %if 0%{?fedora:1} 104 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/yum.repos.d/riot.repo 105 | %endif 106 | 107 | %if 0%{?rhel:1} 108 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/yum.repos.d/riot.repo 109 | %endif 110 | 111 | %if 0%{?suse_version:1} 112 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/zypp/repos.d/riot.repo 113 | %endif 114 | 115 | 116 | %changelog 117 | * Wed Mar 27 2019 Todd Warner 1.0-8..taw 118 | * Wed Mar 27 2019 Todd Warner 1.0-7.1.testing..taw 119 | - got leap and tumbleweed working! In COPR! 120 | 121 | * Wed Mar 20 2019 Todd Warner 1.0-7.taw 122 | * Wed Mar 20 2019 Todd Warner 1.0-6.1.testing.taw 123 | - Apparently, my EPEL URL was "too generic" and would fail for some people. 124 | Made more explicit. 125 | 126 | * Tue Mar 12 2019 Todd Warner 1.0-6.taw 127 | * Tue Mar 12 2019 Todd Warner 1.0-5.1.testing.taw 128 | - OpenSuse Tumbleweed now supported by COPR 129 | 130 | * Mon Dec 17 2018 Todd Warner 1.0-5.taw 131 | * Mon Dec 17 2018 Todd Warner 1.0-4.1.testing.taw 132 | - enabled_metadata needs to be set to 0 because COPR repos do not managed 133 | appstream metadata correctly 134 | 135 | 136 | * Sat May 26 2018 Todd Warner 1.0-4.taw 137 | * Sat May 26 2018 Todd Warner 1.0-3.3.testing.taw 138 | * Sat May 26 2018 Todd Warner 1.0-3.2.testing.taw 139 | - OpenSuse uses /etc/zypp and not /etc/yum... apparently. :/ 140 | - Need a license for this package. Punted, like everyone else, and chose MIT 141 | - Added type and autorefresh flags to repofile 142 | - Made leap specific SPEC file. This (primary spec) will work generically 143 | though defaulting to opensuse tumbleweed. 144 | 145 | * Fri May 25 2018 Todd Warner 1.0-3.1.testing.taw 146 | - Support for OpenSuse 147 | 148 | * Sat May 12 2018 Todd Warner 1.0-3.taw 149 | - Update. 150 | 151 | * Sat May 12 2018 Todd Warner 1.0-2.1.testing.taw 152 | - metadata for test repo expires immediately. 153 | - fixed error in test repo URL (for fedora) 154 | 155 | * Sun May 6 2018 Todd Warner 1.0-2.taw 156 | - Update. 157 | 158 | * Sun May 6 2018 Todd Warner 1.0-1.1.testing.taw 159 | - Made the rep info desplayed when updating less noisy. It annoyed me. 160 | 161 | * Sun Apr 15 2018 Todd Warner 1.0-1.taw 162 | - Initial build 163 | 164 | * Sun Apr 15 2018 Todd Warner 1.0-0.1.testing.taw 165 | - Initial test build 166 | 167 | -------------------------------------------------------------------------------- /archive/toddpkgs-riot-repo.spec: -------------------------------------------------------------------------------- 1 | Name: toddpkgs-riot-repo 2 | Version: 1.0 3 | Release: 8%{?dist}.taw 4 | Summary: Repository configuration to enable management of Riot packages 5 | 6 | Group: System Environment/Base 7 | License: MIT 8 | URL: https://github.com/taw00/riot-rpm 9 | Source0: https://github.com/taw00/riot-rpm/raw/master/SOURCES/toddpkgs-riot-repo-1.0.tar.gz 10 | BuildArch: noarch 11 | 12 | 13 | %description 14 | Todd (aka, taw, taw00, t0dd in various communities) packages applications for 15 | Fedora Linux and RHEL/CentOS/EPEL. This package deploys the repository 16 | configuration file necessary to enable on-going management of the Riot 17 | messaging client RPM package for Fedora Linux and CentOS/RHEL/EPEL. 18 | 19 | Install this, then... 20 | 21 | * For fedora: 22 | sudo dnf install riot -y --refresh 23 | 24 | * For CentOS or RHEL: 25 | sudo yum clean expire-cache 26 | sudo yum install riot -y 27 | 28 | * For OpenSuse Leap 29 | sudo zypper refresh 30 | sudo zypper modifyrepo -er "riot-stable" 31 | sudo zypper install riot 32 | 33 | * For OpenSuse Tumbleweed 34 | sudo zypper refresh 35 | sudo zypper modifyrepo -er "riot-stable" 36 | sudo zypper install riot 37 | 38 | You can edit /etc/yum.repos.d/riot.repo (as root) and 'enable=1' or '0' 39 | whether you want the stable or the testing repositories. 40 | 41 | Notes about GPG keys: 42 | * An RPM signing key is included. It is used to sign RPMs that I build by 43 | hand. Namely any *.src.rpm found in github.com/taw00/riot-rpm and (for now) 44 | all the binary OpenSuse packages 45 | * RPMs from the copr repositories are signed by fedoraproject build system 46 | keys. 47 | 48 | 49 | %prep 50 | %setup -q 51 | # For debugging purposes... 52 | #cd .. ; tree -df -L 1 ; cd - 53 | 54 | 55 | %build 56 | # no-op 57 | 58 | 59 | %install 60 | # Builds generically. Will need a disto specific RPM though. 61 | install -d %{buildroot}%{_sysconfdir}/yum.repos.d 62 | install -d %{buildroot}%{_sysconfdir}/zypp/repos.d 63 | install -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg 64 | 65 | install -D -m644 todd-694673ED-public-2030-01-04.2016-11-07.asc %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-todd-694673ED-public 66 | 67 | ## 68 | ## Fedora 69 | ## 70 | %if 0%{?fedora:1} 71 | install -D -m644 riot-fedora.repo %{buildroot}%{_sysconfdir}/yum.repos.d/riot.repo 72 | %endif 73 | ## 74 | ## EL (Epel) 75 | ## 76 | %if 0%{?rhel:1} 77 | %if 0%{?rhel} < 8 78 | install -D -m644 riot-el7.repo %{buildroot}%{_sysconfdir}/yum.repos.d/riot.repo 79 | %else 80 | %if 0%{?rhel} < 9 81 | install -D -m644 riot-el8.repo %{buildroot}%{_sysconfdir}/yum.repos.d/riot.repo 82 | %endif 83 | %endif 84 | %endif 85 | ## 86 | ## OpenSUSE 87 | ## 88 | # https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros 89 | %if 0%{?is_opensuse:1} 90 | %if 0%{?sle_version:1} 91 | # We're not checking for version of leap 92 | install -D -m644 riot-suse-leap.repo %{buildroot}%{_sysconfdir}/zypp/repos.d/riot.repo 93 | %else 94 | install -D -m644 riot-suse-tumbleweed.repo %{buildroot}%{_sysconfdir}/zypp/repos.d/riot.repo 95 | %endif 96 | %endif 97 | 98 | 99 | %files 100 | %attr(644, root,root) %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-todd-694673ED-public 101 | %license LICENSE 102 | 103 | %if 0%{?fedora:1} 104 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/yum.repos.d/riot.repo 105 | %endif 106 | 107 | %if 0%{?rhel:1} 108 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/yum.repos.d/riot.repo 109 | %endif 110 | 111 | %if 0%{?suse_version:1} 112 | %config(noreplace) %attr(644, root,root) %{_sysconfdir}/zypp/repos.d/riot.repo 113 | %endif 114 | 115 | 116 | %changelog 117 | * Wed Mar 27 2019 Todd Warner 1.0-8..taw 118 | * Wed Mar 27 2019 Todd Warner 1.0-7.1.testing..taw 119 | - got leap and tumbleweed working! In COPR! 120 | 121 | * Wed Mar 20 2019 Todd Warner 1.0-7.taw 122 | * Wed Mar 20 2019 Todd Warner 1.0-6.1.testing.taw 123 | - Apparently, my EPEL URL was "too generic" and would fail for some people. 124 | Made more explicit. 125 | 126 | * Tue Mar 12 2019 Todd Warner 1.0-6.taw 127 | * Tue Mar 12 2019 Todd Warner 1.0-5.1.testing.taw 128 | - OpenSuse Tumbleweed now supported by COPR 129 | 130 | * Mon Dec 17 2018 Todd Warner 1.0-5.taw 131 | * Mon Dec 17 2018 Todd Warner 1.0-4.1.testing.taw 132 | - enabled_metadata needs to be set to 0 because COPR repos do not managed 133 | appstream metadata correctly 134 | 135 | 136 | * Sat May 26 2018 Todd Warner 1.0-4.taw 137 | * Sat May 26 2018 Todd Warner 1.0-3.3.testing.taw 138 | * Sat May 26 2018 Todd Warner 1.0-3.2.testing.taw 139 | - OpenSuse uses /etc/zypp and not /etc/yum... apparently. :/ 140 | - Need a license for this package. Punted, like everyone else, and chose MIT 141 | - Added type and autorefresh flags to repofile 142 | - Made leap specific SPEC file. This (primary spec) will work generically 143 | though defaulting to opensuse tumbleweed. 144 | 145 | * Fri May 25 2018 Todd Warner 1.0-3.1.testing.taw 146 | - Support for OpenSuse 147 | 148 | * Sat May 12 2018 Todd Warner 1.0-3.taw 149 | - Update. 150 | 151 | * Sat May 12 2018 Todd Warner 1.0-2.1.testing.taw 152 | - metadata for test repo expires immediately. 153 | - fixed error in test repo URL (for fedora) 154 | 155 | * Sun May 6 2018 Todd Warner 1.0-2.taw 156 | - Update. 157 | 158 | * Sun May 6 2018 Todd Warner 1.0-1.1.testing.taw 159 | - Made the rep info desplayed when updating less noisy. It annoyed me. 160 | 161 | * Sun Apr 15 2018 Todd Warner 1.0-1.taw 162 | - Initial build 163 | 164 | * Sun Apr 15 2018 Todd Warner 1.0-0.1.testing.taw 165 | - Initial test build 166 | 167 | -------------------------------------------------------------------------------- /screenshots/README.md: -------------------------------------------------------------------------------- 1 | Screenshots used primarly for riot.appdata.xml and the like. 2 | -------------------------------------------------------------------------------- /screenshots/element1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/screenshots/element1.png -------------------------------------------------------------------------------- /screenshots/element2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/screenshots/element2.png -------------------------------------------------------------------------------- /screenshots/element3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/screenshots/element3.png -------------------------------------------------------------------------------- /screenshots/riot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/screenshots/riot1.png -------------------------------------------------------------------------------- /screenshots/riot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/screenshots/riot2.png -------------------------------------------------------------------------------- /screenshots/riot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taw00/element-rpm/a001fffb80effc5280cae083d484b71ca6caa335/screenshots/riot3.png --------------------------------------------------------------------------------