168 lines
4.7 KiB
RPMSpec
168 lines
4.7 KiB
RPMSpec
%define __cmake_in_source_build 1
|
|
%bcond_with clang
|
|
|
|
%global srcname lxqt_wallet
|
|
|
|
Name: %(echo %{srcname} |tr _ - )
|
|
Version: 3.2.2
|
|
Release: 3%{?dist}
|
|
Summary: Create a kwallet like functionality for LXQt
|
|
|
|
License: BSD
|
|
URL: https://github.com/mhogomchungu/%{srcname}
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
Patch0: f8d298d624106330f58445b11104ed45d85a1592.patch
|
|
|
|
|
|
BuildRequires: cmake
|
|
%if %{with clang}
|
|
BuildRequires: clang >= 5.0
|
|
%else
|
|
BuildRequires: gcc-c++
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(lxqt)
|
|
BuildRequires: cmake(KF5Wallet)
|
|
BuildRequires: cmake(KF5Notifications)
|
|
BuildRequires: pkgconfig(libsecret-1)
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: qt5-linguist
|
|
|
|
%description
|
|
This project seeks to give a functionality for secure storage
|
|
of information that can be presented in key-values pair like
|
|
user names-passwords pairs.
|
|
|
|
Currently the project can store the information in KDE's kwallet,
|
|
GNOME's secret service or in an internal system that use libgcrypt
|
|
as its cryptographic backend.
|
|
|
|
The internal secure storage system allows the functionality to
|
|
be provided without dependencies on KDE or GNOME libraries.
|
|
|
|
This project is designed to be used by other projects simply by
|
|
adding the source folder in the build system and start using it.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: liblxqt-devel%{?_isa}
|
|
|
|
%description devel
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n%{srcname}-%{version}
|
|
cp -p backend/README README-backend
|
|
cp -p frontend/README README-frontend
|
|
|
|
%build
|
|
%{__mkdir} -p %{_target_platform}
|
|
|
|
%if %{with clang}
|
|
export CC=clang
|
|
export CXX=clang++
|
|
%endif
|
|
|
|
pushd %{_target_platform}
|
|
%{cmake_lxqt} \
|
|
-DQT5=true \
|
|
-DLIB_SUFFIX=default \
|
|
-DNOKDESUPPORT=false \
|
|
-DNOSECRETSUPPORT=false \
|
|
-DBUILD_SHARED=true \
|
|
..
|
|
|
|
%cmake_build
|
|
popd
|
|
|
|
%install
|
|
pushd %{_target_platform}
|
|
%cmake_install
|
|
popd
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%license LICENSE
|
|
%doc README.md changelog
|
|
%{_bindir}/%{srcname}-cli
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%doc README-*
|
|
%{_includedir}/lxqt/*.h
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
%changelog
|
|
* Mon Nov 6 2023 Raven <raven@sysadmins.ws> - 3.2.2-4
|
|
- clang support
|
|
|
|
* Thu May 18 2023 Raven <raven@sysadmins.ws> - 3.2.2-3
|
|
- rebuilt for distro upgrades
|
|
|
|
* Fri Nov 11 2022 Raven <raven@sysadmins.ws> - 3.2.2-2
|
|
- import fix for kwallet passwords issue
|
|
|
|
* Sun Apr 11 2021 Raphael Groner <raphgro@fedoraproject.org> - 3.2.2-1
|
|
- bump to v3.2.2
|
|
|
|
* Wed Feb 24 2021 Raphael Groner <raphgro@fedoraproject.org> - 3.2.1-1
|
|
- bump to v3.2.1, mind unbundling in zulucrypt, rhbz#1862725
|
|
- use cmake macros properly for out-of-source builds
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Mon Jun 05 2017 Christian Dersch <lupinix@mailbox.org> - 3.1.0-1
|
|
- new version
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Fri Dec 16 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.0-2
|
|
- rebuilt for latest Qt5
|
|
|
|
* Wed Aug 03 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.0-1
|
|
- new version
|
|
- drop hacks for translations and pkgconfig
|
|
- readd gcc-c++
|
|
|
|
* Sat Jul 23 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.1-2
|
|
- fix compilation of translations
|
|
- add hack for pkgconfig version
|
|
|
|
* Thu Jul 14 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.1-1
|
|
- initial
|