[RPM (6.0)] [DIST generic] joni-1.1.3-2.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : joni                         Relocations: (not relocatable)
Version     : 1.1.3                             Vendor: JPackage Project
Release     : 2.jpp6                        Build Date: Sun 12 Aug 2012 01:20:22 PM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Java              Source RPM: (none)
Size        : 134393                           License: MIT
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://svn.codehaus.org/jruby/joni/
Summary     : Java port of the Onigurama Regex Library
Description :
Java port of the Onigurama Regex Library.

---------------
Ralph Apel <r.apel at r-apel.de> 0:1.1.3-2
- Promote to free
---------------
joni.src: W: source-or-patch-not-bzipped joni-pom.patch
joni.src: W: non-standard-group Development/Java
joni.src: W: no-signature
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

---------------
Index: joni-jpp-depmap.xml
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/joni/joni-jpp-depmap.xml,v
retrieving revision 1.2
diff -u -r1.2 joni-jpp-depmap.xml
--- joni-jpp-depmap.xml	30 Jun 2008 15:03:22 -0000	1.2
+++ joni-jpp-depmap.xml	12 Aug 2012 11:24:42 -0000
@@ -13,4 +13,30 @@
    </jpp>
  </dependency>
 
+ <dependency>
+   <maven>
+     <groupId>asm</groupId>
+     <artifactId>asm</artifactId>
+     <version>3.0</version>
+   </maven>
+   <jpp>
+     <groupId>JPP/objectweb-asm</groupId>
+     <artifactId>asm</artifactId>
+     <version>3.1</version>
+   </jpp>
+ </dependency>
+
+ <dependency>
+   <maven>
+     <groupId>org.jruby.jcodings</groupId>
+     <artifactId>jcodings</artifactId>
+     <version>1.0.1</version>
+   </maven>
+   <jpp>
+     <groupId>JPP</groupId>
+     <artifactId>jcodings</artifactId>
+     <version>1.0.2</version>
+   </jpp>
+ </dependency>
+
 </dependencies>
Index: joni.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/joni/joni.spec,v
retrieving revision 1.2
diff -u -r1.2 joni.spec
--- joni.spec	30 Jun 2008 15:03:22 -0000	1.2
+++ joni.spec	12 Aug 2012 11:24:42 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2008, JPackage Project
+# Copyright (c) 2000-2012, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -28,61 +28,56 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
-
 %define section free
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           joni
-Summary:        Java Port of the Onigurama Regex Library
+Summary:        Java port of the Onigurama Regex Library
 Url:            http://svn.codehaus.org/jruby/joni/
-Version:        1.0.2
-Release:        2%{dist}
+Version:        1.1.3
+Release:        2%{?dist}
 Epoch:          0
 License:        MIT
 Group:          Development/Java
-#Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
-#Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
-Source0:        joni-1.0.2.tar.gz
-# svn export http://svn.codehaus.org/jruby/joni/tags/1.0.2/ joni-1.0.2
+Source0:        joni-1.1.3.tar.gz
+# svn export http://svn.codehaus.org/jruby/joni/tags/1.1.3/ joni-1.1.3
 
 Source1:        %{name}-settings.xml
 Source2:        %{name}-jpp-depmap.xml
 Patch0:         %{name}-pom.patch
 
 BuildRequires:  jpackage-utils >= 0:1.7.5
-BuildRequires:  java-devel = 0:1.5.0
+BuildRequires:  java-devel >= 0:1.6.0
 BuildRequires:  maven2
 BuildRequires:  maven2-plugin-compiler
 BuildRequires:  maven2-plugin-install
 BuildRequires:  maven2-plugin-jar
 BuildRequires:  maven2-plugin-javadoc
 BuildRequires:  maven2-plugin-resources
-BuildRequires:  maven-surefire-plugin
-
-Requires:  java >= 0:1.5.0
-
+BuildRequires:  maven-doxia-sitetools
+BuildRequires:  maven-surefire-maven-plugin
+BuildRequires:  maven-surefire-provider-junit3
+BuildRequires:  jcodings
+BuildRequires:  junit
+BuildRequires:  objectweb-asm
+Requires:  java >= 0:1.6.0
+Requires:  jcodings
+Requires:  objectweb-asm
 Requires(post):    jpackage-utils >= 0:1.7.5
 Requires(postun):  jpackage-utils >= 0:1.7.5
 
-%if %{gcj_support}
-BuildRequires:    gnu-crypto
-BuildRequires:          java-gcj-compat-devel
-Requires(post):         java-gcj-compat
-Requires(postun):       java-gcj-compat
-%endif
-%if ! %{gcj_support}
 BuildArch:      noarch
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot
 
 %description
-Java Port of the Onigurama Regex Library.
+Java port of the Onigurama Regex Library.
 
 %package javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
-Requires(post):   /bin/rm,/bin/ln
-Requires(postun): /bin/rm
 
 %description javadoc
 %{summary}.
@@ -98,8 +93,6 @@
 cp %{SOURCE1} settings.xml
 
 %build
-export JAVA_HOME=%{_jvmdir}/java-1.5.0
-
 sed -i -e "s|<url>__JPP_URL_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
 sed -i -e "s|<url>__JAVADIR_PLACEHOLDER__</url>|<url>file://`pwd`/external_repo</url>|g" settings.xml
 sed -i -e "s|<url>__MAVENREPO_DIR_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
@@ -140,57 +133,33 @@
 cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/
 ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
 
-%if %{gcj_support}
-export CLASSPATH=$(build-classpath gnu-crypto)
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post javadoc
-rm -f %{_javadocdir}/%{name}
-ln -s %{name}-%{version} %{_javadocdir}/%{name}
-
-%postun javadoc
-if [ "$1" = "0" ]; then
-  rm -f %{_javadocdir}/%{name}
-fi
-
 %post
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %files
 %defattr(-,root,root)
 %{_javadir}/*.jar
-%{_datadir}/maven2/poms
-%{_mavendepmapfragdir}
-%if %{gcj_support}
-%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/*-%{version}.jar.*
-%endif
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}/*
 
 %files javadoc
 %defattr(-,root,root)
 %doc %{_javadocdir}/%{name}-%{version}
-%ghost %doc %{_javadocdir}/%{name}
+%doc %{_javadocdir}/%{name}
 
 %changelog
+* Sun Aug 12 2012 Ralph Apel <r.apel at r-apel.de> 0:1.1.3-2
+- Promote to free
+
+* Wed Sep 16 2009 Ralph Apel <r.apel at r-apel.de> 0:1.1.3-1
+- 1.1.3
+
 * Mon Jun 30 2008 Ralph Apel <r.apel at r-apel.de> 0:1.0.2-2.jpp5
 - Import
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.