Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3197813e4 | ||
|
|
16f06b3d93 | ||
|
|
58e63656b4 | ||
| 43f9708fa4 |
5 changed files with 68 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
xgrep-0.06.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
eca0ebe4f25caff7b72d61ded622a23d xgrep-0.06.tar.gz
|
||||
66
xgrep.spec
Normal file
66
xgrep.spec
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue