From 7c06c39b462fd5a0088e17b112710c0355063dd0 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Sat, 6 Jan 2024 05:30:05 +0100 Subject: [PATCH] package created by autospec [release 1.0.1-1mamba;Mon Apr 04 2011] --- README.md | 2 ++ libqoauth.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 libqoauth.spec diff --git a/README.md b/README.md index 8fc55c3..3a7d6e9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libqoauth +QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently. + diff --git a/libqoauth.spec b/libqoauth.spec new file mode 100644 index 0000000..40a678a --- /dev/null +++ b/libqoauth.spec @@ -0,0 +1,68 @@ +Name: libqoauth +Version: 1.0.1 +Release: 1mamba +Summary: A Qt-based C++ library for OAuth authorization scheme +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://github.com/ayoy/qoauth +Source: http://files.ayoy.net/qoauth/release/%{version}/src/qoauth-%{version}-src.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libqca-devel +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n qoauth-%{version}-src + +%build +%{_qt4_qmake} +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall \ + INSTALL_ROOT=%{buildroot} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc CHANGELOG LICENSE README + +%files devel +%defattr(-,root,root) +%{_includedir}/QtOAuth +%{_libdir}/*.so +%{_libdir}/*.prl +%{_qt4_datadir}/mkspecs/features/*.prf +%{_libdir}/pkgconfig/*.pc +%doc doc/examples + +%changelog +* Mon Apr 04 2011 Stefano Cotta Ramusino 1.0.1-1mamba +- package created by autospec