From d97202e180d9cba48e9613c5a312a4a763f71f0e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 29 Sep 2009 20:10:03 +0000 Subject: [PATCH 1/5] Initialize branch F-11 for vecmath --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..25c7708 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-11 From 1241c41d4f3cb013a78850f2230fd866f0cd9e48 Mon Sep 17 00:00:00 2001 From: Jussi Lehtola Date: Wed, 30 Sep 2009 09:33:02 +0000 Subject: [PATCH 2/5] Import in Fedora. --- sources | 1 + vecmath.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 vecmath.spec diff --git a/sources b/sources index e69de29..8a83648 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f4ade6e893a52ff15998066bfeb0ad1f vecmath-20090922.tar.xz diff --git a/vecmath.spec b/vecmath.spec new file mode 100644 index 0000000..c7ec852 --- /dev/null +++ b/vecmath.spec @@ -0,0 +1,60 @@ +%global tardate 20090922 + +Name: vecmath +Version: 0 +Release: 2.%{tardate}cvs%{?dist} +Summary: The 3D vector math Java package, javax.vecmath +Group: Development/Libraries +# License is GNU General Public License, version 2, with the Classpath Exception +License: GPLv2 with exceptions +URL: https://vecmath.dev.java.net/ +## Source pulled from upstream CVS. +# https://vecmath.dev.java.net/servlets/ProjectSource +## Tarball created with +## (you need to create a username) +# cvs -d :pserver:username@cvs.dev.java.net:/cvs login +# cvs -d :pserver:username@cvs.dev.java.net:/cvs checkout vecmath +# tar cf vecmath-%{tardate}.tar vecmath +# xz vecmath-%{tardate}.tar +Source0: %{name}-%{tardate}.tar.xz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch + +BuildRequires: ant +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: jpackage-utils +# For EPEL 5 +BuildRequires: xz + +Requires: java >= 1:1.6.0 +Requires: jpackage-utils + +%description +The 3D vector math Java package, javax.vecmath. + +%prep +%setup -q -n %{name} +find -name '*.class' -exec rm -f '{}' \; +find -name '*.jar' -exec rm -f '{}' \; + +%build +ant + +%install +rm -rf %{buildroot} +install -D -p -m 644 build/debug/lib/ext/vecmath.jar %{buildroot}%{_javadir}/vecmath.jar + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc docs/api-changes* LICENSE.txt LICENSE-SPEC.html +%{_javadir}/vecmath.jar + +%changelog +* Mon Sep 28 2009 Jussi Lehtola - 0-2.20090922cvs +- Minor review fixes. + +* Tue Sep 22 2009 Jussi Lehtola - 0-1.20090922cvs +- First release. From bf253dd431c4a8af6407b775c88727eaab2fe432 Mon Sep 17 00:00:00 2001 From: Jussi Lehtola Date: Wed, 30 Sep 2009 09:49:11 +0000 Subject: [PATCH 3/5] Use bz2 source instead of xz which doesn't work on EPEL. --- sources | 2 +- vecmath.spec | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sources b/sources index 8a83648..6b6bd4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f4ade6e893a52ff15998066bfeb0ad1f vecmath-20090922.tar.xz +0bf68079840358b3606f7b8833d26857 vecmath-20090922.tar.bz2 diff --git a/vecmath.spec b/vecmath.spec index c7ec852..98098e4 100644 --- a/vecmath.spec +++ b/vecmath.spec @@ -16,15 +16,13 @@ URL: https://vecmath.dev.java.net/ # cvs -d :pserver:username@cvs.dev.java.net:/cvs checkout vecmath # tar cf vecmath-%{tardate}.tar vecmath # xz vecmath-%{tardate}.tar -Source0: %{name}-%{tardate}.tar.xz +Source0: %{name}-%{tardate}.tar.bz2 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: ant BuildRequires: java-devel >= 1:1.6.0 BuildRequires: jpackage-utils -# For EPEL 5 -BuildRequires: xz Requires: java >= 1:1.6.0 Requires: jpackage-utils From f12d78c09a01e7d22f33085bb2fbe7f6769d7c82 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:13:05 +0000 Subject: [PATCH 4/5] 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 a71f501..b3b3f34 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := vecmath 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 b639ecad3f849553d11049cdf808fd29d5254b74 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:56:59 +0000 Subject: [PATCH 5/5] 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 b3b3f34..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: vecmath -# $Id$ -NAME := vecmath -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 25c7708..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-11