[RPM (6.0)] [DIST generic] java-cup-0.11-0.a.3.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : java-cup                     Relocations: (not relocatable)
Version     : 0.11                              Vendor: JPackage Project
Release     : 0.a.3.jpp6                    Build Date: Sat 28 Jul 2012 10:08:35 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Java              Source RPM: (none)
Size        : 314326                           License: BSD
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://www2.cs.tum.edu/projects/cup/
Summary     : LALR Parser Generator in Java
Description :
java-cup is a LALR Parser Generator in Java.

---------------
Ralph Apel <[email protected]> 0.11-0.a.3
- rebuild for JPP6
- add pom and depmap frag
---------------
java-cup.src: W: source-or-patch-not-bzipped java-cup-javadoc.patch
java-cup.src: W: source-or-patch-not-bzipped java-cup-no-cup-no-jflex.patch
java-cup.src: W: source-or-patch-not-bzipped java-cup-no-classpath-in-manifest.patch
java-cup.src: W: source-or-patch-not-bzipped java-cup-classpath.patch
java-cup.src: W: source-or-patch-not-bzipped java-cup-lr_parser-constructor.patch
java-cup.src: W: non-standard-group Development/Java
java-cup.src: W: no-signature
java-cup.src:167: W: libdir-macro-in-noarch-package (main package) %dir %{_libdir}/gcj/%{name}
java-cup.src:168: W: libdir-macro-in-noarch-package (main package) %attr(-,root,root) %{_libdir}/gcj/%{name}/*
1 packages and 0 specfiles checked; 0 errors, 9 warnings.

---------------
Index: java-cup.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/java-cup/java-cup.spec,v
retrieving revision 1.2
diff -u -r1.2 java-cup.spec
--- java-cup.spec	28 Jul 2008 19:54:59 -0000	1.2
+++ java-cup.spec	28 Jul 2012 08:10:15 -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
@@ -38,10 +38,14 @@
 %define section            free
 %define gcj_support        0
 %define cvs_version        11a
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           java-cup
 Version:        0.11
-Release:        0.a.2%{?dist}
+Release:        0.a.3%{?dist}
 Epoch:          2
 Summary:        LALR Parser Generator in Java
 License:        BSD
@@ -50,18 +54,19 @@
 Source0:        develop.tar.bz2
 Source1:        java-cup.script
 Source2:        java-cup-generated-files.tar.bz2
+Source3:        java-cup-11a.pom
 Patch0:         java-cup-javadoc.patch
 Patch1:         java-cup-no-classpath-in-manifest.patch
 Patch2:         java-cup-no-cup-no-jflex.patch
 Patch3:         java-cup-classpath.patch
 # Missing symbolFactory initialization in lr_parser, causes sinjdoc to crash
 Patch4:         java-cup-lr_parser-constructor.patch
-BuildRequires:  ant
+BuildRequires:  ant >= 0:1.7.1
 %if %without bootstrap
 BuildRequires:  java-cup
 BuildRequires:  jflex
 %endif
-BuildRequires:  java-devel
+BuildRequires:  java-devel >= 0:1.6.0
 Obsoletes:      java_cup < %{epoch}:%{version}-%{release}
 Provides:       java_cup = %{epoch}:%{version}-%{release}
 Group:          Development/Java
@@ -123,6 +128,10 @@
 %{__cp} -a dist/%{name}-%{cvs_version}-runtime.jar %{buildroot}%{_javadir}/%{name}-runtime-%{version}.jar
 (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do %{__ln_s} ${jar} ${jar/-%{version}/}; done)
 
+%{__mkdir_p} %{buildroot}%{_datadir}/maven2/poms
+%{__cp} %{SOURCE3} %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
+%add_to_maven_depmap edu.princeton.cup %{name} %{version} JPP %{name}
+
 # compatibility symlinks
 (cd %{buildroot}%{_javadir} && %{__ln_s} %{name}.jar java_cup.jar && %{__ln_s} %{name}-runtime.jar java_cup-runtime.jar)
 
@@ -141,11 +150,19 @@
 %clean
 %{__rm} -rf %{buildroot}
 
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
 %files
 %defattr(0644,root,root,0755)
 %doc changelog.txt
 %attr(0755,root,root) %{_bindir}/%{name}
 %{_javadir}/*
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}/*
 %if %{gcj_support}
 %dir %{_libdir}/gcj/%{name}
 %attr(-,root,root) %{_libdir}/gcj/%{name}/*
@@ -161,6 +178,10 @@
 %{_javadocdir}/%{name}
 
 %changelog
+* Sat Jul 28 2012 Ralph Apel <[email protected]> 0.11-0.a.3
+- rebuild for JPP6
+- add pom and depmap frag
+
 * Mon Jul 28 2008 David Walluckd <[email protected]> 0.11-0.a.2
 - build as non-bootstrap
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.