update to 1.13
added qt5 subpackages [release 1.13-1mamba;Sun Aug 16 2015]
This commit is contained in:
parent
2a26bd9256
commit
d7c921f072
@ -1,5 +1,5 @@
|
|||||||
Name: accounts-qt
|
Name: accounts-qt
|
||||||
Version: 1.11
|
Version: 1.13
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Qt bindings to the Accounts & SSO framework
|
Summary: Qt bindings to the Accounts & SSO framework
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -7,7 +7,7 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://code.google.com/p/accounts-sso/
|
URL: https://code.google.com/p/accounts-sso/
|
||||||
Source: https://accounts-sso.googlecode.com/files/accounts-qt-%{version}.tar.bz2
|
Source: https://gitlab.com/accounts-sso/libaccounts-qt.git/%{version}/libaccounts-qt-%{version}.tar.bz2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -15,9 +15,9 @@ BuildRequires: libaccounts-glib-devel
|
|||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libqt4-devel
|
||||||
|
BuildRequires: libqt5-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,18 +40,41 @@ Requires: pkg-config
|
|||||||
%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}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}.
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n libaccounts-qt-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
qmake-qt4
|
qmake-qt4
|
||||||
%make
|
%make
|
||||||
|
|
||||||
|
mkdir -p build-qt5
|
||||||
|
cd build-qt5
|
||||||
|
qmake-qt5 ..
|
||||||
|
%make sub-Accounts
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall INSTALL_ROOT=%{buildroot}
|
%makeinstall INSTALL_ROOT=%{buildroot}
|
||||||
|
%makeinstall -C build-qt5/Accounts INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -59,7 +82,11 @@ qmake-qt4
|
|||||||
%post -n lib%{name} -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name} -p /sbin/ldconfig
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n lib%{name}5 -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name}5 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_bindir}/accountstest
|
%{_bindir}/accountstest
|
||||||
%{_datadir}/libaccounts-qt-tests/MyProvider.provider
|
%{_datadir}/libaccounts-qt-tests/MyProvider.provider
|
||||||
%{_datadir}/libaccounts-qt-tests/MyService.service
|
%{_datadir}/libaccounts-qt-tests/MyService.service
|
||||||
@ -81,10 +108,33 @@ qmake-qt4
|
|||||||
%{_libdir}/cmake/AccountsQt/AccountsQtConfigVersion.cmake
|
%{_libdir}/cmake/AccountsQt/AccountsQtConfigVersion.cmake
|
||||||
%{_libdir}/libaccounts-qt.so
|
%{_libdir}/libaccounts-qt.so
|
||||||
%{_libdir}/pkgconfig/accounts-qt.pc
|
%{_libdir}/pkgconfig/accounts-qt.pc
|
||||||
|
%dir %{_datadir}/doc/accounts-qt
|
||||||
%dir %{_datadir}/doc/accounts-qt/html/
|
%dir %{_datadir}/doc/accounts-qt/html/
|
||||||
%{_datadir}/doc/accounts-qt/*
|
%{_datadir}/doc/accounts-qt/html/*
|
||||||
|
%dir %{_datadir}/doc/accounts-qt/qch/
|
||||||
|
%{_datadir}/doc/accounts-qt/qch/*
|
||||||
|
%doc README TODO
|
||||||
|
|
||||||
|
%files -n lib%{name}5
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libaccounts-qt5.so.*
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files -n lib%{name}5-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%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
|
||||||
%doc README TODO
|
%doc README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-1mamba
|
||||||
|
- update to 1.13
|
||||||
|
- added qt5 subpackages
|
||||||
|
|
||||||
* Wed May 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11-1mamba
|
* Wed May 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user