From e1a2ce2aa876cb1a4028853791a52e2a87d7ab89 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 30 Mar 2009 21:40:14 +0000 Subject: [PATCH 1/4] Initialize branch F-10 for xml2 --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..dc32377 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-10 From 4b4db0bac98dc6b09590beab371028a65af97564 Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Mon, 30 Mar 2009 21:59:56 +0000 Subject: [PATCH 2/4] Initial import on F-10 branch. --- .cvsignore | 1 + import.log | 1 + sources | 1 + xml2.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 import.log create mode 100644 xml2.spec diff --git a/.cvsignore b/.cvsignore index e69de29..5c770fb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xml2-0.4.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..aa02cb5 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xml2-0_4-2_fc10:F-10:xml2-0.4-2.fc10.src.rpm:1238450368 diff --git a/sources b/sources index e69de29..d4a10e2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8a0ef16fe0b3e1495307318c590c1ec0 xml2-0.4.tar.gz diff --git a/xml2.spec b/xml2.spec new file mode 100644 index 0000000..818c3ba --- /dev/null +++ b/xml2.spec @@ -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 - 0.4-2 +- Use macros in Source0 tag. + +* Sat Mar 28 2009 Thomas Moschny - 0.4-1 +- New package. + From 4c001fceef37b80724b3659d5c4a72d0b9d6e3ae Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:34:07 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5fa0cb1..8fa5380 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: xml2 -# $Id$ +# $Id: Makefile,v 1.1 2009/03/30 21:40:12 kevin Exp $ 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 7321f1bfecc96ce16169acd96a09362f4b71b7f0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:55:52 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 8fa5380..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xml2 -# $Id: Makefile,v 1.1 2009/03/30 21:40:12 kevin Exp $ -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 $$d/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) diff --git a/branch b/branch deleted file mode 100644 index dc32377..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-10 diff --git a/import.log b/import.log deleted file mode 100644 index aa02cb5..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -xml2-0_4-2_fc10:F-10:xml2-0.4-2.fc10.src.rpm:1238450368