summaryrefslogtreecommitdiff
path: root/xmlstarlet.spec.in
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
commit4732847654ed74ed893b7ea088805832fd91cc18 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /xmlstarlet.spec.in
downloadxmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.gz
xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.bz2
xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.zip
Diffstat (limited to 'xmlstarlet.spec.in')
-rw-r--r--xmlstarlet.spec.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/xmlstarlet.spec.in b/xmlstarlet.spec.in
new file mode 100644
index 0000000..064b45b
--- /dev/null
+++ b/xmlstarlet.spec.in
@@ -0,0 +1,49 @@
+Name: @PACKAGE@
+Summary: Command Line XML Toolkit
+Version: @VERSION@
+Release: 1
+License: MIT
+Group: Text Tools
+Source0: http://xmlstar.sourceforge.net/downloads/xmlstarlet-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: libxml2-devel >= @LIBXML_REQUIRED_VERSION@
+BuildRequires: libxslt-devel >= @LIBXSLT_REQUIRED_VERSION@
+URL: http://xmlstar.sourceforge.net/
+Prefix: %{_prefix}
+Docdir: %{_docdir}
+
+%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
+
+%build
+%configure
+make
+
+%install
+rm -fr %{buildroot}
+
+%makeinstall
+
+%clean
+rm -fr %{buildroot}
+
+%post
+
+%postun
+
+%files
+%defattr(-, root, root)
+
+%doc AUTHORS ChangeLog NEWS README Copyright TODO doc/xmlstarlet.txt doc/xmlstarlet.pdf
+%doc %{_mandir}/man1/xmlstarlet.1*
+
+%{prefix}/bin/xml
+%changelog
+