From 84e02a687dddc6515c9c1e01bd2149e5cfc743ae Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Fri, 5 May 2023 17:14:49 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + .glassfish-annotation-api.metadata | 1 + glassfish-annotation-api.spec | 105 +++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 108 insertions(+) create mode 100644 .gitignore create mode 100644 .glassfish-annotation-api.metadata create mode 100644 glassfish-annotation-api.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ff2e82 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/glassfish-annotation-api-1.2-src-svn.tar.gz diff --git a/.glassfish-annotation-api.metadata b/.glassfish-annotation-api.metadata new file mode 100644 index 0000000..69691df --- /dev/null +++ b/.glassfish-annotation-api.metadata @@ -0,0 +1 @@ +7699cd0404ef68ee1ddda5dfea1d953ead1663d3 glassfish-annotation-api-1.2-src-svn.tar.gz diff --git a/glassfish-annotation-api.spec b/glassfish-annotation-api.spec new file mode 100644 index 0000000..3cc3ea9 --- /dev/null +++ b/glassfish-annotation-api.spec @@ -0,0 +1,105 @@ +%global namedreltag %{nil} +%global namedversion %{version}%{?namedreltag} +%global oname javax.annotation-api +Name: glassfish-annotation-api +Version: 1.2 +Release: 15%{?dist} +Summary: Common Annotations API Specification (JSR 250) +License: CDDL-1.0 or GPLv2 with exceptions +# http://jcp.org/en/jsr/detail?id=250 +URL: http://glassfish.java.net/ +# svn export https://svn.java.net/svn/glassfish~svn/tags/javax.annotation-api-1.2/ glassfish-annotation-api-1.2 +# tar czf glassfish-annotation-api-1.2-src-svn.tar.gz glassfish-annotation-api-1.2 +Source0: %{name}-%{namedversion}-src-svn.tar.gz + +BuildRequires: jvnet-parent +BuildRequires: glassfish-legal + +BuildRequires: maven-local +BuildRequires: maven-plugin-bundle +BuildRequires: maven-remote-resources-plugin +BuildRequires: maven-source-plugin +BuildRequires: spec-version-maven-plugin + +BuildArch: noarch + +%description +Common Annotations APIs for the Java Platform (JSR 250). + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n %{name}-%{namedversion} + +%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin +%mvn_file :%{oname} %{name} + +%build + +%mvn_build + +sed -i 's/\r//' target/classes/META-INF/LICENSE.txt +cp -p target/classes/META-INF/LICENSE.txt . + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Tue Nov 05 2019 Mikolaj Izdebski - 1.2-15 +- Mass rebuild for javapackages-tools 201902 + +* Fri May 24 2019 Mikolaj Izdebski - 1.2-14 +- Mass rebuild for javapackages-tools 201901 + +* Wed Feb 07 2018 Fedora Release Engineering - 1.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 1.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Feb 03 2015 gil cattaneo 1.2-8 +- introduce license macro + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 28 2014 Michael Simacek - 1.2-6 +- Use Requires: java-headless rebuild (#1067528) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 08 2013 gil cattaneo 1.2-4 +- switch to XMvn +- minor changes to adapt to current guideline + +* Sun May 26 2013 gil cattaneo 1.2-3 +- rebuilt with spec-version-maven-plugin support + +* Wed May 22 2013 gil cattaneo 1.2-2 +- fixed manifest + +* Tue May 07 2013 gil cattaneo 1.2-1 +- update to 1.2 + +* Tue Apr 02 2013 gil cattaneo 1.2-0.1.b04 +- initial rpm diff --git a/sources b/sources new file mode 100644 index 0000000..eaec4f9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (glassfish-annotation-api-1.2-src-svn.tar.gz) = 7a4ab85b5f915733a15c313b0d615606aa04be9b00564ccb121896dd8c2c0ce490b5fdd849f621a3d2af699921926d26440dc7f37222b67822f61af2dd3d3faa