# element.spec # vim:tw=0:ts=2:sw=2:et: # # Element - Element is a decentralized, secure messaging client for # collaborative group communication. # https://element.io # https://github.com/vector-im/element-web # https://github.com/vector-im/element-desktop # # https://github/taw00/element-rpm # https://copr.fedorainfracloud.org/coprs/taw/element/ # --- # Note: Element the project, prior to version 1.7.0, was named Riot # Element the sponsoring company was named Vector # old: https://riot.im/ # old: https://vector.im # old: https://copr.fedorainfracloud.org/coprs/taw/Riot/ # --- # Package (RPM) name-version-release. # -.-[.][.].DIST[.] # https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/ # https://fedoraproject.org/wiki/Package_Versioning_Examples # Filters out unneccessary provides # See also: https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/ %{?nodejs_default_filter} Name: element Summary: Group Messaging %define appid io.element.element %define name_d %{name}-desktop %define name_w %{name}-web # VERSION %define isTestBuild 1 %define vermajor 1.11 %define verminor 8 Version: %{vermajor}.%{verminor} # RELEASE # release qualifiers: MINORBUMP and SNAPINFO %define minorbump taw %define snapinfo testing # build qualifier: i.e. if the dev team includes things like rc.3 in the filename %define buildQualifier rc.1 %undefine buildQualifier %if ! %{isTestBuild} %define _release 1%{?dist}.%{minorbump} %else %define _release 0.1.%{snapinfo}%{?dist}.%{minorbump} %endif Release: %{_release} # ----------- end of release building section # Name of package is no longer riot-web Provides: riot-web = 0.9.6 Obsoletes: riot-web < 0.9.6 # Name of package is no longer riot Provides: riot = 1.7.1 Obsoletes: riot < 1.7.1 # https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing # Apache Software License 2.0 License: ASL 2.0 URL: https://element.io/ # Note, for example, this will not build on ppc64le # Note2, as of yet, aarch64 builds have not been successful #ExclusiveArch: x86_64 i686 i586 i386 aarch64 ExclusiveArch: x86_64 aarch64 # how are debug info and build_ids managed (I only halfway understand this): # https://github.com/rpm-software-management/rpm/blob/master/macros.in # ...flip-flop next two lines in order to disable (nil) or enable (1) debuginfo package build %define debug_package 1 %define debug_package %{nil} %define _unique_build_ids 1 %define _build_id_links alldebug # https://fedoraproject.org/wiki/Changes/Harden_All_Packages # https://fedoraproject.org/wiki/Packaging:Guidelines#PIE %define _hardened_build 1 # https://fedoraproject.org/wiki/Packaging:SourceURL # * Sources as part of source RPM can be found at # https://github.com/taw00/element-rpm # * Source0 tarball can be snagged from https://github.com/vector-im/element-desktop %define _version %{version} %if 0%{?buildQualifier:1} %define _version %{version}-%{buildQualifier} %endif %define _source0 %{name}-desktop-%{_version} %define _source1 %{name}-web-%{_version} #Source0: https://github.com/PROJECT_NAME/%%{name}/releases/download/v%%{version}/%%{name}-%%{version}.tar.gz Source0: https://github.com/vector-im/%{name}-desktop/archive/v%{_version}/%{_source0}.tar.gz Source1: https://github.com/vector-im/%{name}-web/archive/v%{_version}/%{_source1}.tar.gz Source2: https://github.com/taw00/element-rpm/raw/master/SOURCES/%{name}-%{vermajor}-contrib.tar.gz # No longer needed as of 1.7.33 ## Have to patch because this commit broke my builds ... ## https://github.com/vector-im/element-desktop/commit/c57a1736 #BuildRequires: patch #Patch1: https://github.com/taw00/element-rpm/blob/master/SOURCES/element-1.7.32-remove-rustup-check.patch # This is used to declare whether we pull additional sources dependencies from the contrib tarball %define useExtraSources 1 #t0dd: I add tree, vim-enhanced, and less for mock environment introspection %if %{isTestBuild} BuildRequires: tree vim-enhanced less findutils mlocate dnf %endif # #TODO: Need to reduce the build-time fetches from the internet via... # https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/ # Reference: Using tarballs from the npm registry # %if 0%{?suse_version:1} # https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto #BuildRequires: libappstream-glib8 appstream-glib BuildRequires: ca-certificates-cacert ca-certificates-mozilla ca-certificates BuildRequires: desktop-file-utils BuildRequires: appstream-glib /bin/sh BuildRequires: python2 libsecret-devel %if 0%{?suse_version} == 1500 %if 0%{?sle_version:1} %if 0%{?sle_version} == 150100 # Leap 15.1 %{error: "======== OpenSUSE Leap 15.1 — versions %{suse_version} %{sle_version} — builds no longer supported."} %endif %if 0%{?sle_version} == 150200 # Leap 15.2 # provides libcrypto.so.1 BuildRequires: libopenssl1_0_0 #BuildRequires: nodejs npm nodejs-devel nodejs-common BuildRequires: nodejs14 >= 14.17.0 npm14 nodejs14-devel nodejs-common %endif %if 0%{?sle_version} == 150300 # Leap 15.3 BuildRequires: libcrypt1 #BuildRequires: nodejs npm nodejs-devel nodejs-common #BuildRequires: nodejs14 >= 14.17.0 npm14 nodejs14-devel nodejs-common BuildRequires: nodejs16 npm16 nodejs16-devel nodejs-common %endif %endif %endif %if 0%{?suse_version} > 1500 # Tumbleweed BuildRequires: libcrypt1 #BuildRequires: nodejs npm nodejs-devel nodejs-common yarn #BuildRequires: nodejs14 >= 14.17.0 npm14 nodejs14-devel nodejs-common yarn BuildRequires: nodejs16 npm16 nodejs16-devel nodejs-common yarn #BuildRequires: nodejs-default npm-default nodejs-common yarn %endif %endif %if 0%{?rhel:1} BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: libsecret-devel %if 0%{?rhel} < 8 ###NOLONGERSUPPORTED### This is super ugly ###NOLONGERSUPPORTED### EL7 is too far behind on many many packages. Therefore, you have to pull ###NOLONGERSUPPORTED### from other repos. In this case, nodejs and yarn. ###NOLONGERSUPPORTED### Include these repos into your mock or build environments... ###NOLONGERSUPPORTED### https://rpm.nodesource.com/pub_10.x/el/7/$basearch ###NOLONGERSUPPORTED### https://dl.yarnpkg.com/rpm/ ###NOLONGERSUPPORTED### Note that this version of nodejs installs npm as well. ###NOLONGERSUPPORTED##BuildRequires: nodejs >= 14 ###NOLONGERSUPPORTED##BuildRequires: yarn ###NOLONGERSUPPORTED##BuildRequires: python ###NOLONGERSUPPORTED##BuildRequires: libxcrypt -- NOPE, not available %else # Reminder, EL8 is based on Fedora 28 # We struggled with the OS-provided nodejs, so I punted an am using nodesource's # https://rpm.nodesource.com/pub_14.x/el/$releasever/$basearch (added to COPR chroot repo list) # But this doesn't work because the nodejs modules from the OS trump everything. Very annoying. #BuildRequires: nodejs >= 2:14 #BuildRequires: npm BuildRequires: nodejs >= 14.17.0 npm BuildRequires: python3 # provides libcrypto.so.1 BuildRequires: libxcrypt %endif %endif %if 0%{?fedora:1} BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: python BuildRequires: libsecret-devel BuildRequires: sqlcipher-devel %if 0%{?fedora} >= 29 BuildRequires: nodejs npm nodejs-yarn # provides libcrypto.so.1 BuildRequires: libxcrypt-compat %else BuildRequires: nodejs npm # provides libcrypto.so.1 BuildRequires: libxcrypt %endif %endif # BuildRequires for all platforms . . . BuildRequires: cargo gcc-c++ cmake rust BuildRequires: curl git # sqlcipher gets challening outside of Fedora . . . # XXX THIS IS A PROBLEM XXX %if 0%{?rhel:1} %if 0%{?rhel} < 9 # We began building our own sqlcipher on 2021-01-03 for EL8 BuildRequires: sqlcipher-devel %else BuildRequires: sqlcipher-devel %endif %endif %if 0%{?suse_version:1} # Requiring tcl-sqlcipher is such a kludge #Requires: tcl-sqlcipher # sqlcipher-devel provides /usr/lib64/libsqlcipher.so Requires: sqlcipher-devel %else Requires: sqlcipher %endif # Unarchived source tree structure (extracted in {_builddir}) # sourceroot element-1.7 # \_sourcetree_d \_element-desktop-1.7.3 (or element-desktop-1.7.3-rc.3) # \_sourcetree_w \_element-web-1.7.3 (or element-web-1.7.3-rc.3) # \_sourcetree_contrib \_element-1.7-contrib %define sourceroot %{name}-%{vermajor} %define sourcetree_d %{_source0} %define sourcetree_w %{_source1} %define sourcetree_contrib %{name}-%{vermajor}-contrib # /usr/share/io.element.element %define installtree %{_datadir}/%{appid} # Element should not be providing any libraries. Certainly not libffmpeg. %global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ %global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ %description Element is a decentralized, secure messaging client for collaborative group communication. Element's core architecture is an implementation of the matrix protocol. Element is 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. Element is free. Element is secure. %prep # Prep section starts us in directory {_builddir} # The prep section is the first place we can run shell commands. Therefore, # these checks are here . .. Unsupported OS versions: %if 0%{?rhel} && 0%{?rhel} < 8 %{error: "======== EL version: %{rhel}: EL7-based platforms (CentOS7/RHEL7), and older, are not supportable build targets."} %endif %if 0%{?sle_version} && 0%{?sle_version} <= 150100 #%%{error: "======== OpenSUSE version: %%{sle_version}: Builds for OpenSUSE 15.1 (and older) can no longer be supported due to outdated or unavailable packages."} %endif %if 0%{?fedora} && 0%{?fedora} < 35 echo "======== Fedora version: %{fedora}" %{error: "Builds for this version of Fedora can no longer be supported."} %endif # Extract into {_builddir}/{sourceroot}/ mkdir %{sourceroot} %setup -q -T -D -a 0 -n %{sourceroot} %setup -q -T -D -a 1 -n %{sourceroot} %setup -q -T -D -a 2 -n %{sourceroot} cd %{sourcetree_d} # No longer needed as of 1.7.33 #%%patch1 -p1 cd .. # For debugging purposes... %if %{isTestBuild} cd .. ; tree -df -L 1 %{sourceroot} ; cd - %endif # We ship with the element supplied olm tarball. Use it . . . %if %{useExtraSources} mkdir -p %{sourcetree_w}/depends/sources mv %{sourcetree_contrib}/build/*.tgz %{sourcetree_w}/depends/sources/ %endif %build # Build section starts us in directory {_builddir}/{sourceroot} _pwd_d=$(pwd)/%{sourcetree_d} _pwd_w=$(pwd)/%{sourcetree_w} # Start in element-web cd ${_pwd_w} # # OPENSUSE # %if 0%{?suse_version:1} echo " ======== OpenSUSE version: %{suse_version} %{sle_version} -------- Leap 15.1 will report as 1500 150100 -------- Leap 15.2 will report as 1500 150200 -------- Leap 15.3 should report as 1500 150300 (but doesn't!) -------- Tumbleweed will report as 1550 undefined " %if 0%{?suse_version} == 1500 %if 0%{?sle_version:1} echo "======== OpenSUSE version: %{suse_version} %{sle_version}" %if 0%{?sle_version} == 150200 # IF LEAP 15.2: # Leap 15.2 does not ship with a yarn package (tumblewee does). /usr/bin/npm14 install yarn --legacy-peer-deps #which yarn > /dev/null 2>&1 #if [ "$?" -ne 0 ] ; then echo "\ # yarn alias inserted here by the Element RPM specfile build script # this can be removed after build is complete alias yarn='${_pwd_w}/node_modules/.bin/yarn'" >> ~/.bashrc source ~/.bashrc #fi %endif %if 0%{?sle_version} == 150300 # IF LEAP 15.3: # Leap 15.3 does not ship with a yarn package (tumblewee does). npm install yarn --legacy-peer-deps #which yarn > /dev/null 2>&1 #if [ "$?" -ne 0 ] ; then echo "\ # yarn alias inserted here by the Element RPM specfile build script # this can be removed after build is complete alias yarn='${_pwd_w}/node_modules/.bin/yarn'" >> ~/.bashrc source ~/.bashrc #fi %endif # ENDIF sle_version is defined %endif # ENDIF suse_version is 1500 %endif %if 0%{?suse_version} > 1500 echo "--------------we are tumbleweed" %endif # ENDIF suse_version is defined %endif # # FEDORA # %if 0%{?fedora:1} echo "======== Fedora version: %{fedora}" %if 0%{?fedora} <= 34 echo "Builds for Fedora 34 and older are no longer supported." exit 1 %endif # Rules for Fedora 29+ %if 0%{?fedora} >= 29 #source ~/.bashrc #which yarn > /dev/null 2>&1 #if [ "$?" -ne 0 ] ; then echo "\ # yarn alias inserted here by the Element RPM specfile build script # this can be removed after build is complete # nodejs-yarn installs /usr/bin/yarnpkg for some reason (conflicts?). So, we # simply alias it so that embedded scripts don't stumble over this anomaly alias yarn='/usr/bin/yarnpkg'" >> ~/.bashrc source ~/.bashrc #endif # BAD: We should be shot for sticking a curl command in here. But here I am, # sticking a curl command in here. I really need to (at the least) download # the script and call it from local storage. Or better yet, package up nvm. # But packaging a program, in a program just to install a program ... is also # awful. I digress. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash source ~/.bashrc nvm install --lts nvm use --lts # Rules for Fedora 28- %else npm install yarn #source ~/.bashrc #which yarn > /dev/null 2>&1 #if [ "$?" -ne 0 ] ; then echo "\ # PATH export inserted here by the Element RPM build scripts. # This can be removed after build is complete. Better yet, use # a disposable build machine like I do and this gets blown away. :) # OLD: alias yarn='\${_pwd_w}/node_modules/.bin/yarn' >> ~/.bashrc export PATH=${_pwd_w}/node_modules/.bin:\$PATH" >> ~/.bashrc source ~/.bashrc #fi # Not needed as of Riot 1.6.0? #yarn add electron-builder --dev #yarn add electron-packager --dev %endif %endif # # RHEL / CENTOS # %if 0%{?centos} echo "======== Centos version(s): %{centos} and %{centos_ver}" %endif %if 0%{?rhel:1} echo "======== EL version: %{rhel}" # I don't grok how to declare what python you are using so that scripting # tools know where to find it. So we do this hack. mkdir -p $HOME/.local/bin if [ ! -e "$HOME/.local/bin/python" ] ; then ln -s /usr/bin/python3 $HOME/.local/bin/python fi %if 0%{?rhel} < 8 # Note: If you did not add the two extra repos mentioned in the BuildRequires # section for EL7 into your build system, that build will fail. %else # EL8 is based on Fedora 28 npm install yarn #source ~/.bashrc #which yarn > /dev/null 2>&1 #if [ "$?" -ne 0 ] ; then echo "\ # PATH export inserted here by the Element RPM build scripts. # This can be removed after build is complete. Better yet, use # a disposable build machine like I do and this gets blown away. :) # OLD: alias yarn='\${_pwd_w}/node_modules/.bin/yarn' >> ~/.bashrc export PATH=${_pwd_w}/node_modules/.bin:\$PATH" >> ~/.bashrc source ~/.bashrc #fi %endif # EL all versions # Not needed as of 1.6.0? #yarn add electron-builder --dev #yarn add electron-packager --dev %endif # --------------------------------------- # THE BUILD! # It was really all just prep before this # --------------------------------------- %define linuxunpacked_d dist/linux-unpacked ### Build element-web ## cd ${_pwd_w} yarn install # NODE_OPTIONS # 1. kept running out of memory (heap) for javascript. Boosted here. # 2. ran into an API mismatch between latest nodejs and webpack. The API is # associated to openssl. This is a problem manifesting in EL9, F36, # and others. There is a temporary solution though. Read more here: # https://itsmycode.com/error-digital-envelope-routines-unsupported/ # Welp ... didn't like that. Removing the change. #export NODE_OPTIONS="--max-old-space-size=8192 --openssl-legacy-provider" export NODE_OPTIONS="--max-old-space-size=8192" yarn run build # bug https://github.com/vector-im/element-web/issues/9166 ... alerted by user "Aaron" install -D -m644 -p config.sample.json webapp/config.json # element-desktop/REAMD.md says you need this, but you do not. #ln -s ${_pwd_w}/webapp ${_pwd_d} # Used only if building a distributable element-web # and not a support build for element-desktop ##%%ifarch x86_64 amd64 ## ./node_modules/.bin/electron-builder -l tar.gz --x64 ##else ## ./node_modules/.bin/electron-builder -l tar.gz --ia32 ##%%endif ##install -D -m644 -p config.sample.json %%{linuxunpacked_w}/resources/webapp/config.json ### Build element-desktop ### cd ${_pwd_d} yarn install yarn run build:native yarn run build # pull in the build from element-web ./node_modules/.bin/asar pack ${_pwd_w}/webapp %{linuxunpacked_d}/resources/webapp.asar %install # Install section starts us in directory {_builddir}/{sourceroot} # Cheatsheet for some built-in RPM macros: # https://fedoraproject.org/wiki/Packaging:RPMMacros # _builddir = {_topdir}/BUILD # _buildrootdir = {_topdir}/BUILDROOT # buildroot = {_buildrootdir}/{name}-{version}-{release}.{_arch} # _datadir = /usr/share # _mandir = /usr/share/man # _sysconfdir = /etc # _libdir = /usr/lib or /usr/lib64 (depending on system) # Create directories install -d -m755 -p %{buildroot}%{_bindir} install -d %{buildroot}%{installtree} install -d %{buildroot}%{_datadir}/applications %define _metainfodir %{_datadir}/metainfo # /usr/share/io.element.element/* cp -a %{sourcetree_d}/%{linuxunpacked_d}/* %{buildroot}%{installtree} ### --THIS BREAKS THE WORLD-- If libffmpeg.so snuck in, nuke it! ##rm -rf %%{buildroot}%%{installtree}/libffmpeg.so # /usr/bin/element and /usr/bin/element-wrapper.sh # this symbolic link is a bit ugly ln -s %{installtree}/%{name}-desktop %{buildroot}%{_bindir}/%{name} install -m755 %{sourcetree_contrib}/desktop/%{appid}.wrapper.sh %{buildroot}%{_bindir}/%{appid}.wrapper.sh # /usr/share/applications/io.element.element.desktop install -D -m644 -p %{sourcetree_contrib}/desktop/%{appid}.desktop %{buildroot}%{_datadir}/applications/%{appid}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{appid}.desktop # /usr/share/metainfo/io.element.element.metainfo.xml install -D -m644 -p %{sourcetree_contrib}/desktop/%{appid}.metainfo.xml %{buildroot}%{_metainfodir}/%{appid}.metainfo.xml appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml install -D -m644 -p %{sourcetree_contrib}/desktop/hicolor-64-%{appid}.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop/hicolor-128-%{appid}.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop/hicolor-256-%{appid}.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop/hicolor-512-%{appid}.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop/hicolor-scalable-%{appid}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{appid}.svg install -D -m644 -p %{sourcetree_contrib}/desktop/highcontrast-64-%{appid}.png %{buildroot}%{_datadir}/icons/HighContrast/64x64/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop/highcontrast-128-%{appid}.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop/highcontrast-256-%{appid}.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop/highcontrast-512-%{appid}.png %{buildroot}%{_datadir}/icons/HighContrast/512x512/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop/highcontrast-scalable-%{appid}.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/%{appid}.svg %files %defattr(-,root,root,-) %license %{sourcetree_d}/LICENSE # /usr/share/io.element.element %{installtree} %{_bindir}/%{name} %{_bindir}/%{appid}.wrapper.sh %{_datadir}/applications/%{appid}.desktop %{_metainfodir}/%{appid}.metainfo.xml %{_datadir}/icons/hicolor/64x64/apps/%{appid}.png %{_datadir}/icons/hicolor/128x128/apps/%{appid}.png %{_datadir}/icons/hicolor/256x256/apps/%{appid}.png %{_datadir}/icons/hicolor/512x512/apps/%{appid}.png %{_datadir}/icons/hicolor/scalable/apps/%{appid}.svg %{_datadir}/icons/HighContrast/64x64/apps/%{appid}.png %{_datadir}/icons/HighContrast/128x128/apps/%{appid}.png %{_datadir}/icons/HighContrast/256x256/apps/%{appid}.png %{_datadir}/icons/HighContrast/512x512/apps/%{appid}.png %{_datadir}/icons/HighContrast/scalable/apps/%{appid}.svg %post umask 007 /sbin/ldconfig > /dev/null 2>&1 /usr/bin/update-desktop-database &> /dev/null || : %postun umask 007 /sbin/ldconfig > /dev/null 2>&1 /usr/bin/update-desktop-database &> /dev/null || : %changelog * Wed Oct 5 2022 Todd Warner 1.11.8-1.taw * Wed Oct 5 2022 Todd Warner 1.11.8-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.11.8 * Thu May 12 2022 Todd Warner 1.10.12-1.taw * Thu May 12 2022 Todd Warner 1.10.12-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.10.[7 through 12] * Tue Mar 1 2022 Todd Warner 1.10.6-1.taw * Tue Mar 1 2022 Todd Warner 1.10.6-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.10.6 - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.10.5 - OpenSUSE no longer builds at all. All related to NodeJS versions and such. I give up. * Thu Feb 17 2022 Todd Warner 1.10.4-1.taw * Thu Feb 17 2022 Todd Warner 1.10.4-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.10.4 * Wed Feb 16 2022 Todd Warner 1.10.3-1.taw * Wed Feb 16 2022 Todd Warner 1.10.3-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.10.3 - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.10.2 - simplified the release string logic in the spec * Sat Feb 5 2022 Todd Warner 1.10.1-1.taw * Sat Feb 5 2022 Todd Warner 1.10.1-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.10.1 - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.10.0 * Tue Jan 18 2022 Todd Warner 1.9.9-1.taw * Tue Jan 18 2022 Todd Warner 1.9.9-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.9 * Mon Dec 20 2021 Todd Warner 1.9.8-1.taw * Mon Dec 20 2021 Todd Warner 1.9.8-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.8 - git is now required for builds, unfortunately * Tue Dec 14 2021 Todd Warner 1.9.7-1.taw * Tue Dec 14 2021 Todd Warner 1.9.7-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.7 * Fri Dec 10 2021 Todd Warner 1.9.6-1.taw * Fri Dec 10 2021 Todd Warner 1.9.6-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.6 * Wed Nov 24 2021 Todd Warner 1.9.5-1.taw * Wed Nov 24 2021 Todd Warner 1.9.5-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.5 * Tue Nov 9 2021 Todd Warner 1.9.4-1.taw * Tue Nov 9 2021 Todd Warner 1.9.4-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.4 * Mon Oct 25 2021 Todd Warner 1.9.3-1.taw * Mon Oct 25 2021 Todd Warner 1.9.3-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.3 * Tue Oct 12 2021 Todd Warner 1.9.2-1.taw * Tue Oct 12 2021 Todd Warner 1.9.2-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.2 * Mon Oct 11 2021 Todd Warner 1.9.1-1.taw * Mon Oct 11 2021 Todd Warner 1.9.1-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.1 * Wed Sep 29 2021 Todd Warner 1.9.0-1.taw * Wed Sep 29 2021 Todd Warner 1.9.0-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.9.0 - fixed if-else-endif errors in the specfile in the suse-logic - npm binary is now correctly mapped by the suse packaging. * Tue Sep 14 2021 Todd Warner 1.8.5-1.taw * Tue Sep 14 2021 Todd Warner 1.8.5-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.8.5 * Tue Sep 14 2021 Todd Warner 1.8.4-1.taw * Tue Sep 14 2021 Todd Warner 1.8.4-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.8.4 * Wed Sep 1 2021 Todd Warner 1.8.2-1.taw * Wed Sep 1 2021 Todd Warner 1.8.2-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.8.2 * Tue Aug 17 2021 Todd Warner 1.8.1-1.taw * Tue Aug 17 2021 Todd Warner 1.8.1-0.1.testing.taw - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.8.1 - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.8.0 - release notes: https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.8.0-rc.1 - in specfile: flipped the logic and changed the variable: s/targetIsProduction/isTestBuild * Sun Aug 15 2021 Todd Warner 1.7.34-1.1.testing.taw - Summary tag reduced to make it more packaging-guideline compliant * Mon Aug 2 2021 Todd Warner 1.7.34-1.taw * Mon Aug 2 2021 Todd Warner 1.7.34-0.1.testing.taw - https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.7.34 - https://github.com/vector-im/element-[desktop,web]/releases/tag/v1.7.34-rc.1 - All builds (centos-stream, f33, f34, Leap 15.2, Leap 15.3, and Tumbleweed) are functional again. Why? I don't know. The likely reason is that the OSes updated to match the library profile of the application build. * Tue Jul 20 2021 Todd Warner 1.7.33-1.taw * Tue Jul 20 2021 Todd Warner 1.7.33-0.1.testing.taw - https://github.com/vector-im/element-web/releases/tag/v1.7.33 - https://github.com/vector-im/element-web/releases/tag/v1.7.33-rc.1 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.33 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.33-rc.1 - removed patch (see v1.7.32 build). Upstream incorporated the fix. - suddenly builds for centos-stream-8-x86_64 work, but in COPR, you need to add this to individual repo metadata in the module section: nodejs:14 - EL8 (epel-8-x86_64) builds used to work with a build metadata addition (again, in COPR), of repo: https://rpm.nodesource.com/pub_14.x/el/$releasever/$basearch and the same module field valure as for centos-stream-8-x86_64, but it doesn't work for this version - OpenSUSE Leap now has the right version of nodejs available, but runs into another issue -- a dependency who relies on nodejs nightly - OpenSUSE Tumbleweed currently builds * Wed Jul 14 2021 Todd Warner 1.7.32-2.taw * Wed Jul 14 2021 Todd Warner 1.7.32-1.1.testing.taw - OpenSUSE builds failed with nodejs16, Tumbleweed moving back to nodejs14 - As of this build Leap 15.2, 15.3 are on nodejs 14.16, but element builds need 14.17. - sle_version *should* be 150300 for Leap 15.3, but for whatever reason it is left unset. I am sure that will be corrected eventually, but we had to adjust. * Mon Jul 05 2021 Todd Warner 1.7.32-1.taw * Mon Jul 05 2021 Todd Warner 1.7.32-0.1.testing.taw - https://github.com/vector-im/element-web/releases/tag/v1.7.32 - https://github.com/vector-im/element-web/releases/tag/v1.7.32-rc.1 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.32 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.32-rc.1 - Removing irrelevant dependency on rustup that breaks all builds: element-1.7.32-remove-rustup-check.patch The commit that broke everything: https://github.com/vector-im/element-desktop/commit/c57a1736 - OpenSUSE Leap and Tumbleweed and EL8 are not building, see below. * Tue Jun 22 2021 Todd Warner 1.7.31-1.taw * Tue Jun 22 2021 Todd Warner 1.7.31-0.1.testing.taw - https://github.com/vector-im/element-web/releases/tag/v1.7.31 - https://github.com/vector-im/element-web/releases/tag/v1.7.31-rc.1 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.31 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.31-rc.1 - OpenSUSE Tumbleweed is NOT building. I am unsure why. Something to do with versions of react? - OpenSUSE Leap 15.2+ and EL8 NOT building because of nodejs versions. Have to wait until they update a smidge. * Mon Jun 07 2021 Todd Warner 1.7.30-1.taw * Mon Jun 07 2021 Todd Warner 1.7.30-0.1.testing.taw - https://github.com/vector-im/element-web/releases/tag/v1.7.30 - https://github.com/vector-im/element-web/releases/tag/v1.7.30-rc.1 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.30 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.30-rc.1 - OpenSUSE Tumbleweed is NOT building. I am unsure why. UPDATE: fixed with SUSE update to Nodejs 14.17 * Mon May 24 2021 Todd Warner 1.7.29-1.taw * Mon May 24 2021 Todd Warner 1.7.29-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.29 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.29-rc.1 - https://github.com/vector-im/element-web/releases/tag/v1.7.29 - https://github.com/vector-im/element-web/releases/tag/v1.7.29-rc.1 - OpenSUSE Tumbleweed is NOT building. I am unsure why. * Tue May 18 2021 Todd Warner 1.7.28-1.taw * Tue May 18 2021 Todd Warner 1.7.28-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.28 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.28-rc.1 - Tumbleweed defaults to nodejs16. Alas, it's too new for some build elements. Forced it to build using v10. - We keep getting javascript heap overruns, so forced heapsize upwards. * Mon May 10 2021 Todd Warner 1.7.27-1.taw * Mon May 10 2021 Todd Warner 1.7.27-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.27 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.27-rc.1 - Had to update OpenSUSE BuildRequires for nodejs and npm * Mon Apr 26 2021 Todd Warner 1.7.26-1.taw * Mon Apr 26 2021 Todd Warner 1.7.26-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.26 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.26-rc.1 * Sun Apr 18 2021 Todd Warner 1.7.25-1.taw * Sun Apr 18 2021 Todd Warner 1.7.25-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.25 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.25-rc.1 * Mon Mar 29 2021 Todd Warner 1.7.24-1.taw * Mon Mar 29 2021 Todd Warner 1.7.24-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.24 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.24-rc.1 * Mon Mar 15 2021 Todd Warner 1.7.23-1.taw * Mon Mar 15 2021 Todd Warner 1.7.23-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.23 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.23-rc.1 * Fri Mar 5 2021 Todd Warner 1.7.22-1.taw * Fri Mar 5 2021 Todd Warner 1.7.22-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.22 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.22-rc.1 * Tue Feb 23 2021 Todd Warner 1.7.21-1.1.testing.taw - Testing aarch64 builds -- NOPE fails. Upstream binaries don't exist for node-canvas on aarch64 (that I can tell) * Tue Feb 16 2021 Todd Warner 1.7.21-1.taw * Tue Feb 16 2021 Todd Warner 1.7.21-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.21 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.21-rc.1 * Thu Feb 4 2021 Todd Warner 1.7.20-1.taw * Thu Feb 4 2021 Todd Warner 1.7.20-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.20 * Fri Jan 22 2021 Todd Warner 1.7.17-1.taw * Fri Jan 22 2021 Todd Warner 1.7.17-0.1.testing.taw - https://github.com/vector-im/element-desktop/releases/tag/v1.7.17 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.17-rc.1 * Sun Jan 03 2021 Todd Warner 1.7.16-2.1.testing.taw - builds for aarch64 --> FAILED (backed out the changes) * Sun Jan 03 2021 Todd Warner 1.7.16-2.taw * Sun Jan 03 2021 Todd Warner 1.7.16-1.1.testing.taw - build for RHEL/CentOS by building our own sqlcipher and including it in the repos * Mon Dec 21 2020 Todd Warner 1.7.16-1.taw * Mon Dec 21 2020 Todd Warner 1.7.16-0.1.testing.taw - https://github.com/vector-im/element-web/releases/tag/v1.7.16 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.16 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.16-rc.1 * Mon Dec 07 2020 Todd Warner 1.7.15-1.taw * Mon Dec 07 2020 Todd Warner 1.7.15-0.1.testing.taw - https://github.com/vector-im/element-web/releases/tag/v1.7.15 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.15 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.15-rc.1 * Mon Nov 23 2020 Todd Warner 1.7.14-1.taw * Mon Nov 23 2020 Todd Warner 1.7.14-0.1.testing.taw - https://github.com/vector-im/element-web/releases/tag/v1.7.14 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.14 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.14-rc.1 * Mon Nov 09 2020 Todd Warner 1.7.13-2.taw * Mon Nov 09 2020 Todd Warner 1.7.13-1.1.testing.taw - Trying to get the best requirement mix corrected for OpenSUSE. sqlcipher-devel provides /usr/lib64/libsqlcipher.so ... that is all that should be required. Certainly better than tcl-sqlcipher This should address issues: - https://github.com/taw00/element-rpm/issues/41 and - https://github.com/taw00/element-rpm/issues/36 * Mon Nov 09 2020 Todd Warner 1.7.13-1.taw * Mon Nov 09 2020 Todd Warner 1.7.13-0.1.testing.taw - 1.7.13 - https://github.com/vector-im/element-web/releases/tag/v1.7.13 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.13 * Thu Oct 29 2020 Todd Warner 1.7.12-1.taw * Thu Oct 29 2020 Todd Warner 1.7.12-0.1.testing.taw - 1.7.12 - https://github.com/vector-im/element-web/releases/tag/v1.7.12 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.12 * Tue Oct 27 2020 Todd Warner 1.7.11-1.taw * Tue Oct 27 2020 Todd Warner 1.7.11-0.1.testing.taw - 1.7.11 - https://github.com/vector-im/element-web/releases/tag/v1.7.11 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.11 * Wed Oct 21 2020 Todd Warner 1.7.10-1.taw * Wed Oct 21 2020 Todd Warner 1.7.10-0.1.testing.taw - 1.7.10 - https://github.com/vector-im/element-web/releases/tag/v1.7.10 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.10 * Mon Oct 12 2020 Todd Warner 1.7.9-1.taw * Mon Oct 12 2020 Todd Warner 1.7.9-0.1.testing.taw - 1.7.9 - https://github.com/vector-im/element-web/releases/tag/v1.7.9 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.9 * Tue Sep 29 2020 Todd Warner 1.7.8-1.taw * Tue Sep 29 2020 Todd Warner 1.7.8-0.1.testing.taw - 1.7.8 - https://github.com/vector-im/element-web/releases/tag/v1.7.8 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.8 * Mon Sep 14 2020 Todd Warner 1.7.7-1.taw * Mon Sep 14 2020 Todd Warner 1.7.7-0.1.testing.taw - 1.7.7 - https://github.com/vector-im/element-web/releases/tag/v1.7.7 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.7 * Mon Sep 14 2020 Todd Warner 1.7.6-1.taw * Mon Sep 14 2020 Todd Warner 1.7.6-0.1.testing.taw - 1.7.6 - https://github.com/vector-im/element-web/releases/tag/v1.7.6 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.6 * Tue Sep 01 2020 Todd Warner 1.7.5-1.taw * Tue Sep 01 2020 Todd Warner 1.7.5-0.1.testing.taw - 1.7.5 - https://github.com/vector-im/element-web/releases/tag/v1.7.5 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.5 * Mon Aug 17 2020 Todd Warner 1.7.4-1.taw * Mon Aug 17 2020 Todd Warner 1.7.4-0.1.testing.taw - 1.7.4 - https://github.com/vector-im/element-web/releases/tag/v1.7.4 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.4 * Wed Aug 05 2020 Todd Warner 1.7.3-1.taw * Wed Aug 05 2020 Todd Warner 1.7.3-0.1.testing.taw - 1.7.3 - https://github.com/vector-im/element-web/releases/tag/v1.7.3 - https://github.com/vector-im/element-desktop/releases/tag/v1.7.3 - upstream tarballs (riot-web- and riot-desktop-) have been rebranded - removed the contrib config.sample.json since it hasn't diverged from upstream in many releases * Mon Aug 03 2020 Todd Warner 1.7.2-3.taw * Mon Aug 03 2020 Todd Warner 1.7.2-2.1.testing.taw - fixing a missing requires in SUSE builds, reference: https://github.com/taw00/element-rpm/issues/36 * Fri Jul 31 2020 Todd Warner 1.7.2-2.taw * Fri Jul 31 2020 Todd Warner 1.7.2-1.1.testing.taw - fixing the build of native modules for the desktop (like search in e2ee environments). Oops. See bug: https://github.com/taw00/element-rpm/issues/36 * Mon Jul 27 2020 Todd Warner 1.7.2-1.taw * Mon Jul 27 2020 Todd Warner 1.7.2-0.1.testing.taw - 1.7.2 * Sat Jul 25 2020 Todd Warner 1.7.1-5.taw * Sat Jul 25 2020 Todd Warner 1.7.1-4.1.testing.taw - .desktop file: added StartupWMClass and removed the X-Desktop-Install-Version cut-n-paste cruft * Fri Jul 24 2020 Todd Warner 1.7.1-4.taw * Fri Jul 24 2020 Todd Warner 1.7.1-3.1.testing.taw - io.element.Element --> io.element.element because apparently, all lowercase is now the standard whereas before it was not. Oi. * Thu Jul 23 2020 Todd Warner 1.7.1-3.taw * Thu Jul 23 2020 Todd Warner 1.7.1-2.4.testing.taw - reducing the PNG icon set to 64, 128, 256, and 512 * Wed Jul 22 2020 Todd Warner 1.7.1-2.3.testing.taw - adding back the png icons: the spec does not require both png and svg icons, but certain external desktop components expect PNGs. Plus the appstream spec states that PNGs are preferred. gnome-software goes one step further and will only work with PNGs. - a bit more explicit about what this rpm owns on the file system * Tue Jul 21 2020 Todd Warner 1.7.1-2.2.testing.taw - spec adherance refinement: - icons: element.png (and .svg) --> io.element.Element.png (and .svg) - icons: only installing the .svg images (pngs are redundant) - .appdata.xml --> .metainfo.xml - /usr/share/element --> /usr/share/io.element.Element - element.wrapper.sh --> io.element.Element.wrapper.sh - the libdir configuration stuff is not needed. Removed. - call appid what it is, appid (instead of tld_vendor_product_id) - metainfo.xml file was missing the launchable tag and corrected screenshot urls * Sat Jul 18 2020 Todd Warner 1.7.1-2.1.testing.taw - github repo: taw00/riot-rpm --> taw00/element-rpm * Sat Jul 18 2020 Todd Warner 1.7.1-2.taw * Sat Jul 18 2020 Todd Warner 1.7.1-1.1.testing.taw - riot.im moved to element.io, not element.im * Sat Jul 18 2020 Todd Warner 1.7.1-1.taw * Sat Jul 18 2020 Todd Warner 1.7.1-0.1.testing.taw - 1.7.1 - App name change. From Riot to Element (as of 1.7.0). * Sun Jul 05 2020 Todd Warner 1.6.8-1.taw * Sun Jul 05 2020 Todd Warner 1.6.8-0.1.testing.taw - 1.6.8 * Mon Jun 29 2020 Todd Warner 1.6.7-1.taw * Mon Jun 29 2020 Todd Warner 1.6.7-0.1.testing.taw - 1.6.7 * Thu Jun 25 2020 Todd Warner 1.6.6-1.1.testing.taw - fixed buildrequires for OpenSUSE Leap (libcrypto.so.1 is supplied by libopenssl1_0_0 on Leap 15.1 and 15.2). Thank you, @DJViking. - Leap 15.1 and 15.2 still have issues due to a dated rust version that ships with the OS. See also, https://github.com/taw00/element-rpm/issues/34 * Tue Jun 23 2020 Todd Warner 1.6.6-1.taw * Tue Jun 23 2020 Todd Warner 1.6.6-0.1.testing.taw - 1.6.6 - riot.desktop and riot.appdata.xml now follow the freedesktop standard and are named im.riot.Riot.desktop and im.riot.Riot.appdata.xml - libsecret-devel is a new BuildRequires * Tue Jun 16 2020 Todd Warner 1.6.5-1.taw * Tue Jun 16 2020 Todd Warner 1.6.5-0.1.testing.taw - 1.6.5 - Fixes some regression and includes some minor upgrades. * Mon Jun 01 2020 Todd Warner 1.6.4-1.taw * Mon Jun 01 2020 Todd Warner 1.6.4-0.1.testing.taw - 1.6.4 - Fixes a security issue, a regression, and a login bug. * Mon Jun 01 2020 Todd Warner 1.6.2-1.1.testing.taw - The riot package provides too many things. Libraries in particular. Removing that cruft. - Adjusting suse logic to allow for leap 15.2 builds. * Fri May 22 2020 Todd Warner 1.6.2-1.taw * Fri May 22 2020 Todd Warner 1.6.2-0.1.testing.taw - 1.6.2 * Tue May 19 2020 Todd Warner 1.6.1-1.taw * Tue May 19 2020 Todd Warner 1.6.1-0.1.testing.taw - 1.6.1 * Tue May 05 2020 Todd Warner 1.6.0-1.taw * Tue May 05 2020 Todd Warner 1.6.0-0.4.testing.taw - 1.6.0 - riot on RHEL will not build. rustc is too dated and sqlcipher is missing. - riot on OpenSUSE 15.1 has similar issues. - RHEL and OpenSUSE 15.1 users: use the flatpak instead * Fri May 01 2020 Todd Warner 1.6.0-0.3.rc.6.taw - 1.6.0 RC6 * Thu Apr 23 2020 Todd Warner 1.6.0-0.3.rc.4.taw - 1.6.0 RC4 * Sat Apr 18 2020 Todd Warner 1.6.0-0.3.rc.3.taw * Sat Apr 18 2020 Todd Warner 1.6.0-0.2.rc.3.taw * Fri Apr 17 2020 Todd Warner 1.6.0-0.1.rc.3.taw * Thu Apr 16 2020 Todd Warner 1.6.0-0.1.rc.2.taw - 1.6.0 RC3 - building from riot-web AND riot-desktop now. First web and then that feeds into desktop. - new buildrequires: cargo python gcc-c++ cmake rust libxcrypt-compat sqlcipher-devel - new requires: sqlcipher - Can't build for: - RHEL7: missing deps: libcrypt.so.1, sqlcipher, sqlcipher-devel - RHEL8: missing deps: sqlcipher, sqlcipher-devel and rustc is too old Note: if RHEL ever works: libxcrypt instead of libxcrypt-compat - OpenSUSE 15.1: missing deps: libcrypt.so.1 - OpenSUSE Tumbleweed note: use libcrypt1 instead of libxcrypt-compat - Other note: contrib tarball now supplies a tweaked config.sample.json because the upstream is missing a config option that enables Message search even in encrypted environments. The option: "feature_event_indexing": "enable" * Thu Apr 16 2020 Todd Warner 1.5.15-2.taw * Thu Apr 16 2020 Todd Warner 1.5.15-1.1.testing.taw - using the olm tarball distributed by the riot team we provide it via the riot-*-contrib.tar.gz archive * Wed Apr 01 2020 Todd Warner 1.5.15-1.taw * Wed Apr 01 2020 Todd Warner 1.5.15-0.2.testing.taw * Wed Apr 01 2020 Todd Warner 1.5.15-0.1.testing.taw - 1.5.15 - security fix - Updated riot.desktop to better match these changes: https://github.com/flathub/im.riot.Riot/pull/93/files - curl added to BuildRequires (specifically OpenSUSE 15.1 needed it). * Tue Mar 31 2020 Todd Warner 1.5.14-1.taw * Tue Mar 31 2020 Todd Warner 1.5.14-0.1.testing.taw - 1.5.14 * Tue Mar 17 2020 Todd Warner 1.5.13-1.taw * Fri Mar 13 2020 Todd Warner 1.5.13-0.1.rc.1.taw - 1.5.13 * Wed Mar 04 2020 Todd Warner 1.5.12-1.taw * Wed Mar 04 2020 Todd Warner 1.5.12-0.1.testing.taw - 1.5.12 * Mon Mar 02 2020 Todd Warner 1.5.11-1.taw * Mon Mar 02 2020 Todd Warner 1.5.11-0.1.testing.taw - 1.5.11 * Wed Feb 19 2020 Todd Warner 1.5.10-1.taw * Wed Feb 19 2020 Todd Warner 1.5.10-0.1.testing.taw - 1.5.10 * Mon Feb 17 2020 Todd Warner 1.5.9-1.taw * Sat Feb 15 2020 Todd Warner 1.5.9-0.1.rc.1.taw - 1.5.9 - Source0 points at upstream now for rpmlint completeness * Mon Jan 27 2020 Todd Warner 1.5.8-2.taw * Mon Jan 27 2020 Todd Warner 1.5.8-1.1.testing.taw - spec file adjustment in order to build for opensuse 15.1 * Mon Jan 27 2020 Todd Warner 1.5.8-1.taw * Mon Jan 27 2020 Todd Warner 1.5.8-0.1.testing.taw * Fri Jan 24 2020 Todd Warner 1.5.8-0.1.rc.2.taw - 1.5.8 * Mon Jan 13 2020 Todd Warner 1.5.7-0.1.testing.taw - 1.5.7 -- not functional. Talked to the team and ... we'll wait to 1.5.8 * Mon Dec 9 2019 Todd Warner 1.5.6-1.taw * Mon Dec 9 2019 Todd Warner 1.5.6-0.1.testing.taw - 1.5.6 * Wed Nov 27 2019 Todd Warner 1.5.5-1.taw * Wed Nov 27 2019 Todd Warner 1.5.5-0.1.testing.taw - 1.5.5 * Tue Nov 26 2019 Todd Warner 1.5.4-1.taw * Tue Nov 26 2019 Todd Warner 1.5.4-0.1.testing.taw - 1.5.4 * Wed Nov 06 2019 Todd Warner 1.5.3-1.taw * Wed Nov 06 2019 Todd Warner 1.5.3-0.1.testing.taw - 1.5.3 * Fri Oct 18 2019 Todd Warner 1.5.0-1.taw * Fri Oct 18 2019 Todd Warner 1.5.0-0.1.testing.taw - 1.5.0 * Fri Oct 04 2019 Todd Warner 1.4.2-1.taw * Fri Oct 04 2019 Todd Warner 1.4.2-0.1.testing.taw - 1.4.2 * Tue Oct 01 2019 Todd Warner 1.4.1-1.taw * Tue Oct 01 2019 Todd Warner 1.4.1-0.1.testing.taw - 1.4.1 * Sat Sep 28 2019 Todd Warner 1.4.0-2.taw * Sat Sep 28 2019 Todd Warner 1.4.0-1.1.testing.taw * Sat Sep 28 2019 Todd Warner 1.4.0-1.taw * Sat Sep 28 2019 Todd Warner 1.4.0-0.1.testing.taw - 1.4.0 - all version need a symlink now (fedora 28 and below... maybe not?) - cleanup of specfile * Thu Sep 19 2019 Todd Warner 1.3.6-1.taw * Thu Sep 19 2019 Todd Warner 1.3.6-0.1.testing.taw - 1.3.6 * Wed Sep 18 2019 Todd Warner 1.3.5-1.taw * Wed Sep 18 2019 Todd Warner 1.3.5-0.1.testing.taw - 1.3.5 * Thu Sep 12 2019 Todd Warner 1.3.4-1.taw * Thu Sep 12 2019 Todd Warner 1.3.4-0.1.testing.taw - 1.3.4 * Fri Aug 16 2019 Todd Warner 1.3.3-1.taw * Fri Aug 16 2019 Todd Warner 1.3.3-0.1.testing.taw - 1.3.3 * Thu Aug 08 2019 Todd Warner 1.3.2-1.taw * Thu Aug 08 2019 Todd Warner 1.3.2-0.1.testing.taw - 1.3.2 * Mon Aug 05 2019 Todd Warner 1.3.1-1.taw * Mon Aug 05 2019 Todd Warner 1.3.1-0.1.testing.taw - 1.3.1 * Thu Jul 18 2019 Todd Warner 1.3.0-1.taw * Thu Jul 18 2019 Todd Warner 1.3.0-0.1.testing.taw - 1.3.0 * Tue Jul 16 2019 Todd Warner 1.2.4-3.taw * Tue Jul 16 2019 Todd Warner 1.2.4-2.1.testing.taw * Tue Jul 16 2019 Todd Warner 1.2.4-2.taw * Tue Jul 16 2019 Todd Warner 1.2.4-1.1.testing.taw - 1.2.4 -- node_modules/.bin/electron-builder has to be symlinked to node_modules/.bin/build for SUSE * Fri Jul 12 2019 Todd Warner 1.2.4-1.taw * Fri Jul 12 2019 Todd Warner 1.2.4-0.1.testing.taw - 1.2.4 -- SUSE and RHEL started to fail builds -- Fedora builds fine. * Mon Jul 08 2019 Todd Warner 1.2.3-1.taw * Mon Jul 08 2019 Todd Warner 1.2.3-0.1.testing.taw - 1.2.3 * Fri Jun 21 2019 Todd Warner 1.2.2-1.taw * Fri Jun 21 2019 Todd Warner 1.2.2-0.1.testing.taw - 1.2.2 * Fri May 31 2019 Todd Warner 1.2.1-1.taw * Fri May 31 2019 Todd Warner 1.2.1-0.1.testing.taw - 1.2.1 * Wed May 29 2019 Todd Warner 1.2.0-1.taw * Wed May 29 2019 Todd Warner 1.2.0-0.1.testing.taw - 1.2.0 * Sat May 18 2019 Todd Warner 1.1.2-1.taw * Sat May 18 2019 Todd Warner 1.1.2-0.1.testing.taw - 1.1.2 * Tue May 14 2019 Todd Warner 1.1.1-1.taw * Tue May 14 2019 Todd Warner 1.1.1-0.1.testing.taw - 1.1.1 - minor tweak to contributed wrapper script * Thu May 09 2019 Todd Warner 1.1.0-3.taw * Thu May 09 2019 Todd Warner 1.1.0-2.1.testing.taw * Thu May 09 2019 Todd Warner 1.1.0-2.taw * Thu May 09 2019 Todd Warner 1.1.0-1.1.testing.taw - Updated desktop logo icons. - ...and then really fixed it for 2.1.testing and 3 * Tue May 07 2019 Todd Warner 1.1.0-1.taw * Tue May 07 2019 Todd Warner 1.1.0-0.1.testing.taw - 1.1.0 * Tue Apr 16 2019 Todd Warner 1.0.8-1.taw * Tue Apr 16 2019 Todd Warner 1.0.8-0.1.testing.taw - 1.0.8 - Note, riot-web source tarball (packaged inside the src.rpm) signed with new GPG key found at https://github.com/vector-im/riot-web: Primary key fingerprint: A878 CDF6 6CF4 A9B4 807C EBE5 7469 2659 BDA3 D940 Subkey fingerprint: 5EA7 E0F7 0461 A3BC BEBE 4D5E F615 1806 0320 26F9 * Mon Apr 08 2019 Todd Warner 1.0.7-1.taw * Mon Apr 08 2019 Todd Warner 1.0.7-0.1.testing.taw - 1.0.7 * Wed Apr 03 2019 Todd Warner 1.0.6-2.taw * Wed Apr 03 2019 Todd Warner 1.0.6-1.1.testing.taw - yarn aliasing commented better in .bashrc note, I can't determine a way to test yarn executable availability without blowing up rpm builds with a $? > 0 - testing on EL8-beta and Fedora 30 * Mon Apr 01 2019 Todd Warner 1.0.6-1.taw * Mon Apr 01 2019 Todd Warner 1.0.6-0.1.testing.taw - 1.0.6 - OpenSUSE 15.1 _and_ 15.0 now. - Attempt at EL8-beta ... failed for now. * Wed Mar 27 2019 Todd Warner 1.0.5-2.taw * Wed Mar 27 2019 Todd Warner 1.0.5-1.3.testing.taw * Wed Mar 27 2019 Todd Warner 1.0.5-1.2.testing.taw * Wed Mar 27 2019 Todd Warner 1.0.5-1.1.testing.taw - OpenSUSE Tumbleweed builds once again. Turns out, you need to include ca certs in the base install. I am unsure which ones, so... I installed a pile of them. Addresses github pull request #20 * Sun Mar 24 2019 Todd Warner 1.0.5-1.taw * Sun Mar 24 2019 Todd Warner 1.0.5-0.1.testing.taw - 1.0.5 - OpenSUSE Tumbleweed is failing to build once again. Yarn+SSL issues. * Tue Mar 19 2019 Todd Warner 1.0.4-1.taw * Tue Mar 19 2019 Todd Warner 1.0.4-0.1.testing.taw - 1.0.4 - yarn replaces npm for js package management * Fri Mar 15 2019 Todd Warner 1.0.3-4.taw * Fri Mar 15 2019 Todd Warner 1.0.3-3.1.testing.taw - fixing https://github.com/vector-im/riot-web/issues/9166 no config.json file in the webapp directory... breaks certain indices * Tue Mar 12 2019 Todd Warner 1.0.3-3.taw * Tue Mar 12 2019 Todd Warner 1.0.3-2.1.testing.taw - Attempting to support EL7 builds by using nodesource repositories this requires including their repository in your build environ... https://rpm.nodesource.com/pub_8.x/el/7/$basearch and a reasonably specific version of nodejs (which includes npm) BuildRequires: nodejs = 2:8.15.1 - Special thanks go out to Grant Stephenson for figuring this out. * Tue Mar 12 2019 Todd Warner 1.0.3-2.taw * Tue Mar 12 2019 Todd Warner 1.0.3-1.1.testing.taw - XDG_CURRENT_DESKTOP=Unity and not UNITY apparently. So fragile. * Thu Mar 07 2019 Todd Warner 1.0.3-1.taw * Thu Mar 07 2019 Todd Warner 1.0.3-0.1.testing.taw - 1.0.3 * Wed Mar 06 2019 Todd Warner 1.0.2-1.taw * Wed Mar 06 2019 Todd Warner 1.0.2-0.1.testing.taw - 1.0.2 * Tue Feb 19 2019 Todd Warner 1.0.1-1.taw * Tue Feb 19 2019 Todd Warner 1.0.1-0.1.testing.taw - v1.0.1 - And OpenSuse (tumbleweed at least) builds work once again! :) * Thu Feb 14 2019 Todd Warner 1.0.0-1.taw * Thu Feb 14 2019 Todd Warner 1.0.0-0.1.testing.taw * Fri Feb 08 2019 Todd Warner 1.0.0-0.1.rc.1.taw - v1.0.0 * Tue Jan 22 2019 Todd Warner 0.17.9-1.taw * Tue Jan 22 2019 Todd Warner 0.17.9-0.1.testing.taw - v0.17.9 * Thu Dec 13 2018 Todd Warner 0.17.8-2.taw * Thu Dec 13 2018 Todd Warner 0.17.8-1.1.testing.taw - wrapper script in order to enable riot to better deal with the KDE+Electron issue (mentioned below). And discussed here... Using a more generic approach to the problem since the prior solution assumed all desktops needed to be fixed, which is not the case. This may introduce other issues, but it is headed in the right direction. * Mon Dec 10 2018 Todd Warner 0.17.8-1.taw * Mon Dec 10 2018 Todd Warner 0.17.8-0.1.testing.taw - v0.17.8 * Fri Nov 23 2018 Todd Warner 0.17.7-1.taw * Fri Nov 23 2018 Todd Warner 0.17.7-0.1.testing.taw - v0.17.7 * Wed Nov 21 2018 Todd Warner 0.17.6-1.taw * Wed Nov 21 2018 Todd Warner 0.17.6-0.1.testing.taw - v0.17.6 * Thu Nov 15 2018 Todd Warner 0.17.5-0.1.testing.taw - v0.17.5 - specfile: reduced some of the complexity * Mon Nov 12 2018 Todd Warner 0.17.3-2.taw * Mon Nov 12 2018 Todd Warner 0.17.3-1.1.testing.taw - /usr/share/applications/riot.desktop file Exec line updated to work better with KDE Plasma desktops. Something to do with an electron bug or somesuch. - Now it reads: `Exec=env XDG_CURRENT_DESKTOP=Unity /usr/bin/riot` instead of `Exec=/usr/bin/riot` - Credit to @luminoso:chat.naoestusou.eu * Sun Nov 11 2018 Todd Warner 0.17.3-1.taw * Sun Nov 11 2018 Todd Warner 0.17.3-0.1.testing.taw - v0.17.3 * Wed Oct 24 2018 Todd Warner 0.17.2-1..taw * Wed Oct 24 2018 Todd Warner 0.17.2-0.1.testing.taw - v0.17.2 * Tue Oct 16 2018 Todd Warner 0.17.0-1.taw * Tue Oct 16 2018 Todd Warner 0.17.0-0.1.testing.taw - v0.17.0 * Mon Oct 15 2018 Todd Warner 0.16.6-1.taw * Mon Oct 15 2018 Todd Warner 0.16.6-0.1.testing.taw - v0.16.6 * Sat Oct 06 2018 Todd Warner 0.16.5-1.taw * Sat Oct 06 2018 Todd Warner 0.16.5-0.1.testing.taw - v0.16.5 * Wed Sep 19 2018 Todd Warner 0.16.4-1.taw * Wed Sep 19 2018 Todd Warner 0.16.4-0.1.testing.taw - v0.16.4 * Mon Sep 03 2018 Todd Warner 0.16.3-1.taw * Mon Sep 03 2018 Todd Warner 0.16.3-0.1.testing.taw - v16.3 * Wed Aug 29 2018 Todd Warner 0.16.2-1.taw * Wed Aug 29 2018 Todd Warner 0.16.2-0.1.testing.taw - v0.16.2 * Wed Aug 22 2018 Todd Warner 0.16.1-1.taw * Wed Aug 22 2018 Todd Warner 0.16.1-0.1.testing.taw - v0.16.1 * Mon Jul 30 2018 Todd Warner 0.16.0-1.taw * Mon Jul 30 2018 Todd Warner 0.16.0-0.1.testing.taw - v0.16.0 * Wed Jul 11 2018 Todd Warner 0.15.7-1.taw * Wed Jul 11 2018 Todd Warner 0.15.7-0.1.testing.taw - v0.15.7 * Mon Jul 09 2018 Todd Warner 0.15.7-0.1.rc.2.taw - v0.15.7 RC2 * Sun Jul 01 2018 Todd Warner 0.15.7-0.1.rc.1.taw - v0.15.7 RC1 * Sun Jul 01 2018 Todd Warner 0.15.6-1.taw * Sun Jul 01 2018 Todd Warner 0.15.6-0.2.testing.taw - v0.15.6 * Sat Jun 23 2018 Todd Warner 0.15.6-0.1.rc.2.taw - v0.15.6 RC2 * Sat Jun 16 2018 Todd Warner 0.15.5-1.taw * Sat Jun 16 2018 Todd Warner 0.15.5-0.1.testing.taw - v0.15.5 * Sat May 26 2018 Todd Warner 0.15.4-2.taw * Sat May 26 2018 Todd Warner 0.15.4-1.3.testing.taw * Sat May 26 2018 Todd Warner 0.15.4-1.2.testing.taw * Sat May 26 2018 Todd Warner 0.15.4-1.1.testing.taw - Recieving HTTP 429 errors. This is due to rate-limiting on the nodejs registry servers for anyone pulling down npm's via non-ssl calls. Which, we have to do for OpenSuse builds. So... I added more refinded OS distro querying logic. - A pile of sleeps added to slow things down for opensuse builds. Probably does nothing. - TODO: include all deps so that no over-the-wire calls are necessary * Fri May 25 2018 Todd Warner 0.15.4-0.1.testing.taw - v0.15.4 testing * Fri May 25 2018 Todd Warner 0.15.3-2.taw - Updated v0.15.3 builds that are more OpenSuse compatible * Thu May 24 2018 Todd Warner 0.15.3-1.1.testing.taw - Reverted the hardcoded Requires (broke Suse builds) - Trying to make this OpenSuse compatible (Suse builds don't like https for some reason): ``` npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY npm ERR! request to https://registry.npmjs.org/minimist failed, reason: unable to get local issuer certificate ``` * Wed May 23 2018 Todd Warner 0.15.3-1.taw - v0.15.3 * Wed May 23 2018 Todd Warner 0.15.3-0.1.testing.taw - v0.15.3 testing - minor spec file cleanup - locking down supported architectures w/ ExclusiveArch * Thu May 17 2018 Todd Warner 0.15.2-1.taw - v0.15.2 * Thu May 17 2018 Todd Warner 0.15.2-0.1.testing.taw - v0.15.2 testing * Sat May 12 2018 Todd Warner 0.15.0-0.1.rc.3.taw - v0.15.0-rc.3 - Added back the required libffmpeg.so library - my experiment failed. :( * Sat May 12 2018 Todd Warner 0.15.0-0.1.rc.2.taw - fixed dependency issue * Fri May 11 2018 Todd Warner 0.15.0-0.1.rc.2.taw - v0.15.0 release candidate - attempted to yank libffmpeg.so from the package. FAILED (added back later) - had to manually construct the Requires because can't exclude from AutoReq - map proper lib (or lib64) path to the /etc/ld.so.conf.d/riot.conf file - spec file: mkdir without -p can be problematic on repeat builds. * Sat May 5 2018 Todd Warner 0.14.2-2.taw - Update * Sat May 5 2018 Todd Warner 0.14.2-1.1.testing.taw - Tweaked the .desktop and .appdata.xml files a bit (more conforming) - Apparently, name_at_example.com is more "standard" for email formatting. * Thu May 3 2018 Todd Warner 0.14.2-1.taw - Release 14.2 * Thu May 3 2018 Todd Warner 0.14.2-0.2.rc.final.taw - v0.14.2-rc.final * Fri Apr 27 2018 Todd Warner 0.14.2-0.1.rc.3.taw - v0.14.2-rc.3 * Thu Apr 12 2018 Todd Warner 0.14.1-1.taw - GA build for 0.14.1 * Thu Apr 12 2018 Todd Warner 0.14.1-0.1.testing.taw - Release: 740b221 (git) v0.14.1 - Cleaned up %%files a bit (too broad of inclusion) - https://github.com/vector-im/riot-web/releases/tag/v0.14.1 * Thu Apr 12 2018 Todd Warner 0.14.0-0.2.testing.taw - Added an 'npm cache clean --force' (and more) to hopefully address cache integrity issues (sha1 integrity checks, namely). Very ugly. - Refactored the nvrea bits yet again. - Fixed /usr/lib versus /usr/lib64 - rpmlint and Packaging Guidelines compliance fixes: - Removed "Vender:" and "Packager:" - that's why we have changelogs. - Source0 has a github URL and there is additional instruction above - Obsoletes done right. - Moved all the application code to /usr/share/riot (opt is frowned upon) - Removed %%clean and removed the buildroot cleanup in %%install section - Made the Summary: compliant (shorter, no ending period, no name repeat - Restructured the contrib tarball. * Wed Apr 11 2018 Todd Warner 0.14.0-1.taw - Release: eaeb495 - 0.14.0 - Changelog: https://github.com/vector-im/riot-web/releases/tag/v0.14.0 - Changes specific to these builds... - name-version-release more closely matches industry guidelines: https://fedoraproject.org/wiki/Packaging:Versioning - A lot of spec file cleanup. * Tue Apr 10 2018 Todd Warner 0.13.5-3.taw - Added an 'npm cache clean --force' to hopefully about cache integrity issues (sha1 integrity checks, namely) * Mon Apr 9 2018 Todd Warner 0.14.0-0.1.rc.6.taw - Release - 7445456 - 0.14-0 RC6 - name-version-release more closely matches industry guidelines: https://fedoraproject.org/wiki/Packaging:Versioning - A lot of spec file cleanup. - Nuked .build_ids in order to avoid conflicts. * Sun Feb 11 2018 Todd Warner 0.13.5-1.taw - Adjusted location of libffmpeg and libnode in order to avoid conflicts. * Fri Feb 09 2018 Todd Warner 0.13.5-0.taw - Updated upstream source that fixes a security issue with external URL management. - https://github.com/vector-im/riot-web/releases/tag/v0.13.5 * Sat Jan 06 2018 Todd Warner 0.13.4-0.taw - Updated upstream source that fixes one of the default configuration files. - https://github.com/vector-im/riot-web/releases/tag/v0.13.4 * Wed Dec 06 2017 Todd Warner 0.13.3-1.taw - Updated upstream source. - https://github.com/vector-im/riot-web/releases/tag/v0.13.3 - Bumped to -1.taw to fix this changelog date which was incorrectly labeled. * Fri Nov 17 2017 Todd Warner 0.13.0-1.taw - Fedora 27 does not install 7zip-bin-linux when you perform "npm install", so we specifically add it. * Fri Nov 17 2017 Todd Warner 0.13.0-0.taw - Updated upstream source. * Tue Oct 24 2017 Todd Warner 0.12.7-0.taw - Updated upstream source. * Mon Sep 25 2017 Todd Warner 0.12.6-0.taw - Updated upstream source. - Updated build tree structure. * Tue Apr 25 2017 Todd Warner 0.9.9-0.taw - Updated upstream source. * Sun Apr 16 2017 Todd Warner 0.9.8-0.taw - Updated upstream source. * Sun Feb 05 2017 Todd Warner 0.9.7-1.0.taw - Updated upstream source. * Sat Jan 21 2017 Todd Warner 0.9.6-1.2.taw - Tweaks * Mon Jan 16 2017 Todd Warner 0.9.6-1.1.taw - Small restructuring * Mon Jan 16 2017 Todd Warner 0.9.6-1.0.taw - v0.9.6 * Mon Jan 09 2017 Todd Warner 0.9.5-1.5.taw - improved icons a bit * Wed Jan 04 2017 Todd Warner 0.9.5-1.4.taw - Package renamed riot instead of riot-web -- cuz, it's not a webapp. :) * Tue Jan 03 2017 Todd Warner 0.9.5-1.3.taw - Fixing icons - Moving towards calling the package riot, versus riot-web, which - makes little sense. Undecided. * Tue Jan 03 2017 Todd Warner 0.9.5-1.2.taw - Fixing icons * Sun Jan 01 2017 Todd Warner 0.9.5-1.1.taw - Minor tweaks. * Sun Jan 01 2017 Todd Warner 0.9.5-1.0.taw - Initial build. Everything still ends up in /opt/Riot (messy) but... meh.