Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
b639ecad3f dist-git conversion 2010-07-29 14:56:59 +00:00
Bill Nottingham
f12d78c09a Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:13:05 +00:00
bf253dd431 Use bz2 source instead of xz which doesn't work on EPEL. 2009-09-30 09:49:11 +00:00
1241c41d4f Import in Fedora. 2009-09-30 09:33:02 +00:00
d97202e180 Initialize branch F-11 for vecmath 2009-09-29 20:10:03 +00:00
4 changed files with 59 additions and 21 deletions

View file

View file

@ -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 $$/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 @@
0bf68079840358b3606f7b8833d26857 vecmath-20090922.tar.bz2

58
vecmath.spec Normal file
View file

@ -0,0 +1,58 @@
%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.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: ant
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
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 <jussilehtola@fedoraproject.org> - 0-2.20090922cvs
- Minor review fixes.
* Tue Sep 22 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-1.20090922cvs
- First release.