Compare commits
No commits in common. "rawhide" and "f24" have entirely different histories.
5 changed files with 156 additions and 1 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
vecmath-20090922.tar.bz2
|
||||
/vecmath-1.6.0-be715bd.tar.gz
|
||||
/vecmath-1.6.0-41fddda.tar.gz
|
||||
/vecmath-1.5.2.pom
|
||||
|
|
@ -1 +0,0 @@
|
|||
Orphaned for 6+ weeks
|
||||
2
sources
Normal file
2
sources
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
0a82e273f2d1de1811ff6fa65858388f vecmath-1.6.0-41fddda.tar.gz
|
||||
dbb569a1b1974289387c7574996b605e vecmath-1.5.2.pom
|
||||
47
vecmath-javadoc.patch
Normal file
47
vecmath-javadoc.patch
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
diff -up vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/build.xml.javadoc vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/build.xml
|
||||
--- vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/build.xml.javadoc 2013-07-10 18:32:13.000000000 +0200
|
||||
+++ vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/build.xml 2015-09-24 18:24:14.843127653 +0200
|
||||
@@ -76,6 +76,7 @@
|
||||
packagenames="javax.vecmath.*"
|
||||
destdir="${javadoc.dir}"
|
||||
windowtitle="Vecmath ${version_base}">
|
||||
+ <link href="/usr/share/javadoc/vecmath/" />
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
diff -up vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/GVector.java.javadoc vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/GVector.java
|
||||
--- vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/GVector.java.javadoc 2013-07-10 18:32:13.000000000 +0200
|
||||
+++ vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/GVector.java 2015-09-24 18:23:13.080312295 +0200
|
||||
@@ -159,7 +159,7 @@ public class GVector implements java.io.
|
||||
* Constructs a new GVector of the specified length and
|
||||
* initializes it by copying the specified number of elements from
|
||||
* the specified array. The array must contain at least
|
||||
- * <code>length</code> elements (i.e., <code>vector.length</code> >=
|
||||
+ * <code>length</code> elements (i.e., <code>vector.length</code> ≥
|
||||
* <code>length</code>. The length of this new GVector is set to
|
||||
* the specified length.
|
||||
* @param vector The array from which the values will be copied.
|
||||
diff -up vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/Tuple3b.java.javadoc vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/Tuple3b.java
|
||||
--- vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/Tuple3b.java.javadoc 2013-07-10 18:32:13.000000000 +0200
|
||||
+++ vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/Tuple3b.java 2015-09-24 18:23:13.080312295 +0200
|
||||
@@ -36,7 +36,7 @@ package javax.vecmath;
|
||||
* bytes were unsigned.
|
||||
* Values greater than 127 can be assigned to a byte variable using a
|
||||
* type cast. For example:
|
||||
- * <ul>byteVariable = (byte) intValue; // intValue can be > 127</ul>
|
||||
+ * <pre><code>byteVariable = (byte) intValue; // intValue can be > 127</code></pre>
|
||||
* If intValue is greater than 127, then byteVariable will be negative. The
|
||||
* correct value will be extracted when it is used (by masking off the upper
|
||||
* bits).
|
||||
diff -up vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/Tuple4b.java.javadoc vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/Tuple4b.java
|
||||
--- vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/Tuple4b.java.javadoc 2013-07-10 18:32:13.000000000 +0200
|
||||
+++ vecmath-41fddda1a4f430e45bef0154e1fdfe5671025f1e/src/javax/vecmath/Tuple4b.java 2015-09-24 18:23:13.081312292 +0200
|
||||
@@ -36,7 +36,7 @@ package javax.vecmath;
|
||||
* bytes were unsigned.
|
||||
* Values greater than 127 can be assigned to a byte variable using a
|
||||
* type cast. For example:
|
||||
- * <ul>byteVariable = (byte) intValue; // intValue can be > 127</ul>
|
||||
+ * <pre><code>byteVariable = (byte) intValue; // intValue can be > 127</code></pre>
|
||||
* If intValue is greater than 127, then byteVariable will be negative. The
|
||||
* correct value will be extracted when it is used (by masking off the upper
|
||||
* bits).
|
||||
103
vecmath.spec
Normal file
103
vecmath.spec
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
%global commit 41fddda1a4f430e45bef0154e1fdfe5671025f1e
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: vecmath
|
||||
Version: 1.6.0
|
||||
Release: 0.6.20130710git41fddda%{?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: http://github.com/hharrison/vecmath
|
||||
Source0: https://github.com/hharrison/vecmath/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
||||
# missing pom file
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1022506
|
||||
Source1: https://repo1.maven.org/maven2/javax/vecmath/vecmath/1.5.2/vecmath-1.5.2.pom
|
||||
# Fix link to javadoc and javadoc errors
|
||||
Patch0: vecmath-javadoc.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: ant
|
||||
BuildRequires: java-devel >= 1:1.6.0
|
||||
BuildRequires: java-javadoc
|
||||
BuildRequires: javapackages-local
|
||||
|
||||
Requires: java-headless >= 1:1.6.0
|
||||
|
||||
%description
|
||||
The 3D vector math Java package, javax.vecmath.
|
||||
|
||||
%package javadoc
|
||||
Group: Documentation
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}-%{commit}
|
||||
%patch0 -p1
|
||||
sed -e "s|<version>1.5.2</version>|<version>1.6.0</version>|" %{SOURCE1} > %{name}.pom
|
||||
%mvn_file javax.vecmath:vecmath %{name}
|
||||
|
||||
%build
|
||||
%ant
|
||||
|
||||
%install
|
||||
%mvn_artifact %{name}.pom build/jars/%{name}.jar
|
||||
%mvn_install -J build/javadoc
|
||||
|
||||
%files -f .mfiles
|
||||
%doc docs/api-changes* COPYRIGHT.txt LICENSE.txt LICENSE-SPEC.html
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc COPYRIGHT.txt LICENSE.txt LICENSE-SPEC.html
|
||||
|
||||
%changelog
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-0.6.20130710git41fddda
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Sep 24 2015 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> - 1.6.0-0.5.20130710git41fddda
|
||||
- build with maven
|
||||
- re-add maven pom (rhbz#1022506)
|
||||
- fix javadoc errors
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-0.4.20130710git41fddda
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-0.3.20130710git41fddda
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.6.0-0.2.20130710git41fddda
|
||||
- Use Requires: java-headless rebuild (#1067528)
|
||||
|
||||
* Thu Sep 5 2013 Harvey Harrison <harvey.harrison@gmail.com> - 1.6.0-0.1.20130710git41fddda
|
||||
- change upstream source to github
|
||||
- upgrade to 1.6.0
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Sep 07 2012 gil cattaneo <puntogil@libero.it> 1.5.2-1
|
||||
- Use tarball from 1.5.2 tag (no change in source code)
|
||||
- Added maven pom
|
||||
- Adapt to current guideline
|
||||
- Added javadoc sub package
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-5.20090922cvs
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-4.20090922cvs
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-3.20090922cvs
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue