[RPM (6.0)] [DIST generic] jetbrains-annotations-6.0.2-3.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : jetbrains-annotations        Relocations: (not relocatable)
Version     : 6.0.2                             Vendor: JPackage Project
Release     : 3.jpp6                        Build Date: Sun 12 Aug 2012 10:26:41 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Java              Source RPM: (none)
Size        : 13162                            License: Apache Software License 2.0
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://www.jetbrains.com/idea/documentation/howto.html
Summary     : Jetbrains Annotations
Description :
IntelliJ annotations for nullness.
See also JSR 305.

---------------
Ralph pel <[email protected]> 6.0.2-3
- Rebuild for JPackage 6
---------------
jetbrains-annotations.src: W: non-standard-group Development/Java
jetbrains-annotations.src: W: no-signature
jetbrains-annotations.src: W: mixed-use-of-spaces-and-tabs (spaces: line 37, tab: line 39)
jetbrains-annotations.src: W: invalid-license Apache Software License 2.0
1 packages and 0 specfiles checked; 0 errors, 4 warnings.

---------------
Index: jetbrains-annotations.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jetbrains-annotations/jetbrains-annotations.spec,v
retrieving revision 1.1
diff -u -r1.1 jetbrains-annotations.spec
--- jetbrains-annotations.spec	28 Mar 2008 19:01:32 -0000	1.1
+++ jetbrains-annotations.spec	12 Aug 2012 08:48:13 -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,13 +28,15 @@
 # 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:           jetbrains-annotations
 Version:        6.0.2
-Release:        1jpp
+Release:	3%{?dist}
 Epoch:          0
 Summary:        Jetbrains Annotations
 License:        Apache Software License 2.0
@@ -45,21 +47,12 @@
 Source3:        http://repository.jboss.com/maven2/org/jetbrains/annotations/6.0.2/annotations-6.0.2.pom
 
 Group:          Development/Java
-Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
-Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
-BuildRequires:  jpackage-utils >= 0:1.7.4
-BuildRequires:  java-devel = 0:1.5.0
-BuildRequires:  ant >= 0:1.6.5
-%if ! %{gcj_support}
+BuildRequires:  jpackage-utils >= 0:1.7.5
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  ant >= 0:1.7.1
 BuildArch:      noarch
-%endif
 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
-%if %{gcj_support}
-BuildRequires:    gnu-crypto
-BuildRequires:    java-gcj-compat-devel
-Requires(post):   java-gcj-compat
-Requires(postun): java-gcj-compat
-%endif
+Requires:  java >= 0:1.6.0
 
 %description
 IntelliJ annotations for nullness.
@@ -68,8 +61,6 @@
 %package javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
-Requires(post):   /bin/rm,/bin/ln
-Requires(postun): /bin/rm
 
 %description javadoc
 %{summary}.
@@ -86,7 +77,6 @@
 done
 
 %build
-export JAVA_HOME=%{_jvmdir}/java-1.5.0
 ant -Dbuild.sysclasspath=only release
 
 %install
@@ -111,57 +101,33 @@
 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(0644,root,root,0755)
 %{_javadir}/%{name}*.jar
 %{_datadir}/maven2/poms/*
-%{_mavendepmapfragdir}
-%if %{gcj_support}
-%dir %attr(-,root,root) %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
-%endif
+%{_mavendepmapfragdir}/*
 
 %files javadoc
 %defattr(0644,root,root,0755)
-%{_javadocdir}/%{name}-%{version}
-%ghost %{_javadocdir}/%{name}
+%doc %{_javadocdir}/%{name}-%{version}
+%doc %{_javadocdir}/%{name}
 
 %changelog
+* Sun Aug 12 2012 Ralph pel <[email protected]> 6.0.2-3
+- Rebuild for JPackage 6 
+
+* Mon Dec 08 2008 Will Tatam <[email protected]> 6.0.2-2
+- Auto rebuild for JPackage 5 in mock
+
 * Fri Mar 28 2008 Ralph Apel <r.apel at r-apel.de> - 0:6.0.2-1jpp
 - First JPP release
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.