]> git.pld-linux.org Git - packages/xmlstarlet.git/blame - xmlstarlet.spec
- x32 rebuild
[packages/xmlstarlet.git] / xmlstarlet.spec
CommitLineData
a734d112 1Summary: Command Line XML Toolkit
cd53ec7e 2Summary(pl.UTF-8): Zestaw obsługiwanych z linii poleceń narzędzi do XML-a
a734d112 3Name: xmlstarlet
a53c4431 4Version: 1.3.1
0bf45755 5Release: 2
a734d112 6License: MIT
7Group: Applications/Publishing/XML
dd7a0e15 8Source0: http://downloads.sourceforge.net/xmlstar/%{name}-%{version}.tar.gz
a53c4431 9# Source0-md5: 5173ad3f01ec0ba0d54bd1fbfc057abf
a734d112 10URL: http://xmlstar.sourceforge.net/
dd7a0e15
JB
11BuildRequires: autoconf >= 2.62
12BuildRequires: automake >= 1:1.11
1b37236e 13BuildRequires: libxml2-devel >= 1:2.6.27
20e20a2c 14BuildRequires: libxslt-devel >= 1.1.9
1b37236e 15Requires: libxml2 >= 1:2.6.27
dd7a0e15 16Requires: libxslt >= 1.1.9
a734d112 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20XMLStarlet is a set of command line utilities which can be used to
21transform, query, validate, and edit XML documents and files using
22simple set of shell commands in similar way it is done for plain text
23files using UNIX grep, sed, awk, diff, patch, join, etc commands.
24
cd53ec7e
JB
25%description -l pl.UTF-8
26XMLStarlet to zestaw obsługiwanych z linii poleceń narzędzi, których
27można używać do przekształcania, odpytywania, sprawdzania poprawności
28i modyfikowania dokumentów i plików XML przy użyciu prostego zbioru
29poleceń powłoki podobnie jak robi się to z plikami czysto tekstowymi
30przy użyciu poleceń uniksowych grep, sed, awk, diff, patch, join itp.
31
a734d112 32%prep
33%setup -q
a734d112 34
35%build
dd7a0e15 36%{__aclocal} -I m4
a734d112 37%{__autoconf}
38%{__autoheader}
39%{__automake}
dd7a0e15
JB
40%configure \
41 --disable-silent-rules
a734d112 42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
dd7a0e15
JB
50# rename to what is expected, keep "xml" name for compatibility
51ln $RPM_BUILD_ROOT%{_bindir}/xml $RPM_BUILD_ROOT%{_bindir}/xmlstarlet
52
a734d112 53%clean
b22be719 54rm -rf $RPM_BUILD_ROOT
a734d112 55
a734d112 56%files
57%defattr(644,root,root,755)
58%doc AUTHORS ChangeLog NEWS README Copyright TODO doc/xmlstarlet.txt doc/xmlstarlet.pdf
a734d112 59%attr(755,root,root) %{_bindir}/xml
dd7a0e15 60%attr(755,root,root) %{_bindir}/xmlstarlet
cd53ec7e 61%{_mandir}/man1/xmlstarlet.1*
This page took 0.052008 seconds and 4 git commands to generate.