update to 8.60 [release 8.60-1mamba;Sat Jan 02 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:50:09 +01:00
parent a54ca7755d
commit 397afbff62

View File

@ -1,20 +1,21 @@
Name: signon
Version: 8.57
Release: 2mamba
Version: 8.60
Release: 1mamba
Summary: Accounts and SSO (Single Sign-On) framework
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://code.google.com/p/accounts-sso/
Source: https://downloads.sourceforge.net/project/kaosx/sources/signon/signon-%{version}.tar.bz2
Source: https://gitlab.com/accounts-sso/signond.git/VERSION_%{version}/signond-%{version}.tar.bz2
#Source: https://downloads.sourceforge.net/project/kaosx/sources/signon/signon-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libgcc
BuildRequires: libproxy-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
@ -35,33 +36,17 @@ This package contains shared libraries for %{name}.
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n lib%{name}-qt
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-qt
This package contains Qt bindings to %{name}.
%package -n lib%{name}-qt-devel
Group: Development/Libraries
Summary: Development files for lib%{name}-qt
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
%description -n lib%{name}-qt-devel
This package contains libraries and header files for developing applications that use lib%{name}-qt.
%package -n lib%{name}-qt5
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: lib%{name}-qt
Obsoletes: lib%{name}-qt <= 8.57
%description -n lib%{name}-qt5
This package contains Qt bindings to %{name}.
@ -70,8 +55,9 @@ This package contains Qt bindings to %{name}.
Group: Development/Libraries
Summary: Development files for lib%{name}-qt5
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
Requires: pkg-config
Provides: lib%{name}-qt-devel
Obsoletes: lib%{name}-qt-devel <= 8.57
%description -n lib%{name}-qt5-devel
This package contains libraries and header files for developing applications that use lib%{name}-qt5.
@ -88,20 +74,9 @@ This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%setup -q -n signond-%{version}
%build
%_qt4_qmake \
PREFIX=%{_prefix} \
LIBDIR=%{_libdir}
# CONFIG+=cryptsetup
%make
tar xf %{SOURCE0}
mv %{name}-%{version} build-qt5
cd build-qt5
%_qt5_qmake \
PREFIX=%{_prefix} \
LIBDIR=%{_libdir}
@ -110,8 +85,9 @@ cd build-qt5
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot}
%makeinstall -C build-qt5 INSTALL_ROOT=%{buildroot}
%makeinstall \
INSTALL_ROOT=%{buildroot} \
STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -124,6 +100,11 @@ cd build-qt5
%{_sysconfdir}/signond.conf
%{_bindir}/signond
%{_bindir}/signonpluginprocess
%{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.AuthService.xml
%{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.AuthSession.xml
%{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.Identity.xml
%{_datadir}/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service
%{_datadir}/dbus-1/services/com.nokia.SingleSignOn.Backup.service
%doc COPYING
%files -n lib%{name}
@ -136,11 +117,6 @@ cd build-qt5
%{_libdir}/signon/libpasswordplugin.so
%{_libdir}/signon/libssotest2plugin.so
%{_libdir}/signon/libssotestplugin.so
%{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.AuthService.xml
%{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.AuthSession.xml
%{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.Identity.xml
%{_datadir}/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service
%{_datadir}/dbus-1/services/com.nokia.SingleSignOn.Backup.service
%files -n lib%{name}-devel
%defattr(-,root,root)
@ -152,7 +128,7 @@ cd build-qt5
%dir %{_includedir}/signon-plugins/SignOn
%{_includedir}/signon-plugins/SignOn/*
%dir %{_includedir}/signond
%dir %{_includedir}/signond/*
%{_includedir}/signond/*
%{_libdir}/libsignon-extension.so
%{_libdir}/libsignon-plugins-common.so
%{_libdir}/libsignon-plugins.so
@ -160,23 +136,7 @@ cd build-qt5
%{_libdir}/pkgconfig/signon-plugins-common.pc
%{_libdir}/pkgconfig/signon-plugins.pc
%{_libdir}/pkgconfig/signond.pc
%doc README TODO
%files -n lib%{name}-qt
%defattr(-,root,root)
%{_libdir}/libsignon-qt.so.*
%files -n lib%{name}-qt-devel
%defattr(-,root,root)
%dir %{_includedir}/signon-qt
%dir %{_includedir}/signon-qt/SignOn
%{_includedir}/signon-qt/SignOn/*
%{_libdir}/libsignon-qt.a
%{_libdir}/libsignon-qt.so
%dir %{_libdir}/cmake/SignOnQt
%{_libdir}/cmake/SignOnQt/SignOnQtConfig.cmake
%{_libdir}/cmake/SignOnQt/SignOnQtConfigVersion.cmake
%{_libdir}/pkgconfig/libsignon-qt.pc
%doc TODO
%files -n lib%{name}-qt5
%defattr(-,root,root)
@ -206,6 +166,9 @@ cd build-qt5
%{_datadir}/doc/libsignon-qt/*
%changelog
* Sat Jan 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.60-1mamba
- update to 8.60
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 8.57-2mamba
- added libsignon-qt5