From 2bc34157414ff48092b90dbe7f2f7c38592b7dc0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 28 2020 06:20:24 +0000 Subject: import apiguardian-1.1.0-4.module+el8.2.1+7436+4afdca1f --- diff --git a/.apiguardian.metadata b/.apiguardian.metadata new file mode 100644 index 0000000..19f0ee6 --- /dev/null +++ b/.apiguardian.metadata @@ -0,0 +1 @@ +05a77f3d63c0e08546b907fde3df532598462ac5 SOURCES/apiguardian-1.1.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cba6100 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/apiguardian-1.1.0.tar.gz diff --git a/SOURCES/apiguardian-api-1.1.0.pom b/SOURCES/apiguardian-api-1.1.0.pom new file mode 100644 index 0000000..df2c9fb --- /dev/null +++ b/SOURCES/apiguardian-api-1.1.0.pom @@ -0,0 +1,29 @@ + + + 4.0.0 + org.apiguardian + apiguardian-api + 1.1.0 + org.apiguardian:apiguardian-api + @API Guardian + https://github.com/apiguardian-team/apiguardian + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + apiguardian + @API Guardian Team + team@apiguardian.org + + + + scm:git:git://github.com/apiguardian-team/apiguardian.git + scm:git:git://github.com/apiguardian-team/apiguardian.git + https://github.com/apiguardian-team/apiguardian + + diff --git a/SPECS/apiguardian.spec b/SPECS/apiguardian.spec new file mode 100644 index 0000000..8985fce --- /dev/null +++ b/SPECS/apiguardian.spec @@ -0,0 +1,104 @@ +Name: apiguardian +Summary: API Guardian Java annotation +Version: 1.1.0 +Release: 4%{?dist} +License: ASL 2.0 + +URL: https://github.com/apiguardian-team/apiguardian +Source0: https://github.com/apiguardian-team/apiguardian/archive/r%{version}/%{name}-%{version}.tar.gz +Source100: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/%{version}/apiguardian-api-%{version}.pom + +BuildArch: noarch + +BuildRequires: maven-local + +%description +API Guardian indicates the status of an API element and therefore its +level of stability as well. It is used to annotate public types, +methods, constructors, and fields within a framework or application in +order to publish their API status and level of stability and to +indicate how they are intended to be used by consumers of the API. + + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +API documentation for %{name}. + + +%prep +%setup -q -n %{name}-r%{version} +find -name "*.jar" -print -delete + +cp -pav %{SOURCE100} pom.xml + +# Inject OSGi manifest required by Eclipse +%pom_xpath_inject pom:project " + + + + + maven-jar-plugin + + + + org.apiguardian.api + apiguardian-api + apiguardian.org + %{version} + apiguardian-api + apiguardian.org + %{version} + + 2 + org.apiguardian + %{version} + org.apiguardian.api;version=\"%{version}\" + + + + + + + " + +%build +%mvn_build + + +%install +%mvn_install + + +%files -f .mfiles +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + + +%changelog +* Fri Jul 10 2020 Jiri Vanek - 1.1.0-4 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Tue Jan 28 2020 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 27 2019 Fabio Valentini - 1.1.0-1 +- Update to version 1.1.0. + +* Thu Jan 31 2019 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Sep 14 2017 Mikolaj Izdebski - 1.0.0-1 +- Initial packaging \ No newline at end of file