Compare commits

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

4 commits

Author SHA1 Message Date
Fedora Release Engineering
7321f1bfec dist-git conversion 2010-07-29 15:55:52 +00:00
Bill Nottingham
4c001fceef Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:34:07 +00:00
Thomas Moschny
4b4db0bac9 Initial import on F-10 branch. 2009-03-30 21:59:56 +00:00
e1a2ce2aa8 Initialize branch F-10 for xml2 2009-03-30 21:40:14 +00:00
5 changed files with 61 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xml2-0.4.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xml2
# $Id$
NAME := xml2
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 @@
8a0ef16fe0b3e1495307318c590c1ec0 xml2-0.4.tar.gz

59
xml2.spec Normal file
View file

@ -0,0 +1,59 @@
Name: xml2
Version: 0.4
Release: 2%{?dist}
Summary: XML/Unix Processing Tools
Group: Applications/Text
License: GPLv2+
URL: http://dan.egnor.name/xml2/
Source0: http://download.ofb.net/gale/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxml-devel
BuildRequires: symlinks
%description
These tools are used to convert XML and HTML to and from a
line-oriented format more amenable to processing by classic Unix
pipeline processing tools, like grep, sed, awk, cut, shell scripts,
and so forth.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
# cleanup symlinks
symlinks -c %{buildroot}%{_bindir}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/2csv
%{_bindir}/2html
%{_bindir}/2xml
%{_bindir}/csv2
%{_bindir}/xml2
%{_bindir}/html2
%doc COPYING
%changelog
* Sat Mar 28 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.4-2
- Use macros in Source0 tag.
* Sat Mar 28 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.4-1
- New package.