From 2a26bd92568daf354d0f69bf2e89bc61cddd7cec Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:08:34 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.11-1mamba;Wed May 28 2014] --- README.md | 2 ++ accounts-qt.spec | 90 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 accounts-qt.spec diff --git a/README.md b/README.md index eb92038..3afd3da 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # accounts-qt +Qt bindings to the Accounts & SSO framework. + diff --git a/accounts-qt.spec b/accounts-qt.spec new file mode 100644 index 0000000..2bcbf60 --- /dev/null +++ b/accounts-qt.spec @@ -0,0 +1,90 @@ +Name: accounts-qt +Version: 1.11 +Release: 1mamba +Summary: Qt bindings to the Accounts & SSO framework +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://code.google.com/p/accounts-sso/ +Source: https://accounts-sso.googlecode.com/files/accounts-qt-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libaccounts-glib-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Qt bindings to the Accounts & SSO framework. + +%package -n lib%{name} +Group: System/Libraries +Summary: Qt bindings to the Accounts & SSO framework + +%description -n lib%{name} +Qt bindings to the Accounts & SSO framework. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +qmake-qt4 +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_ROOT=%{buildroot} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%{_bindir}/accountstest +%{_datadir}/libaccounts-qt-tests/MyProvider.provider +%{_datadir}/libaccounts-qt-tests/MyService.service +%{_datadir}/libaccounts-qt-tests/OtherService.service +%{_datadir}/libaccounts-qt-tests/e-mail.service-type +%{_datadir}/libaccounts-qt-tests/tests.xml + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libaccounts-qt.so.* +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/accounts-qt +%dir %{_includedir}/accounts-qt/Accounts +%{_includedir}/accounts-qt/Accounts/* +%{_libdir}/cmake/AccountsQt/AccountsQtConfig.cmake +%{_libdir}/cmake/AccountsQt/AccountsQtConfigVersion.cmake +%{_libdir}/libaccounts-qt.so +%{_libdir}/pkgconfig/accounts-qt.pc +%dir %{_datadir}/doc/accounts-qt/html/ +%{_datadir}/doc/accounts-qt/* +%doc README TODO + +%changelog +* Wed May 28 2014 Silvan Calarco 1.11-1mamba +- package created using the webbuild interface