[jena-iri/f16] Initial commit
Tomas Radej
tradej at fedoraproject.org
Tue Sep 20 15:57:34 UTC 2011
commit e5bcf8ea9fd957cd0f081c32a3a5e840e0b906a7
Author: Tomas Radej <tradej at redhat.com>
Date: Tue Sep 20 17:46:10 2011 +0200
Initial commit
.gitignore | 1 +
jena-iri-fixed-assembly-id.patch | 11 ++++
jena-iri.spec | 95 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 108 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..58c4752 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jena-iri-0.8.tar.xz
diff --git a/jena-iri-fixed-assembly-id.patch b/jena-iri-fixed-assembly-id.patch
new file mode 100644
index 0000000..08ce781
--- /dev/null
+++ b/jena-iri-fixed-assembly-id.patch
@@ -0,0 +1,11 @@
+diff --git a/assembly.xml b/assembly.xml
+index cbcbec8..18bde73 100644
+--- a/assembly.xml
++++ b/assembly.xml
+@@ -1,5 +1,5 @@
+ <assembly>
+- <!--<id>dist</id> Makes the name VER.zip -->
++ <id>dist</id> <!-- Makes the name VER.zip -->
+
+ <baseDirectory>IRI-${project.version}</baseDirectory>
+ <formats>
diff --git a/jena-iri.spec b/jena-iri.spec
new file mode 100644
index 0000000..c70bc93
--- /dev/null
+++ b/jena-iri.spec
@@ -0,0 +1,95 @@
+%global parent jena
+%global subname iri
+
+Name: %{parent}-%{subname}
+Version: 0.8
+Release: 4%{?dist}
+BuildArch: noarch
+Summary: The Jena IRI Library
+
+# License is contained in the file Copyright.txt
+License: BSD
+URL: http://jena.sourceforge.net/%{subname}
+# cvs -z3 -d:pserver:anonymous at jena.cvs.sourceforge.net:/cvsroot/jena export -r IRI_0_8 iri
+# tar caf jena-iri-0.8.tar.xz iri
+Source0: %{name}-%{version}.tar.xz
+# Assembly id was commented out
+Patch0: %{name}-fixed-assembly-id.patch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+BuildRequires: maven
+BuildRequires: maven-shared
+BuildRequires: maven-shared-file-management
+BuildRequires: maven-assembly-plugin
+BuildRequires: maven-surefire-provider-junit4
+
+Requires: java
+Requires: jpackage-utils
+
+%description
+The Jena IRI Library is an implementation of RFC 3987 (IRI) and
+RFC 3986 (URI), and a partial implementation of other related standards.
+
+It is incomplete.
+
+%package javadoc
+Summary: API documentation for %{name}
+Group: Documentation
+Requires: jpackage-utils
+
+%description javadoc
+The API documentation of %{name}.
+
+
+%prep
+%setup -qn %{subname}
+%patch0 -p1
+rm -rf doc lib lib-build Patches
+
+%build
+# 14 out of 1313 tests fail on parsing URLs.
+# This happens only with mvn-rpmbuild, not mvn3. I'm investingating this.
+mvn-rpmbuild install javadoc:aggregate -Dmaven.test.failure.ignore
+
+
+%install
+# JAR
+install -Dpm 644 target/%{subname}-%{version}.jar %{buildroot}%{_javadir}/%{parent}/%{subname}.jar
+
+# POM
+install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{parent}-%{subname}.pom
+%add_maven_depmap JPP.%{name}.pom %{parent}/%{subname}.jar
+
+# JavaDoc
+install -Ddm 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+
+%files
+%doc Copyright.txt Jena-IRI-changes.txt RELEASE_NOTES.txt TODO.txt dependencies.txt
+%{_javadir}/%{parent}/%{subname}.jar
+%{_mavenpomdir}/JPP.%{parent}-%{subname}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc Copyright.txt
+%doc %{_javadocdir}/%{name}
+
+
+
+%changelog
+* Mon Sep 19 2011 Tomas Radej <tradej at redhat.com> - 0.8-4
+- Fixed the CVS method command
+- Refreshed source tarball
+
+* Fri Sep 16 2011 Tomas Radej <tradej at redhat.com> - 0.8-3
+- Changed CVS method to export, rather than checkout
+- Removed unnecessary files from javadoc
+
+* Wed Sep 14 2011 Tomas Radej <tradej at redhat.com> - 0.8-2
+- Patched assembly.xml
+
+* Mon Sep 12 2011 Tomas Radej <tradej at redhat.com> - 0.8-1
+- Initial Release
+
diff --git a/sources b/sources
index e69de29..1943c88 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dd5294141f78e5544568d0a44f4ffaf9 jena-iri-0.8.tar.xz
More information about the scm-commits
mailing list