packages: liboauth/liboauth.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Fri Sep 2 00:58:16 CEST 2011


Author: patrys                       Date: Thu Sep  1 22:58:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/liboauth:
   liboauth.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/liboauth/liboauth.spec
diff -u /dev/null packages/liboauth/liboauth.spec:1.1
--- /dev/null	Fri Sep  2 00:58:16 2011
+++ packages/liboauth/liboauth.spec	Fri Sep  2 00:58:11 2011
@@ -0,0 +1,85 @@
+# $Revision$, $Date$
+Summary:	OAuth library functions
+Name:		liboauth
+Version:	0.9.4
+Release:	1
+License:	MIT
+Group:		Libraries
+URL:		http://liboauth.sourceforge.net/
+Source0:	http://liboauth.sourceforge.net/pool/%{name}-%{version}.tar.gz
+# Source0-md5:	973ded7a1af348c5bfe4e3b6b7e47bd3
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+BuildRequires:	curl-devel
+BuildRequires:	nss-devel
+
+%description
+liboauth is a collection of POSIX-c functions implementing the OAuth
+Core RFC 5849 standard. liboauth provides functions to escape and
+encode parameters according to OAuth specification and offers
+high-level functionality to sign requests or verify OAuth signatures
+as well as perform HTTP requests.
+
+
+%package        devel
+Summary:	Development files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure \
+	--disable-static \
+	--enable-nss
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog COPYING.MIT README
+%attr(755,root,root) %{_libdir}/liboauth.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/liboauth.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/oauth.h
+%{_libdir}/liboauth.so
+%{_pkgconfigdir}/oauth.pc
+%{_mandir}/man3/oauth.3*
+
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/09/01 22:58:11  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list