[RPM (6.0)] [DIST generic] jibx-1.2.3-5.jpp6

Ralph Apel <[email protected]> Sat, 15 Dec 2012 20:27:56 +0100
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : jibx                         Relocations: (not relocatable)
Version     : 1.2.3                             Vendor: JPackage Project
Release     : 5.jpp6                        Build Date: Sat 15 Dec 2012 08:15:00 PM CET
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Text Processing/Markup/XML    Source RPM: (none)
Size        : 16723568                         License: Public Domain
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://jibx.sourceforge.net/
Summary     : JiBX is a framework for binding XML data to Java objects.
Description :
JiBX is a framework for binding XML data to Java objects. It lets you
work with data from XML documents using your own class structures.

---------------
Ralph Apel <r.apel at r-apel.de> 0:1.2.3-5
- Add parent poms
- Drop gcj support
---------------
jibx.src: W: summary-ended-with-dot JiBX is a framework for binding XML data to Java objects.
jibx.src: W: strange-permission jibx-extras-1.2.3.pom 0675
jibx.src: W: strange-permission jibx-schema-1.2.3.pom 0675
jibx.src: W: strange-permission jibx-bind-1.2.3.pom 0675
jibx.src: W: strange-permission jibx_1_2_3.zip 0675
jibx.src: W: strange-permission jibx-run-1.2.3.pom 0675
jibx.src: W: strange-permission jibx.spec 0675
jibx.src: W: strange-permission jibx-tools-1.2.3.pom 0675
jibx.src: W: no-signature
jibx.src: W: name-repeated-in-summary JiBX
1 packages and 0 specfiles checked; 0 errors, 10 warnings.

---------------
Index: jibx.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jibx/jibx.spec,v
retrieving revision 1.5
diff -u -r1.5 jibx.spec
--- jibx.spec	17 Jun 2012 11:26:55 -0000	1.5
+++ jibx.spec	15 Dec 2012 19:27:54 -0000
@@ -28,8 +28,6 @@
 # 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
@@ -38,7 +36,7 @@
 
 Name:           jibx
 Version:        1.2.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Epoch:          0
 Summary:        JiBX is a framework for binding XML data to Java objects.
 License:        Public Domain
@@ -50,6 +48,8 @@
 Source3:        http://repo1.maven.org/maven2/org/jibx/jibx-run/1.2.3/jibx-run-1.2.3.pom
 Source4:        http://repo1.maven.org/maven2/org/jibx/jibx-schema/1.2.3/jibx-schema-1.2.3.pom
 Source5:        http://repo1.maven.org/maven2/org/jibx/jibx-tools/1.2.3/jibx-tools-1.2.3.pom
+Source6:        http://repo1.maven.org/maven2/org/jibx/config/main-reactor/1.2.3/main-reactor-1.2.3.pom
+Source7:        http://repo1.maven.org/maven2/org/jibx/config/jibx-parent/1/jibx-parent-1.pom
 
 BuildRequires:  jpackage-utils >= 0:1.7.5
 BuildRequires:  java-devel >= 0:1.6.0
@@ -69,12 +69,6 @@
 BuildRequires:  wstx
 BuildRequires:  xpp3
 
-%if %{gcj_support}
-BuildRequires:    java-gcj-compat-devel
-Requires(post):   java-gcj-compat
-Requires(postun): java-gcj-compat
-%endif
-
 Requires:       java >= 0:1.6.0
 Requires:       bcel
 Requires:       dom4j
@@ -88,9 +82,7 @@
 Requires(post):    jpackage-utils >= 0:1.7.5
 Requires(postun):  jpackage-utils >= 0:1.7.5
 
-%if ! %{gcj_support}
 BuildArch:      noarch
-%endif
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
 
@@ -179,6 +171,8 @@
 %add_to_maven_depmap jibx %{name}-schema %{version} JPP/%{name} schema
 %add_to_maven_depmap org.jibx %{name}-tools %{version} JPP/%{name} tools
 %add_to_maven_depmap jibx %{name}-tools %{version} JPP/%{name} tools
+%add_to_maven_depmap org.jibx.config main-reactor %{version} JPP/%{name} main-reactor
+%add_to_maven_depmap org.jibx.config %{name}-parent %{version} JPP/%{name} parent
 
 # create unprefixed and unversioned symlinks
 (cd $RPM_BUILD_ROOT%{_javadir}/%{name}
@@ -197,6 +191,10 @@
     $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-schema.pom
 install -m 644 %{SOURCE5} \
     $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-tools.pom
+install -m 644 %{SOURCE6} \
+    $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-main-reactor.pom
+install -m 644 %{SOURCE7} \
+    $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-parent.pom
 
 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 cp -pr docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/
@@ -206,30 +204,14 @@
 install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 cp -pr docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
 
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %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(0644,root,root,0755)
@@ -241,10 +223,6 @@
 
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}/*
-%if %{gcj_support}
-%dir %attr(-,root,root) %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/*-%{version}.jar.*
-%endif
 
 %files tools
 %defattr(0644,root,root,0755)
@@ -260,6 +238,10 @@
 %doc %{_docdir}/%{name}-%{version}
 
 %changelog
+* Sat Dec 15 2012 Ralph Apel <r.apel at r-apel.de> 0:1.2.3-5
+- Add parent poms
+- Drop gcj support
+
 * Sun Jun 17 2012 Ralph Apel <r.apel at r-apel.de> 0:1.2.3-4
 - Avoid FileDigest and PayloadIsXz problems on EL5