diff --git a/mimepull-1.9.6.tar.gz b/mimepull-1.9.6.tar.gz new file mode 100644 index 0000000..8621ecb Binary files /dev/null and b/mimepull-1.9.6.tar.gz differ diff --git a/mimepull.spec b/mimepull.spec new file mode 100644 index 0000000..830ed3d --- /dev/null +++ b/mimepull.spec @@ -0,0 +1,71 @@ +Name: mimepull +Version: 1.9.6 +Release: 1 +Summary: Streaming API to access attachments from a MIME message +License: CDDL 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 +* Sat Aug 22 2020 Jeffery.Gao - 1.9.6-1 +- Package init diff --git a/mimepull.yaml b/mimepull.yaml new file mode 100644 index 0000000..b92366c --- /dev/null +++ b/mimepull.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: javaee/metro-mimepull +tag_prefix: "^mimepull-" +seperator: "."