File: xmlstarlet.spec

package info (click to toggle)
xmlstarlet 1.0.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 2,164 kB
  • ctags: 389
  • sloc: ansic: 4,578; sh: 3,109; xml: 1,821; makefile: 92
file content (48 lines) | stat: -rw-r--r-- 952 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Name: xmlstarlet
Summary: Command Line XML Toolkit
Version: 1.0.1
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 libxslt-devel
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