Name: mimepull Version: 1.9.6 Release: 2 Summary: Streaming API to access attachments from a MIME message License: CDDL-1.1 and GPLv2 with exceptions URL: http://mimepull.java.net Source0: https://github.com/javaee/metro-mimepull/archive/mimepull-1.9.6.tar.gz BuildArch: noarch BuildRequires: maven-local mvn(junit:junit) 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) 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 %autosetup -n metro-mimepull-mimepull-%{version} -p1 %pom_remove_plugin :cobertura-maven-plugin %pom_remove_plugin :findbugs-maven-plugin %pom_remove_plugin :glassfish-copyright-maven-plugin %pom_remove_plugin :maven-assembly-plugin %pom_remove_plugin :maven-deploy-plugin %pom_remove_plugin :maven-gpg-plugin %pom_remove_plugin :maven-source-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 Jun 13 2024 wulei - 1.9.6-2 - Regulate license information * Sat Aug 22 2020 Jeffery.Gao - 1.9.6-1 - Package init