Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
174d74646d | ||
|
|
0cc133046b | ||
| 1e9fa6947c | |||
| 794a2500cf | |||
| f5edac45db |
4 changed files with 59 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
0bf68079840358b3606f7b8833d26857 vecmath-20090922.tar.bz2
|
||||
58
vecmath.spec
Normal file
58
vecmath.spec
Normal 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.
|
||||
Reference in a new issue