qtkeychain/qtkeychain.spec

168 lines
5.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: qtkeychain
Version: 0.14.3
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
BuildRequires: qt6-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}.
%package -n lib%{name}-qt6
Group: System/Libraries
Summary: Platform-independent Qt API for storing passwords securely.
%description -n lib%{name}-qt6
Platform-independent Qt API for storing passwords securely.
This package contains shared libraries for %{name}.
%package -n lib%{name}-qt6-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-qt6-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
cd ..
%cmake -d build-qt6 \
-DECM_MKSPECS_INSTALL_DIR:PATH=%{_libdir}/qt6/mkspecs/modules \
-DBUILD_WITH_QT6=ON
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build-qt6
%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
%{_libdir}/libqt5keychain.so
%dir %{_libdir}/cmake/Qt5Keychain
%{_libdir}/cmake/Qt5Keychain/Qt5Keychain*.cmake
%{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri
%doc ChangeLog
%files -n lib%{name}-qt6
%defattr(-,root,root)
%{_libdir}/libqt6keychain.so.*
%{_datadir}/qt6keychain/translations/qtkeychain_de.qm
%{_datadir}/qt6keychain/translations/qtkeychain_fr.qm
%{_datadir}/qt6keychain/translations/qtkeychain_ro.qm
%{_datadir}/qt6keychain/translations/qtkeychain_ru.qm
%{_datadir}/qt6keychain/translations/qtkeychain_zh.qm
%doc COPYING
%files -n lib%{name}-qt6-devel
%defattr(-,root,root)
%dir %{_qt6_headerdir}keychain
%{_qt6_headerdir}keychain/*
%{_libdir}/libqt6keychain.so
%{_qt6_archdatadir}/mkspecs/modules/qt_Qt6Keychain.pri
%dir %{_libdir}/cmake/Qt6Keychain
%{_libdir}/cmake/Qt6Keychain/Qt6Keychain*.cmake
%changelog
* Sat May 04 2024 Automatic Build System <autodist@openmamba.org> 0.14.3-1mamba
- automatic version update by autodist
* Tue Mar 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.2-3mamba
- x86_64: rebuilt with downgraded qt 5.15.7
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.2-2mamba
- added -qt5 subpackages
* 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