diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..59fd027 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/mimepull-1.8.tar.xz +/mimepull-1.9.5.tar.xz +/mimepull-1.9.6.tar.xz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/mimepull.spec b/mimepull.spec new file mode 100644 index 0000000..89967b6 --- /dev/null +++ b/mimepull.spec @@ -0,0 +1,152 @@ +Name: mimepull +Version: 1.9.6 +Release: 9%{?dist} +Summary: Streaming API to access attachments from a MIME message +License: CDDL and GPLv2 with exceptions +URL: http://mimepull.java.net + +# svn export https://svn.java.net/svn/mimepull~svn/tags/mimepull-1.9.6/ mimepull-1.9.6 +# tar cafJ mimepull-1.9.6.tar.xz mimepull-1.9.6 +Source0: mimepull-%{version}.tar.xz + +BuildArch: noarch +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(net.java:jvnet-parent:pom:) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-release-plugin) +BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin) +#BuildRequires: mvn(org.tmatesoft.svnkit:svnkit) +BuildRequires: xmvn + +%description +Provides a streaming API to access attachments parts in a MIME message + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q + +# Unavailable plugins +%pom_remove_plugin :cobertura-maven-plugin +%pom_remove_plugin :findbugs-maven-plugin +%pom_remove_plugin :glassfish-copyright-maven-plugin +# Unneeded plugins +%pom_remove_plugin :maven-assembly-plugin +%pom_remove_plugin :maven-deploy-plugin +%pom_remove_plugin :maven-gpg-plugin +%pom_remove_plugin :maven-source-plugin +# Disable svnkit support for buildnumber-maven-plugin +%pom_remove_dep org.tmatesoft.svnkit:svnkit +%pom_xpath_remove pom:providerImplementations + +%pom_remove_plugin :maven-enforcer-plugin +%pom_add_plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0.1 . ' + + + enforce-versions + + enforce + + + + + + + [1.7,) + + + [3.0.3,) + + + +' + + +iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE +sed -i 's/\r//' LICENSE + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.9.6-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.9.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.9.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1.9.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.9.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.9.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Aug 09 2016 gil cattaneo 1.9.6-3 +- add missing build requires: xmvn +- prevent duplicate pom BR entries + +* Thu Feb 04 2016 Fedora Release Engineering - 1.9.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Sep 25 2015 gil cattaneo 1.9.6-1 +- update to 1.9.6 + +* Wed Jun 17 2015 Fedora Release Engineering - 1.9.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jun 09 2015 gil cattaneo 1.9.5-1 +- update to 1.9.5 +- use mvn()-like BRs +- minor changes for adapt to current guideline + +* Wed Jul 02 2014 Marek Goldmann - 1.8-9 +- Switch to xmvn + +* Sat Jun 07 2014 Fedora Release Engineering - 1.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 28 2014 Michael Simacek - 1.8-7 +- Use Requires: java-headless rebuild (#1067528) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.8-4 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Wed Oct 24 2012 Marek Goldmann - 1.8-3 +- Added maven-enforcer-plugin BR + +* Wed Oct 24 2012 Marek Goldmann - 1.8-2 +- Fixed encoding in LICENSE file +- Added missing BR + +* Tue Oct 23 2012 Marek Goldmann - 1.8-1 +- Initial packaging + + diff --git a/sources b/sources new file mode 100644 index 0000000..2fa4fe7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +bcb592dd0f6a4d3e2b1ab085bd3c90a7 mimepull-1.9.6.tar.xz