packages: xmlstarlet/xmlstarlet.spec, xmlstarlet/xmlstarlet-nostatic.patch ...

qboosh qboosh at pld-linux.org
Sun Aug 14 07:25:36 CEST 2011


Author: qboosh                       Date: Sun Aug 14 05:25:36 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.2.1
- removed nostatic patch
- added xmlstarlet link for binary

---- Files affected:
packages/xmlstarlet:
   xmlstarlet.spec (1.5 -> 1.6) , xmlstarlet-nostatic.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/xmlstarlet/xmlstarlet.spec
diff -u packages/xmlstarlet/xmlstarlet.spec:1.5 packages/xmlstarlet/xmlstarlet.spec:1.6
--- packages/xmlstarlet/xmlstarlet.spec:1.5	Sun Feb  6 17:50:55 2011
+++ packages/xmlstarlet/xmlstarlet.spec	Sun Aug 14 07:25:31 2011
@@ -2,18 +2,19 @@
 Summary:	Command Line XML Toolkit
 Summary(pl.UTF-8):	Zestaw obsługiwanych z linii poleceń narzędzi do XML-a
 Name:		xmlstarlet
-Version:	1.0.1
+Version:	1.2.1
 Release:	1
 License:	MIT
 Group:		Applications/Publishing/XML
-Source0:	http://xmlstar.sourceforge.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5:	8deb71834bcdfb4443c258a1f0042fce
-Patch0:		%{name}-nostatic.patch
+Source0:	http://downloads.sourceforge.net/xmlstar/%{name}-%{version}.tar.gz
+# Source0-md5:	575d2b0fc97450c97f4029817a8a787a
 URL:		http://xmlstar.sourceforge.net/
-BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	libxml2-devel >= 1:2.6.12
+BuildRequires:	autoconf >= 2.62
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	libxml2-devel >= 1:2.6.23
 BuildRequires:	libxslt-devel >= 1.1.9
+Requires:	libxml2 >= 1:2.6.23
+Requires:	libxslt >= 1.1.9
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,14 +32,14 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	--disable-silent-rules
 %{__make}
 
 %install
@@ -47,6 +48,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# rename to what is expected, keep "xml" name for compatibility
+ln $RPM_BUILD_ROOT%{_bindir}/xml $RPM_BUILD_ROOT%{_bindir}/xmlstarlet
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -54,6 +58,7 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README Copyright TODO doc/xmlstarlet.txt doc/xmlstarlet.pdf
 %attr(755,root,root) %{_bindir}/xml
+%attr(755,root,root) %{_bindir}/xmlstarlet
 %{_mandir}/man1/xmlstarlet.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -62,6 +67,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/08/14 05:25:31  qboosh
+- updated to 1.2.1
+- removed nostatic patch
+- added xmlstarlet link for binary
+
 Revision 1.5  2011/02/06 16:50:55  sparky
 - unified %clean section
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xmlstarlet/xmlstarlet.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list