From b50741dc97291874e3d1b20f6ec3875055dbdbda Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 30 Jan 2009 06:41:19 +0000 Subject: [PATCH 1/4] Initialize branch F-10 for xmlenc --- 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 1f12ebf8bee3bb40e592edb3fa5ac886b75d5eb3 Mon Sep 17 00:00:00 2001 From: Fabian Deutsch Date: Sun, 1 Feb 2009 18:27:20 +0000 Subject: [PATCH 2/4] Included xmelnc in F-10 branch. --- sources | 1 + xmlenc.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 xmlenc.spec diff --git a/sources b/sources index e69de29..5208a6f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +32f631dca735574c9ad8164ee05dc05f xmlenc-0.52.tgz diff --git a/xmlenc.spec b/xmlenc.spec new file mode 100644 index 0000000..bc054b9 --- /dev/null +++ b/xmlenc.spec @@ -0,0 +1,89 @@ +Name: xmlenc +Version: 0.52 +Release: 5%{?dist} +Summary: Light-weight XML output library for Java + +Group: Development/Libraries +License: BSD +URL: http://xmlenc.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: jpackage-utils +BuildRequires: ant +BuildRequires: ant-junit +BuildRequires: junit + +Requires: java >= 1:1.6.0 +Requires: jpackage-utils +BuildArch: noarch + +%description +This library is a fast stream-based XML output library for Java. +Main design goals are performance, simplicitity and pureness. + + +%package javadoc +Summary: Javadocs for %{name} +Group: Documentation +Requires: %{name} = %{version}-%{release} +Requires: jpackage-utils + +%description javadoc +This package contains the API documentation for %{name} + + +%prep +%setup -q +find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \; +rm -Rf build/* + + +%build +ant \ + -Djavac.targetvm=1.5 \ + all + + +%install +rm -rf %{buildroot} +install -d -m 755 %{buildroot}%{_javadir}/ +cp -pR build/%{name}.jar %{buildroot}%{_javadir}/ + +install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version} +cp -pR build/javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version}/ + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_javadir}/* +%doc CHANGES COPYRIGHT README THANKS + + +%files javadoc +%defattr(-,root,root,-) +%{_javadocdir}/%{name}-%{version} + + +%changelog +* Tue Jan 29 2009 Fabian Deutsch 0.52-5 +- URL now follows standards + +* Wed Jan 28 2009 Fabian Deutsch 0.52-4 +- Group name fix +- Spec-file cleanup + +* Mon Jan 26 2009 Fabian Deutsch 0.52-3 +- Small javac.targetvm build fix + +* Mon Jan 26 2009 Fabian Deutsch 0.52-2 +- Added dependencies +- Small fixes + +* Wed Jan 21 2009 Fabian Deutsch 0.52-1 +- Initial package. From f74a2ac49b5ed46f2cb2d3832d8187ccc307dfb7 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:34:15 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 345105b..8e32460 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := xmlenc 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 9496f287c872fd0a92f298d8974d1064303e7eb2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:56:14 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch 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 8e32460..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xmlenc -# $Id$ -NAME := xmlenc -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