2024-01-05 20:08:34 +01:00
|
|
|
Name: accounts-qt
|
2024-01-05 20:08:35 +01:00
|
|
|
Version: 1.16
|
2024-03-03 18:04:20 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 20:08:34 +01:00
|
|
|
Summary: Qt bindings to the Accounts & SSO framework
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-03-03 18:04:20 +01:00
|
|
|
URL: https://code.google.com/archive/p/accounts-sso
|
2024-01-05 20:08:35 +01:00
|
|
|
Source: https://gitlab.com/accounts-sso/libaccounts-qt.git/VERSION_%{version}/libaccounts-qt-%{version}.tar.bz2
|
2024-03-03 18:04:20 +01:00
|
|
|
Patch0: accounts-qt-1.16-qt6-1.patch
|
|
|
|
Patch1: accounts-qt-1.16-qt6-3.patch
|
|
|
|
Patch2: accounts-qt-1.16-qt6-4.patch
|
|
|
|
Patch3: accounts-qt-1.16-qt6-5.patch
|
2024-01-05 20:08:34 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libaccounts-glib-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-03-03 18:04:20 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
2024-01-05 20:08:34 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Qt bindings to the Accounts & SSO framework.
|
|
|
|
|
2024-01-05 20:08:34 +01:00
|
|
|
%package -n lib%{name}5
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Qt5 bindings to the Accounts & SSO framework
|
|
|
|
|
|
|
|
%description -n lib%{name}5
|
|
|
|
Qt5 bindings to the Accounts & SSO framework.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}5-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name}5 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}5-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-03-03 18:04:20 +01:00
|
|
|
%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}.
|
|
|
|
|
2024-01-05 20:08:34 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 20:08:34 +01:00
|
|
|
%setup -q -n libaccounts-qt-%{version}
|
2024-03-03 18:04:20 +01:00
|
|
|
%patch 0 -p1 -b .qt6-1
|
|
|
|
%patch 1 -p1 -b .qt6-3
|
|
|
|
%patch 2 -p1 -b .qt6-4
|
|
|
|
%patch 3 -p1 -b .qt6-5
|
2024-01-05 20:08:34 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 20:08:35 +01:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
%{_qt5_qmake} CONFIG+="nostrip" LIBDIR=%{_libdir} ..
|
2024-01-05 20:08:34 +01:00
|
|
|
|
2024-01-05 20:08:35 +01:00
|
|
|
%make
|
2024-03-03 18:04:20 +01:00
|
|
|
|
|
|
|
cd ..
|
|
|
|
mkdir build-qt6
|
|
|
|
cd build-qt6
|
|
|
|
%{_qt6_qmake} CONFIG+="nostrip" LIBDIR=%{_libdir} ..
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
2024-01-05 20:08:35 +01:00
|
|
|
#sub-Accounts
|
2024-01-05 20:08:34 +01:00
|
|
|
|
2024-01-05 20:08:34 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 20:08:35 +01:00
|
|
|
%makeinstall -C build INSTALL_ROOT=%{buildroot}
|
2024-03-03 18:04:20 +01:00
|
|
|
%makeinstall -C build-qt6 INSTALL_ROOT=%{buildroot}
|
2024-01-05 20:08:34 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 20:08:34 +01:00
|
|
|
%post -n lib%{name}5 -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name}5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n lib%{name}5
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libaccounts-qt5.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}5-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:08:35 +01:00
|
|
|
%{_bindir}/accountstest
|
2024-01-05 20:08:34 +01:00
|
|
|
%dir %{_includedir}/accounts-qt5
|
|
|
|
%dir %{_includedir}/accounts-qt5/Accounts
|
|
|
|
%{_includedir}/accounts-qt5/Accounts/*
|
|
|
|
%{_libdir}/cmake/AccountsQt5/AccountsQt5Config.cmake
|
|
|
|
%{_libdir}/cmake/AccountsQt5/AccountsQt5ConfigVersion.cmake
|
|
|
|
%{_libdir}/libaccounts-qt5.so
|
|
|
|
%{_libdir}/pkgconfig/accounts-qt5.pc
|
2024-01-05 20:08:35 +01:00
|
|
|
%dir %{_datadir}/doc/accounts-qt
|
|
|
|
%dir %{_datadir}/doc/accounts-qt/html
|
|
|
|
%{_datadir}/doc/accounts-qt/html/*
|
|
|
|
%doc TODO
|
2024-01-05 20:08:34 +01:00
|
|
|
|
2024-03-03 18:04:20 +01:00
|
|
|
%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
|
|
|
|
|
2024-01-05 20:08:34 +01:00
|
|
|
%changelog
|
2024-03-03 18:04:20 +01:00
|
|
|
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-2mamba
|
|
|
|
- rebuilt with -qt6 subpackages
|
|
|
|
|
2024-01-05 20:08:35 +01:00
|
|
|
* Sat Jan 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-1mamba
|
|
|
|
- update to 1.16
|
|
|
|
|
2024-01-05 20:08:34 +01:00
|
|
|
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-1mamba
|
|
|
|
- update to 1.13
|
|
|
|
- added qt5 subpackages
|
|
|
|
|
2024-01-05 20:08:34 +01:00
|
|
|
* Wed May 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11-1mamba
|
|
|
|
- package created using the webbuild interface
|