qtkeychain/qtkeychain.spec

116 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: qtkeychain
Version: 0.14.2
Release: 1mamba
Summary: Platform-independent Qt API for storing passwords securely
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/frankosterfeld/qtkeychain
Source: https://github.com/frankosterfeld/qtkeychain.git/%{version}/qtkeychain-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libsecret-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Platform-independent Qt API for storing passwords securely.
%package -n lib%{name}
Group: System/Libraries
Summary: Platform-independent Qt API for storing passwords securely.
%description -n lib%{name}
Platform-independent Qt API for storing passwords securely.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build \
-DECM_MKSPECS_INSTALL_DIR:PATH=%{_libdir}/qt5/mkspecs/modules
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libqt5keychain.so.*
%dir %{_datadir}/qt5keychain
%dir %{_datadir}/qt5keychain/translations
%{_datadir}/qt5keychain/translations/qtkeychain_de.qm
%{_datadir}/qt5keychain/translations/qtkeychain_fr.qm
%{_datadir}/qt5keychain/translations/qtkeychain_ro.qm
%{_datadir}/qt5keychain/translations/qtkeychain_ru.qm
%{_datadir}/qt5keychain/translations/qtkeychain_zh.qm
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/qt5keychain
%{_includedir}/qt5keychain/*.h
%dir %{_libdir}/cmake/Qt5Keychain
%{_libdir}/cmake/Qt5Keychain/Qt5Keychain*.cmake
%{_libdir}/libqt5keychain.so
%{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri
%doc ChangeLog
%changelog
* Sun Feb 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.2-1mamba
- update to 0.14.2
* Sat May 13 2023 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
- automatic version update by autodist
* Fri Nov 19 2021 Automatic Build System <autodist@mambasoft.it> 0.13.2-1mamba
- automatic version update by autodist
* Wed Nov 10 2021 Automatic Build System <autodist@mambasoft.it> 0.13.1-1mamba
- automatic version update by autodist
* Mon Feb 22 2021 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
- automatic version update by autodist
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 0.11.1-1mamba
- automatic version update by autodist
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
- automatic version update by autodist
* Tue Aug 21 2018 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- automatic version update by autodist
* Sat Jul 14 2018 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- automatic version update by autodist
* Tue Apr 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- package created using the webbuild interface