sirikali/sirikali.spec

194 lines
6.2 KiB
RPMSpec
Raw Permalink Normal View History

2018-02-13 18:35:55 +00:00
%global srcname SiriKali
%global srcurl https://github.com/mhogomchungu/%{name}
Name: sirikali
2022-03-03 17:00:46 +00:00
Version: 1.5.0
2023-03-08 21:56:30 +00:00
Release: 4%{?dist}
2018-02-13 18:35:55 +00:00
Summary: GUI front end to encfs,cryfs,gocryptfs and securefs
2018-02-13 19:18:48 +00:00
# generally GPLv2+, BSD for tasks and NetworkAccessManager folders
2023-03-08 21:56:30 +00:00
License: GPL-2.0-or-later AND BSD-2-Clause
2018-02-13 18:35:55 +00:00
URL: http://mhogomchungu.github.io/%{name}
Source0: %{srcurl}/releases/download/%{version}/%{srcname}-%{version}.tar.xz
BuildRequires: make
2018-02-13 18:35:55 +00:00
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: json-devel
BuildRequires: libgcrypt-devel
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(lxqt-wallet)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
Recommends: fuse-encfs
%description
%{srcname} is a Qt/C++ GUI front end to encfs,cryfs,gocryptfs and securefs.
%prep
2021-02-03 19:04:23 +00:00
%autosetup -p0 -n%{srcname}-%{version}
2018-02-13 19:18:48 +00:00
# collect licenses
cp -p src/3rdParty/tasks/LICENSE LICENSE-tasks
cp -p src/3rdParty/NetworkAccessManager/LICENSE LICENSE-NetworkAccessManager
2018-02-13 18:35:55 +00:00
# unbundle
pushd src/3rdParty
2022-03-03 17:00:46 +00:00
rm -rv lxqt_wallet
2018-02-13 18:35:55 +00:00
popd
sed -i -r 's:".*(json.hpp)":"\1":' CMakeLists.txt
sed -i 's:3rdParty/json:json:' src/%{name}.cpp
%build
2021-02-03 19:04:23 +00:00
%cmake -DQT5=true -DNOKDESUPPORT=true -DNOSECRETSUPPORT=false \
-DINTERNAL_LXQT_WALLET=false \
-DJSON_HEADER_PATH=/usr/include/nlohmann/json.hpp ..
2021-07-30 14:57:26 +00:00
pushd %{_vpath_builddir}
2021-02-03 19:04:23 +00:00
%make_build
2018-02-13 18:35:55 +00:00
%install
2021-07-30 14:57:26 +00:00
pushd %{_vpath_builddir}
2021-02-03 19:04:23 +00:00
%make_install
2018-02-13 18:35:55 +00:00
%find_lang %{name} --with-qt --all-name
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
2021-02-03 19:04:23 +00:00
desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.mhogomchungu.sirikali.desktop
2018-02-13 18:35:55 +00:00
2021-07-30 14:57:26 +00:00
%files -f %{_vpath_builddir}/%{name}.lang
2018-07-26 18:30:59 +00:00
%license COPY* LICENSE* GPLv*
2018-02-13 18:35:55 +00:00
%doc README.md ABOUT* changelog
%{_bindir}/%{name}*
2021-02-03 19:04:23 +00:00
%{_datadir}/applications/io.github.mhogomchungu.sirikali.desktop
2018-02-13 18:35:55 +00:00
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/translations
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/icons/%{name}.png
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/polkit-1/actions/*.policy
%{_datadir}/metainfo/*.appdata.xml
%{_mandir}/man1/%{name}*.1*
%changelog
2023-03-08 21:56:30 +00:00
* Wed Mar 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.5.0-4
- migrated to SPDX license
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-03-03 17:00:46 +00:00
* Thu Mar 03 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.5.0-1
- 1.5.0
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-04-12 15:45:41 +00:00
* Mon Apr 12 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.4.8-6
- liblxqt-wallet rebuild.
* Thu Feb 25 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.4.8-5
- 1.4.8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-01 12:47:56 +00:00
* Mon Jun 01 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.4.4-1
- 1.4.4
2020-04-01 14:12:06 +00:00
* Wed Apr 01 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.4.3-1
- 1.4.3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-12-18 14:41:52 +00:00
* Wed Dec 18 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.4.2-1
- 1.4.2
2019-11-18 15:50:36 +00:00
* Mon Nov 18 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.4.1-1
- 1.4.1
2019-09-08 17:51:13 +00:00
* Sun Sep 08 2019 Raphael Groner <projects.rg@smart.ms> - 1.3.9-1
- new version
2019-07-27 19:58:10 +00:00
* Sat Jul 27 2019 Raphael Groner <projects.rg@smart.ms> - 1.3.8-1
- new version
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-12-17 09:44:32 +00:00
* Mon Dec 17 2018 Raphael Groner <projects.rg@smart.ms> - 1.3.6-1
- new version
2018-07-31 11:42:12 +00:00
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 1.3.4-3
- Rebuild with fixed binutils
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.4-2
- Rebuild for new binutils
2018-07-26 18:30:59 +00:00
* Thu Jul 26 2018 Raphael Groner <projects.rg@smart.ms> - 1.3.4-1
- bump to 1.3.4, fix FTBFS
- try harder to add all license texts
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-02-13 19:18:48 +00:00
* Tue Feb 13 2018 Raphael Groner <projects.rg@smart.ms> - 1.3.3-1
- new version
- drop upstream patches, due to incl.
- add license breakdown for 3rdParty folders
2018-02-13 18:35:55 +00:00
* Wed Feb 07 2018 Raphael Groner <projects.rg@smart.ms> - 1.3.2-2
- drop obsolete scriptlets
- drop explicit file permission
- include upstreamed patches
* Sat Jan 13 2018 Raphael Groner <projects.rg@smart.ms> - 1.3.2-1
- new version
- drop BSD because unbundled json
- unbundle lxqt_wallet
* Tue Jul 11 2017 Raphael Groner <projects.rg@smart.ms> - 1.2.9-1
- new version
- unbundle json
* Mon Jun 12 2017 Raphael Groner <projects.rg@smart.ms> - 1.2.7.1.20170611git
- new version
- use git snapshot to include latest upstream patches
- include upstream patch to get full path of su binary
- distribute additonal files
- drop workaround for duplicated readme files
- fix length of line in description
* Sun Jun 04 2017 Raphael Groner <projects.rg@smart.ms> - 1.2.5-2
- fix duplication of license documentation files
- reorder explicit ownership of folders
- fix file attributes of desktop file
- add weak dependency to fuse-encfs
* Wed Mar 01 2017 Raphael Groner <projects.rg@smart.ms> - 1.2.5-1
- adopt for Fedora