summaryrefslogtreecommitdiffstats
path: root/gxpp.spec
blob: 70ca078875c4c504070b63d62d6a970e01b0eaf0 (plain)
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
Name:           gxpp
Version:        1.0
Release:        2%{?dist}
Summary:        Simple XPath command line tools

Group:          QA
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0:        gxpp-%{version}.tar.bz2
BuildRequires:	libxml2-devel


%description
This is a set of simple but powerful tools to query and manipulate
XML files using XPath expressions.

%prep
%setup -q -c


%build
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
/usr/bin/gxpp
/usr/bin/gxpd
/usr/bin/gxpm
%doc %{_mandir}/man?/*


%changelog
* Mon Aug 04 2008  1.0-1
- Initial packaging