Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
a3197813e4 dist-git conversion 2010-07-29 15:52:25 +00:00
Bill Nottingham
16f06b3d93 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:33:16 +00:00
brendt
58e63656b4 Initial xgrep spec file commit. 2007-10-11 01:26:49 +00:00
43f9708fa4 Initialize branch F-7 for xgrep 2007-10-10 22:22:37 +00:00
5 changed files with 68 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xgrep-0.06.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xgrep
# $Id$
NAME := xgrep
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
eca0ebe4f25caff7b72d61ded622a23d xgrep-0.06.tar.gz

66
xgrep.spec Normal file
View file

@ -0,0 +1,66 @@
Name: xgrep
Version: 0.06
Release: 3%{?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
* 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