added -qt5 subpackages [release 0.14.2-2mamba;Sun Mar 03 2024]
This commit is contained in:
parent
339c2cb95c
commit
7cf1f59572
@ -1,6 +1,6 @@
|
|||||||
Name: qtkeychain
|
Name: qtkeychain
|
||||||
Version: 0.14.2
|
Version: 0.14.2
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Platform-independent Qt API for storing passwords securely
|
Summary: Platform-independent Qt API for storing passwords securely
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -16,6 +16,7 @@ BuildRequires: libglib-devel
|
|||||||
BuildRequires: libsecret-devel
|
BuildRequires: libsecret-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
@ -39,6 +40,21 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description -n lib%{name}-devel
|
%description -n lib%{name}-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
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
|
%debug_package
|
||||||
|
|
||||||
@ -51,9 +67,17 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
%cmake -d build-qt6 \
|
||||||
|
-DECM_MKSPECS_INSTALL_DIR:PATH=%{_libdir}/qt6/mkspecs/modules \
|
||||||
|
-DBUILD_WITH_QT6=ON
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
%makeinstall -C build-qt6
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -77,13 +101,35 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/qt5keychain
|
%dir %{_includedir}/qt5keychain
|
||||||
%{_includedir}/qt5keychain/*.h
|
%{_includedir}/qt5keychain/*.h
|
||||||
|
%{_libdir}/libqt5keychain.so
|
||||||
%dir %{_libdir}/cmake/Qt5Keychain
|
%dir %{_libdir}/cmake/Qt5Keychain
|
||||||
%{_libdir}/cmake/Qt5Keychain/Qt5Keychain*.cmake
|
%{_libdir}/cmake/Qt5Keychain/Qt5Keychain*.cmake
|
||||||
%{_libdir}/libqt5keychain.so
|
|
||||||
%{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri
|
%{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri
|
||||||
%doc ChangeLog
|
%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
|
%changelog
|
||||||
|
* 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
|
* Sun Feb 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.2-1mamba
|
||||||
- update to 0.14.2
|
- update to 0.14.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user