[RPM (6.0)] [DIST generic] apache-commons-net-2.2-1.jpp6
Ralph Apel <[email protected]>
| Newsgroups | gmane.linux.jpackage.announce |
|---|---|
| Message-ID | <[email protected]> |
Name : apache-commons-net Relocations: (not relocatable) Version : 2.2 Vendor: JPackage Project Release : 1.jpp6 Build Date: Sun 19 Aug 2012 12:39:32 AM CEST Install Date: (not installed) Build Host: linux.fritz.box Group : Development/Libraries/Java Source RPM: (none) Size : 345059 License: Apache Software License 2.0 Signature : (none) Packager : Ralph Apel <[email protected]> URL : http://commons.apache.org/net/ Summary : Apache Commons Net Package Description : This is an Internet protocol suite Java library originally developed by ORO, Inc. This version supports Finger, Whois, TFTP, Telnet, POP3, FTP, NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well as BSD R command support. The purpose of the library is to provide fundamental protocol access, not higher-level abstractions. --------------- Ralph Apel <r.apel at r-apel.de> - 0:2.2-1 - 2.2 --------------- apache-commons-net.src: W: source-or-patch-not-bzipped apache-commons-net-2.2.tgz apache-commons-net.src: W: no-signature apache-commons-net.src: W: invalid-license Apache Software License 2.0 1 packages and 0 specfiles checked; 0 errors, 3 warnings. --------------- Index: apache-commons-net-jpp-depmap.xml =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/apache-commons-net/apache-commons-net-jpp-depmap.xml,v retrieving revision 1.1 diff -u -r1.1 apache-commons-net-jpp-depmap.xml --- apache-commons-net-jpp-depmap.xml 6 Sep 2010 08:25:26 -0000 1.1 +++ apache-commons-net-jpp-depmap.xml 19 Aug 2012 06:23:50 -0000 @@ -1,16 +1,69 @@ <dependencies> - <dependency> - <maven> - <groupId>xmlpull</groupId> - <artifactId>xmlpull</artifactId> - <version>1.1.3.1</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>xpp3</artifactId> - <version>1.1.3.8</version> - </jpp> - </dependency> +<dependency> + <maven> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jdepend-maven-plugin</artifactId> + <version>2.0-beta-3-SNAPSHOT</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>jdepend-maven-plugin</artifactId> + <version>2.0-beta-3-SNAPSHOT</version> + </jpp> +</dependency> + +<dependency> + <maven> + <groupId>org.apache.velocity</groupId> + <artifactId>velocity</artifactId> + <version>1.4</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>velocity14</artifactId> + <version>1.4</version> + </jpp> +</dependency> + +<dependency> + <maven> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.7</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>mojo-build-helper-maven-plugin</artifactId> + <version>1.7</version> + </jpp> +</dependency> + +<dependency> + <maven> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.2</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>mojo-findbugs-maven-plugin</artifactId> + <version>2.2</version> + </jpp> +</dependency> + +<dependency> + <maven> + <groupId>org.codehaus.mojo</groupId> + <artifactId>clirr-maven-plugin</artifactId> + <version>2.4</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>mojo-clirr-maven-plugin</artifactId> + <version>2.4</version> + </jpp> +</dependency> + <dependency> <maven> <groupId>net.sf.clirr</groupId> @@ -23,125 +76,6 @@ <version>0.6</version> </jpp> </dependency> - <dependency> - <maven> - <groupId>maven</groupId> - <artifactId>dom4j</artifactId> - <version>1.7-20060614</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>dom4j</artifactId> - <version>1.6.1</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>ant</groupId> - <artifactId>ant-trax</artifactId> - <version>1.6.5</version> - </maven> - <jpp> - <groupId>JPP/ant</groupId> - <artifactId>ant-trax</artifactId> - <version>1.7.1</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>maven</groupId> - <artifactId>commons-jelly</artifactId> - <version>1.0.1-20060717</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>commons-jelly</artifactId> - <version>1.0.1</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>commons-jelly</groupId> - <artifactId>commons-jelly-tags-ant</artifactId> - <version>1.1</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>commons-jelly-tags-ant</artifactId> - <version>1.1</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>commons-jelly</groupId> - <artifactId>commons-jelly-tags-define</artifactId> - <version>1.0</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>commons-jelly-tags-define</artifactId> - <version>1.0</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>commons-jelly</groupId> - <artifactId>commons-jelly-tags-util</artifactId> - <version>1.1.1</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>commons-jelly-tags-util</artifactId> - <version>1.1.1</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>commons-jelly</groupId> - <artifactId>commons-jelly-tags-xml</artifactId> - <version>1.1</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>commons-jelly-tags-xml</artifactId> - <version>1.1</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>xml-resolver</groupId> - <artifactId>xml-resolver</artifactId> - <version>1.1</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>xml-commons-resolver11</artifactId> - <version>1.1</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>com.bea.xml</groupId> - <artifactId>jsr173-ri</artifactId> - <version>1.0</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>bea-stax-ri</artifactId> - <version>1.0</version> - </jpp> - </dependency> - <dependency> - <maven> - <groupId>jdepend</groupId> - <artifactId>jdepend</artifactId> - <version>2.9.1</version> - </maven> - <jpp> - <groupId>JPP</groupId> - <artifactId>jdepend</artifactId> - <version>2.9.1</version> - </jpp> - </dependency> - +<!-- +--> </dependencies> Index: apache-commons-net.spec =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/apache-commons-net/apache-commons-net.spec,v retrieving revision 1.5 diff -u -r1.5 apache-commons-net.spec --- apache-commons-net.spec 8 Dec 2010 22:51:48 -0000 1.5 +++ apache-commons-net.spec 19 Aug 2012 06:23:50 -0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2000-2010, JPackage Project +# Copyright (c) 2000-2012, JPackage Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -37,19 +37,16 @@ %define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} %bcond_without maven -%bcond_with gcj_support %bcond_without repolib %bcond_without tests -%if %with gcj_support -%define gcj_support 1 -%else -%define gcj_support 0 -%endif - %define base_name net %define short_name commons-%{base_name} %define section free +%define _binary_payload w9.gzdio +%define _source_payload w9.gzdio +%define _binary_filedigest_algorithm 1 +%define _source_filedigest_algorithm 1 %define repodir %{_javadir}/repository.jboss.com/apache-%{base_name}/%{version}-brew %define repodirlib %{repodir}/lib @@ -57,26 +54,24 @@ %define repodirsrc %{repodir}/src Name: apache-commons-net -Version: 2.0 -Release: 6%{?dist} +Version: 2.2 +Release: 1%{?dist} Epoch: 0 Summary: Apache Commons Net Package License: Apache Software License 2.0 Group: Development/Libraries/Java Url: http://commons.apache.org/net/ -Source0: http://www.apache.org/dist/commons/net/source/commons-net-2.0-src.tar.gz +Source0: apache-commons-net-2.2.tgz +# svn export http://svn.apache.org/repos/asf/commons/proper/net/tags/NET_2_2/ apache-commons-net-2.2 & tar czf apache-commons-net-2.2.tgz apache-commons-net-2.2/ Source1: %{name}-settings.xml Source2: %{name}-jpp-depmap.xml Source3: %{name}-component-info.xml Source4: commons-net-build.xml Source5: commons-net-maven-build.xml Source6: commons-net-maven-build.properties -Patch0: commons-net-pom.patch -Patch1: commons-net-FTP-compat.patch BuildRequires: jpackage-utils >= 0:1.7.5 BuildRequires: java-devel >= 0:1.6.0 -BuildRequires: liberation-fonts -BuildRequires: ant >= 0:1.7 +BuildRequires: ant >= 0:1.7.1 %if ! %without tests BuildRequires: ant-junit %endif @@ -86,23 +81,27 @@ %if %with maven BuildRequires: apache-commons-parent >= 0:12 BuildRequires: maven2 >= 0:2.0.8 -BuildRequires: maven-surefire-maven-plugin -BuildRequires: maven-surefire-provider-junit +BuildRequires: maven-surefire-plugin +BuildRequires: maven-surefire-provider-junit4 BuildRequires: maven2-plugin-antrun BuildRequires: maven2-plugin-assembly +BuildRequires: maven2-plugin-changes BuildRequires: maven2-plugin-compiler BuildRequires: maven2-plugin-idea BuildRequires: maven2-plugin-install BuildRequires: maven2-plugin-jar BuildRequires: maven2-plugin-javadoc BuildRequires: maven2-plugin-resources -BuildRequires: maven2-default-skin -BuildRequires: mojo-maven2-plugin-clirr +BuildRequires: maven-skins +BuildRequires: mojo-build-helper-maven-plugin +BuildRequires: mojo-clirr-maven-plugin +BuildRequires: mojo-findbugs-maven-plugin +BuildRequires: mojo-maven2-plugin-rat +BuildRequires: jdepend-maven-plugin +BuildRequires: commons-build-plugin %endif -%if ! %{gcj_support} BuildArch: noarch -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Provides: %{short_name} = %{epoch}:%{version}-%{release} Obsoletes: %{short_name} < %{epoch}:%{version}-%{release} @@ -112,11 +111,6 @@ Requires(postun): jpackage-utils >= 0:1.7.5 Requires: java >= 0:1.6.0 Requires: oro >= 0:2.0.8 -%if %{gcj_support} -BuildRequires: java-gcj-compat-devel -Requires(post): java-gcj-compat -Requires(postun): java-gcj-compat -%endif %description This is an Internet protocol suite Java library originally developed by @@ -165,11 +159,11 @@ %endif %prep -%setup -q -n %{short_name}-%{version}-src +%setup -q # remove all binary libs find . -name "*.jar" -exec rm -f {} \; -%patch0 -b .sav0 -%patch1 -b .sav1 +#%%patch0 -b .sav0 +#%%patch1 -b .sav1 %{__perl} -pi \ -e 's/\r$//g;' \ PROPOSAL.html LICENSE.txt NOTICE.txt RELEASE-NOTES.txt @@ -219,6 +213,7 @@ install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 target/%{short_name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar %add_to_maven_depmap %{short_name} %{short_name} %{version} JPP %{short_name} +%add_to_maven_depmap org.apache.commons %{short_name} %{version} JPP %{short_name} ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{short_name}-%{version}.jar ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{short_name}.jar @@ -261,30 +256,14 @@ %{__cp} -p %{buildroot}%{_javadir}/%{name}-%{version}.jar %{buildroot}%{repodirlib}/%{short_name}.jar %endif -%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) @@ -293,9 +272,6 @@ %{_mavendepmapfragdir}/* %dir %{_docdir}/%{name}-%{version} %doc %{_docdir}/%{name}-%{version}/LICENSE.txt -%if %{gcj_support} -%attr(-,root,root) %{_libdir}/gcj/%{name} -%endif %files javadoc %defattr(0644,root,root,0755) @@ -314,6 +290,9 @@ %endif %changelog +* Sat Aug 18 2012 Ralph Apel <r.apel at r-apel.de> - 0:2.2-1 +- 2.2 + * Wed Dec 08 2010 Ralph Apel <r.apel at r-apel.de> - 0:2.0-6 - Fix compat symlinks for jakarta-commons-net