SPECS: uriparser.spec (NEW) - new but patched to contain shared li...
arekm
arekm at pld-linux.org
Thu Apr 19 11:14:52 CEST 2007
Author: arekm Date: Thu Apr 19 09:14:52 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new but patched to contain shared library
---- Files affected:
SPECS:
uriparser.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/uriparser.spec
diff -u /dev/null SPECS/uriparser.spec:1.1
--- /dev/null Thu Apr 19 11:14:52 2007
+++ SPECS/uriparser.spec Thu Apr 19 11:14:46 2007
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+Summary: A strictly RFC 3986 compliant URI parsing library
+Name: uriparser
+Version: 0.3.3
+Release: 1
+License: BSD
+Group: Libraries
+Source0: http://dl.sourceforge.net/uriparser/%{name}-%{version}.tar.gz
+# Source0-md5: 81bba5d493a977fc90dfd81fd361a5a7
+Patch0: %{name}-libtool.patch
+URL: http://uriparser.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+uriparser is a strictly RFC 3986 compliant URI parsing library.
+uriparser is cross-platform, fast, supports Unicode.
+
+%package devel
+Summary: Header files and develpment documentation for uriparser
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files and develpment documentation for uriparser.
+
+%package static
+Summary: Static uriparser library
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static uriparser library.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__automake}
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*.{htm,txt} AUTHORS ChangeLog
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/*
+%{_libdir}/*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.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.1 2007/04/19 09:14:46 arekm
+- new but patched to contain shared library
+
================================================================
More information about the pld-cvs-commit
mailing list