xgrep/xgrep.spec
2008-02-18 21:40:21 +00:00

69 lines
1.7 KiB
RPMSpec

Name: xgrep
Version: 0.06
Release: 4%{?dist}
Summary: A grep-like utility for XML files
Group: Applications/Publishing
License: GPLv2+
URL: http://www.wohlberg.net/public/software/xml/xgrep/
Source0: http://www.wohlberg.net/public/software/xml/xgrep/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxml2-devel, pcre-devel, imake
%description
XGrep provides facilities for searching content in XML files. The
search is specified either as an XPath via the -x flag, or a custom
syntax including extended regular expressions via the -s flag.
%prep
%setup -q
%build
%configure
make depend
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,-)
%doc README GPL ChangeLog NEWS
%{_bindir}/*
%{_mandir}/*/*
%changelog
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.06-4
- Autorebuild for GCC 4.3
* Sun Oct 7 2007 Brendt Wohlberg <brendt@wohlberg.net> - 0.06-3
- Fixed wrong source tarball in SRPM.
* Sat Sep 29 2007 Brendt Wohlberg <osspkg@gmail.com> - 0.06-2
- Corrected source URL and improved dependency list.
* Fri Sep 14 2007 Brendt Wohlberg <osspkg@gmail.com> - 0.06-1
- Fixed some spec file problems, various minor improvements.
* Sun Jun 25 2006 Brendt Wohlberg <osspkg@gmail.com> - 0.04-1
- Added build dependency on imake
* Sat Sep 3 2005 Brendt Wohlberg <osspkg@gmail.com> - 0.03-1
- Added build dependency on pcre-devel
* Sun Jan 25 2004 Brendt Wohlberg <osspkg@gmail.com> - 0.02-1
- Version 0.02
* Tue Dec 9 2003 Brendt Wohlberg <osspkg@gmail.com> - 0.01-1
- Initial build