|
|
6fbad24 |
Name: mimepull
|
|
|
235eb4a |
Version: 1.9.6
|
|
|
49fc6b4 |
Release: 3%{?dist}
|
|
|
6fbad24 |
Summary: Streaming API to access attachments from a MIME message
|
|
|
6fbad24 |
License: CDDL and GPLv2 with exceptions
|
|
|
6fbad24 |
URL: http://mimepull.java.net
|
|
|
6fbad24 |
|
|
|
235eb4a |
# svn export https://svn.java.net/svn/mimepull~svn/tags/mimepull-1.9.6/ mimepull-1.9.6
|
|
|
235eb4a |
# tar cafJ mimepull-1.9.6.tar.xz mimepull-1.9.6
|
|
|
6fbad24 |
Source0: mimepull-%{version}.tar.xz
|
|
|
6fbad24 |
|
|
|
6fbad24 |
BuildArch: noarch
|
|
Stanislav Ochotnicky |
98a466c |
BuildRequires: maven-local
|
|
|
3457f5a |
BuildRequires: mvn(junit:junit)
|
|
|
3457f5a |
BuildRequires: mvn(net.java:jvnet-parent:pom:)
|
|
|
3457f5a |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
3457f5a |
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
|
3457f5a |
BuildRequires: mvn(org.apache.maven.plugins:maven-release-plugin)
|
|
|
3457f5a |
BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
|
|
|
235eb4a |
#BuildRequires: mvn(org.tmatesoft.svnkit:svnkit)
|
|
|
49fc6b4 |
BuildRequires: xmvn
|
|
|
6fbad24 |
|
|
|
6fbad24 |
%description
|
|
|
6fbad24 |
Provides a streaming API to access attachments parts in a MIME message
|
|
|
6fbad24 |
|
|
|
6fbad24 |
%package javadoc
|
|
|
3457f5a |
Summary: Javadoc for %{name}
|
|
|
6fbad24 |
|
|
|
6fbad24 |
%description javadoc
|
|
|
6fbad24 |
This package contains the API documentation for %{name}.
|
|
|
6fbad24 |
|
|
|
6fbad24 |
%prep
|
|
|
6fbad24 |
%setup -q
|
|
|
6fbad24 |
|
|
|
3457f5a |
# Unavailable plugins
|
|
|
3457f5a |
%pom_remove_plugin :cobertura-maven-plugin
|
|
|
3457f5a |
%pom_remove_plugin :findbugs-maven-plugin
|
|
|
3457f5a |
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
|
|
3457f5a |
# Unneeded plugins
|
|
|
3457f5a |
%pom_remove_plugin :maven-assembly-plugin
|
|
|
3457f5a |
%pom_remove_plugin :maven-deploy-plugin
|
|
|
3457f5a |
%pom_remove_plugin :maven-gpg-plugin
|
|
|
3457f5a |
%pom_remove_plugin :maven-source-plugin
|
|
|
235eb4a |
# Disable svnkit support for buildnumber-maven-plugin
|
|
|
235eb4a |
%pom_remove_dep org.tmatesoft.svnkit:svnkit
|
|
|
235eb4a |
%pom_xpath_remove pom:providerImplementations
|
|
|
235eb4a |
|
|
|
49fc6b4 |
%pom_remove_plugin :maven-enforcer-plugin
|
|
|
49fc6b4 |
%pom_add_plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0.1 . '
|
|
|
49fc6b4 |
<executions>
|
|
|
49fc6b4 |
<execution>
|
|
|
49fc6b4 |
<id>enforce-versions</id>
|
|
|
49fc6b4 |
<goals>
|
|
|
49fc6b4 |
<goal>enforce</goal>
|
|
|
49fc6b4 |
</goals>
|
|
|
49fc6b4 |
</execution>
|
|
|
49fc6b4 |
</executions>
|
|
|
49fc6b4 |
<configuration>
|
|
|
49fc6b4 |
<rules>
|
|
|
49fc6b4 |
<requireJavaVersion>
|
|
|
49fc6b4 |
<version>[1.7,)</version>
|
|
|
49fc6b4 |
</requireJavaVersion>
|
|
|
49fc6b4 |
<requireMavenVersion>
|
|
|
49fc6b4 |
<version>[3.0.3,)</version>
|
|
|
49fc6b4 |
</requireMavenVersion>
|
|
|
49fc6b4 |
<DependencyConvergence/>
|
|
|
49fc6b4 |
</rules>
|
|
|
49fc6b4 |
</configuration>'
|
|
|
49fc6b4 |
|
|
|
3457f5a |
|
|
|
6fbad24 |
iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE
|
|
|
6fbad24 |
sed -i 's/\r//' LICENSE
|
|
|
6fbad24 |
|
|
|
6fbad24 |
%build
|
|
Marek Goldmann |
6c4091c |
%mvn_build
|
|
|
6fbad24 |
|
|
|
6fbad24 |
%install
|
|
Marek Goldmann |
6c4091c |
%mvn_install
|
|
|
6fbad24 |
|
|
Marek Goldmann |
6c4091c |
%files -f .mfiles
|
|
|
3457f5a |
%license LICENSE
|
|
|
6fbad24 |
|
|
Marek Goldmann |
6c4091c |
%files javadoc -f .mfiles-javadoc
|
|
|
3457f5a |
%license LICENSE
|
|
|
6fbad24 |
|
|
|
6fbad24 |
%changelog
|
|
|
49fc6b4 |
* Tue Aug 09 2016 gil cattaneo <puntogil@libero.it> 1.9.6-3
|
|
|
49fc6b4 |
- add missing build requires: xmvn
|
|
|
49fc6b4 |
- prevent duplicate pom BR entries
|
|
|
49fc6b4 |
|
|
|
577c238 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-2
|
|
|
577c238 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
577c238 |
|
|
|
235eb4a |
* Fri Sep 25 2015 gil cattaneo <puntogil@libero.it> 1.9.6-1
|
|
|
235eb4a |
- update to 1.9.6
|
|
|
235eb4a |
|
|
|
4b8854e |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.5-2
|
|
|
4b8854e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4b8854e |
|
|
|
3457f5a |
* Tue Jun 09 2015 gil cattaneo <puntogil@libero.it> 1.9.5-1
|
|
|
3457f5a |
- update to 1.9.5
|
|
|
3457f5a |
- use mvn()-like BRs
|
|
|
3457f5a |
- minor changes for adapt to current guideline
|
|
|
3457f5a |
|
|
Marek Goldmann |
6c4091c |
* Wed Jul 02 2014 Marek Goldmann <mgoldman@redhat.com> - 1.8-9
|
|
Marek Goldmann |
6c4091c |
- Switch to xmvn
|
|
Marek Goldmann |
6c4091c |
|
|
|
88c3c63 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-8
|
|
|
88c3c63 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
88c3c63 |
|
|
|
4284334 |
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.8-7
|
|
|
4284334 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
4284334 |
|
|
|
2dbb8fa |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-6
|
|
|
2dbb8fa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
2dbb8fa |
|
|
|
470c0b2 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-5
|
|
|
470c0b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
470c0b2 |
|
|
Stanislav Ochotnicky |
98a466c |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.8-4
|
|
Stanislav Ochotnicky |
98a466c |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
98a466c |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
98a466c |
|
|
|
07ef260 |
* Wed Oct 24 2012 Marek Goldmann <mgoldman@redhat.com> - 1.8-3
|
|
|
07ef260 |
- Added maven-enforcer-plugin BR
|
|
|
07ef260 |
|
|
|
6fbad24 |
* Wed Oct 24 2012 Marek Goldmann <mgoldman@redhat.com> - 1.8-2
|
|
|
6fbad24 |
- Fixed encoding in LICENSE file
|
|
|
6fbad24 |
- Added missing BR
|
|
|
6fbad24 |
|
|
|
6fbad24 |
* Tue Oct 23 2012 Marek Goldmann <mgoldman@redhat.com> - 1.8-1
|
|
|
6fbad24 |
- Initial packaging
|
|
|
6fbad24 |
|
|
|
6fbad24 |
|