packages: liboauth/liboauth.spec - pl - added -static
qboosh
qboosh at pld-linux.org
Thu Nov 24 16:52:47 CET 2011
Author: qboosh Date: Thu Nov 24 15:52:47 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- pl
- added -static
---- Files affected:
packages/liboauth:
liboauth.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/liboauth/liboauth.spec
diff -u packages/liboauth/liboauth.spec:1.4 packages/liboauth/liboauth.spec:1.5
--- packages/liboauth/liboauth.spec:1.4 Tue Nov 22 10:28:49 2011
+++ packages/liboauth/liboauth.spec Thu Nov 24 16:52:41 2011
@@ -1,42 +1,65 @@
# $Revision$, $Date$
Summary: OAuth library functions
+Summary(pl.UTF-8): Biblioteka Funkcji OAuth
Name: liboauth
Version: 0.9.5
Release: 1
License: MIT
Group: Libraries
-URL: http://liboauth.sourceforge.net/
Source0: http://liboauth.sourceforge.net/pool/%{name}-%{version}.tar.gz
# Source0-md5: 2a8e01914dc85f297ef69c1ab300d0ec
+URL: http://liboauth.sourceforge.net/
BuildRequires: curl-devel
BuildRequires: nss-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-liboauth is a collection of POSIX-c functions implementing the OAuth
+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.
+%description
+liboauth to zbiór funkcji POSIX-C implementujących standard OAuth Core
+wg RFC 5849. liboauth udostępnia funkcje zabezpieczające i kodujące
+parametry zgodnie ze specyfikacją OAuth. Oferuje także funkcje
+wyższego poziomu do podpisywania żądań oraz kontroli podpisów OAuth, a
+także wykonywania żądań HTTP
%package devel
Summary: Development files for liboauth
+Summary(pl.UTF-8): Pliki programistyczne biblioteki liboauth
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: curl-devel
+Requires: nss-devel
+
+%description devel
+This package contains the header files for developing applications
+that use liboauth.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących liboauth.
+
+%package static
+Summary: Static liboauth library
+Summary(pl.UTF-8): Statyczna biblioteka liboauth
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
-%description devel
-This package contains libraries and header files for developing
-applications that use liboauth.
+%description static
+Static liboauth library.
+%description static -l pl.UTF-8
+Statyczna biblioteka liboauth.
%prep
%setup -q
%build
%configure \
- --disable-static \
--enable-nss
%{__make}
@@ -45,7 +68,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/liboauth.la
%clean
rm -rf $RPM_BUILD_ROOT
@@ -56,23 +80,31 @@
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING.MIT README
+%doc AUTHORS COPYING.MIT ChangeLog README
%attr(755,root,root) %{_libdir}/liboauth.so.*.*
%attr(755,root,root) %ghost %{_libdir}/liboauth.so.0
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/liboauth.so
%{_includedir}/oauth.h
-%{_libdir}/liboauth.so
%{_pkgconfigdir}/oauth.pc
%{_mandir}/man3/oauth.3*
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/liboauth.a
+
%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.5 2011/11/24 15:52:41 qboosh
+- pl
+- added -static
+
Revision 1.4 2011/11/22 09:28:49 kiesiu
- updated to 0.9.5
@@ -84,4 +116,3 @@
Revision 1.1 2011/09/01 22:58:11 patrys
- initial PLD release
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/liboauth/liboauth.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list