diff options
author | tommat | 2007-03-04 15:56:43 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | a734d1123365064f46029790a4f44ca342911ca8 (patch) | |
tree | 224ce2114afd2787aadab55457bc2322783f6a8a | |
download | xmlstarlet-a734d1123365064f46029790a4f44ca342911ca8.zip xmlstarlet-a734d1123365064f46029790a4f44ca342911ca8.tar.gz |
- initial
Changed files:
xmlstarlet.spec -> 1.1
-rw-r--r-- | xmlstarlet.spec | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/xmlstarlet.spec b/xmlstarlet.spec new file mode 100644 index 0000000..7b02004 --- /dev/null +++ b/xmlstarlet.spec @@ -0,0 +1,50 @@ +Summary: Command Line XML Toolkit +Name: xmlstarlet +Version: 1.0.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 +URL: http://xmlstar.sourceforge.net/ +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +XMLStarlet is a set of command line utilities which can be used to +transform, query, validate, and edit XML documents and files using +simple set of shell commands in similar way it is done for plain text +files using UNIX grep, sed, awk, diff, patch, join, etc commands. + +%prep +%setup -q +%patch0 -p1 + +%build +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -fr $RPM_BUILD_ROOT + +%post + +%postun + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README Copyright TODO doc/xmlstarlet.txt doc/xmlstarlet.pdf +%{_mandir}/man1/xmlstarlet.1* +%attr(755,root,root) %{_bindir}/xml |