[RPM (6.0)] [DIST generic] jaranalyzer-1.2-1.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : jaranalyzer                  Relocations: (not relocatable)
Version     : 1.2                               Vendor: JPackage Project
Release     : 1.jpp6                        Build Date: Sat 11 Aug 2012 09:32:44 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 664726                           License: BSD-style
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://www.kirkk.com/main/Main/JarAnalyzer
Summary     : Dependency Management Utility
Description :
JarAnalyzer is a dependency management utility for jar files.
It's primary purpose is to traverse through a directory, parse
each of the jar files in that directory, and identify the
dependencies between the jar files. The output is an xml file
representing the PhysicalDependencies between the jar files.

---------------
Ralph Apel <[email protected]> 1.2-1
- 1.2 for JPP-6
---------------
jaranalyzer.src: W: no-signature
jaranalyzer.src: W: mixed-use-of-spaces-and-tabs (spaces: line 37, tab: line 40)
jaranalyzer.src: W: invalid-license BSD-style
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

---------------
Index: jaranalyzer.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jaranalyzer/jaranalyzer.spec,v
retrieving revision 1.1
diff -u -r1.1 jaranalyzer.spec
--- jaranalyzer.spec	28 Jan 2008 15:59:32 -0000	1.1
+++ jaranalyzer.spec	11 Aug 2012 07:33:48 -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,45 +28,37 @@
 # 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
 
 Summary:        Dependency Management Utility
 Name:           jaranalyzer
-Version:        1.1
-Release:        1jpp
+Version:        1.2
+Release:	1%{?dist}
 Epoch:          0
 License:        BSD-style
 URL:            http://www.kirkk.com/main/Main/JarAnalyzer
 Group:          Development/Libraries/Java
-Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
-Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
-Source0:        http://www.kirkk.com/main/zip/JarAnalyzer-src-1.1.zip
-Source1:        jaranalyzer-1.1.script
-Source2:        jaranalyzer-1.1.pom
-Patch0:         jaranalyzer-1.1-build_xml.patch
-BuildRequires:  jpackage-utils >= 0:1.7.4
-BuildRequires:  java-devel = 0:1.5.0
-BuildRequires:  ant >= 0:1.6.5
+Source0:        http://www.kirkk.com/main/zip/JarAnalyzer-src-1.2.zip
+Source1:        jaranalyzer-1.2.script
+Source2:        jaranalyzer-1.2.pom
+BuildRequires:  jpackage-utils >= 0:1.7.5
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  ant >= 0:1.7.1
 BuildRequires:  ant-junit
 BuildRequires:  bcel
 BuildRequires:  regexp
 
 Requires:  bcel
+Requires:  java >= 0:1.6.0
 Requires:  regexp
-%if ! %{gcj_support}
 BuildArch:      noarch
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-%if %{gcj_support}
-BuildRequires:    gnu-crypto
-BuildRequires:    java-gcj-compat-devel
-Requires(post):   java-gcj-compat
-Requires(postun): java-gcj-compat
-%endif
-Requires(post):    jpackage-utils >= 0:1.7.4
-Requires(postun):  jpackage-utils >= 0:1.7.4
+Requires(post):    jpackage-utils >= 0:1.7.5
+Requires(postun):  jpackage-utils >= 0:1.7.5
 
 %description
 JarAnalyzer is a dependency management utility for jar files. 
@@ -78,8 +70,6 @@
 %package javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
-Requires(post):   /bin/rm,/bin/ln
-Requires(postun): /bin/rm
 
 %description javadoc
 Javadoc for %{name}.
@@ -91,12 +81,10 @@
     mv $j $j.no
 done
 
-%patch0 -b .sav
-
 %build
 pushd lib
 ln -sf $(build-classpath regexp) jakarta-regexp-1.3.jar
-ln -sf $(build-classpath bcel) bcel-5.1.jar
+ln -sf $(build-classpath bcel) bcel-5.2.jar
 popd
 
 ant
@@ -127,59 +115,35 @@
 install -m 0644 bin/license.txt \
     $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
-%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(0644,root,root,0755)
 %attr(755,root,root) %{_bindir}/runxmlsummary
 %{_javadir}/*.jar
 %doc %{_docdir}/%{name}-%{version}
-%{_datadir}/maven2
-%{_mavendepmapfragdir}
-%if %{gcj_support}
-%dir %attr(-,root,root) %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
-%endif
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}/*
 
 %files javadoc
 %defattr(0644,root,root,0755)
-%ghost %doc %{_javadocdir}/%{name}
+%doc %{_javadocdir}/%{name}
 %doc %{_javadocdir}/%{name}-%{version}
 
 %changelog
+* Sat Aug 11 2012 Ralph Apel <[email protected]> 1.2-1
+- 1.2 for JPP-6
+
+* Mon Dec 08 2008 Will Tatam <[email protected]> 1.1-2
+- Auto rebuild for JPackage 5 in mock
+
 * Mon Jan 28 2008 Ralph Apel <[email protected]> - 0:1.1-1jpp
 - First JPackage release
 - Add gcj_support option
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.