]> git.pld-linux.org Git - packages/xmlstarlet.git/blame_incremental - xmlstarlet.spec
- x32 rebuild
[packages/xmlstarlet.git] / xmlstarlet.spec
... / ...
CommitLineData
1Summary: Command Line XML Toolkit
2Summary(pl.UTF-8): Zestaw obsługiwanych z linii poleceń narzędzi do XML-a
3Name: xmlstarlet
4Version: 1.3.1
5Release: 2
6License: MIT
7Group: Applications/Publishing/XML
8Source0: http://downloads.sourceforge.net/xmlstar/%{name}-%{version}.tar.gz
9# Source0-md5: 5173ad3f01ec0ba0d54bd1fbfc057abf
10URL: http://xmlstar.sourceforge.net/
11BuildRequires: autoconf >= 2.62
12BuildRequires: automake >= 1:1.11
13BuildRequires: libxml2-devel >= 1:2.6.27
14BuildRequires: libxslt-devel >= 1.1.9
15Requires: libxml2 >= 1:2.6.27
16Requires: libxslt >= 1.1.9
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
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
32%prep
33%setup -q
34
35%build
36%{__aclocal} -I m4
37%{__autoconf}
38%{__autoheader}
39%{__automake}
40%configure \
41 --disable-silent-rules
42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50# rename to what is expected, keep "xml" name for compatibility
51ln $RPM_BUILD_ROOT%{_bindir}/xml $RPM_BUILD_ROOT%{_bindir}/xmlstarlet
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc AUTHORS ChangeLog NEWS README Copyright TODO doc/xmlstarlet.txt doc/xmlstarlet.pdf
59%attr(755,root,root) %{_bindir}/xml
60%attr(755,root,root) %{_bindir}/xmlstarlet
61%{_mandir}/man1/xmlstarlet.1*
This page took 0.073634 seconds and 4 git commands to generate.