3 Commits

View File

@ -1,24 +1,23 @@
Name: accounts-qt
Version: 1.16
Version: 1.17
Release: 1mamba
Summary: Qt bindings to the Accounts & SSO framework
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://code.google.com/p/accounts-sso/
URL: https://code.google.com/archive/p/accounts-sso
Source: https://gitlab.com/accounts-sso/libaccounts-qt.git/VERSION_%{version}/libaccounts-qt-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libaccounts-glib-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Qt bindings to the Accounts & SSO framework.
@ -40,6 +39,23 @@ Requires: pkg-config
%description -n lib%{name}5-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n lib%{name}6
Group: System/Libraries
Summary: Qt6 bindings to the Accounts & SSO framework
%description -n lib%{name}6
Qt6 bindings to the Accounts & SSO framework.
This package contains shared libraries for %{name}.
%package -n lib%{name}6-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name}6 = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}6-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
@ -51,11 +67,20 @@ cd build
%{_qt5_qmake} CONFIG+="nostrip" LIBDIR=%{_libdir} ..
%make
cd ..
mkdir build-qt6
cd build-qt6
%{_qt6_qmake} CONFIG+="nostrip" LIBDIR=%{_libdir} ..
%make
#sub-Accounts
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build INSTALL_ROOT=%{buildroot}
%makeinstall -C build-qt6 INSTALL_ROOT=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -81,11 +106,34 @@ cd build
%dir %{_datadir}/doc/accounts-qt
%dir %{_datadir}/doc/accounts-qt/html
%{_datadir}/doc/accounts-qt/html/*
%dir %{_datadir}/doc/accounts-qt/qch
%{_datadir}/doc/accounts-qt/qch/*
%doc TODO
%files -n lib%{name}6
%defattr(-,root,root)
%{_libdir}/libaccounts-qt6.so.*
%doc COPYING
%files -n lib%{name}6-devel
%defattr(-,root,root)
%{_bindir}/accountstest
%dir %{_includedir}/accounts-qt6
%dir %{_includedir}/accounts-qt6/Accounts
%{_includedir}/accounts-qt6/Accounts/*
%{_libdir}/cmake/AccountsQt6/AccountsQt6Config.cmake
%{_libdir}/cmake/AccountsQt6/AccountsQt6ConfigVersion.cmake
%{_libdir}/libaccounts-qt6.so
%{_libdir}/pkgconfig/accounts-qt6.pc
%changelog
* Thu Apr 11 2024 Automatic Build System <autodist@openmamba.org> 1.17-1mamba
- automatic version update by autodist
* Tue Mar 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-3mamba
- x86_64: rebuilt with downgraded qt 5.15.7
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-2mamba
- rebuilt with -qt6 subpackages
* Sat Jan 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-1mamba
- update to 1.16