Initial import from Fedora

This commit is contained in:
Mikolaj Izdebski 2022-08-10 07:35:08 +02:00 committed by root
parent 364d9ae0bf
commit 224e6a40ed
5 changed files with 167 additions and 0 deletions

2
.apiguardian.metadata Normal file
View File

@ -0,0 +1,2 @@
4634a08b041d949fad3e56ff2e6e6ee1580769a2 r1.1.2.tar.gz
ce9568cec632f7c99fb26d13c4d5c89517349f6b apiguardian-api-1.1.2.pom

14
.gitignore vendored
View File

@ -0,0 +1,14 @@
/results_*
/*.src.rpm
/r1.0.0.tar.gz
/r1.1.0.tar.gz
/r1.1.1.tar.gz
/apiguardian-api-1.0.0.pom
/apiguardian-1.1.0.tar.gz
/apiguardian-api-1.1.0.pom
/apiguardian-1.1.1.tar.gz
/apiguardian-api-1.1.0.pom
/apiguardian-api-1.1.1.pom
/r1.1.2.tar.gz
/apiguardian-api-1.1.2.pom

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# apiguardian
The apiguardian package

146
apiguardian.spec Normal file
View File

@ -0,0 +1,146 @@
%bcond_with bootstrap
Name: apiguardian
Version: 1.1.2
Release: 4%{?dist}
Summary: API Guardian Java annotation
License: ASL 2.0
URL: https://github.com/apiguardian-team/apiguardian
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0: https://github.com/apiguardian-team/apiguardian/archive/r%{version}.tar.gz
Source100: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/%{version}/apiguardian-api-%{version}.pom
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
%endif
%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 apiguardian-r%{version}
find -name \*.jar -delete
cp -p %{SOURCE100} pom.xml
# Inject OSGi manifest required by Eclipse
%pom_xpath_inject pom:project "
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>org.apiguardian.api</Automatic-Module-Name>
<Implementation-Title>apiguardian-api</Implementation-Title>
<Implementation-Vendor>apiguardian.org</Implementation-Vendor>
<Implementation-Version>%{version}</Implementation-Version>
<Specification-Title>apiguardian-api</Specification-Title>
<Specification-Vendor>apiguardian.org</Specification-Vendor>
<Specification-Version>%{version}</Specification-Version>
<!-- OSGi metadata required by Eclipse -->
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-SymbolicName>org.apiguardian</Bundle-SymbolicName>
<Bundle-Version>%{version}</Bundle-Version>
<Export-Package>org.apiguardian.api;version=\"%{version}\"</Export-Package>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>"
%build
%mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
%install
%mvn_install
%files -f .mfiles
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.1.2-3
- Rebuilt for java-17-openjdk as system jdk
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.2-1
- Update to upstream version 1.1.2
- Set explicit Java compiler source/target levels to 1.7
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.1-2
- Bootstrap build
- Non-bootstrap build
* Mon Feb 01 2021 Fabio Valentini <decathorpe@gmail.com> - 1.1.1-1
- Update to version 1.1.1.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 14 2021 Marian Koncek <mkoncek@redhat.com> - 1.1.1-1
- Update to upstream version 1.1.1
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.1.0-4
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.0-2
- Mass rebuild for javapackages-tools 201902
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Jul 17 2019 Marian Koncek <mkoncek@redhat.com> - 1.1.0-1
- Update to upstream version 1.1.0
* Thu Jun 27 2019 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-1
- Update to version 1.1.0.
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.0-5
- Mass rebuild for javapackages-tools 201901
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Sep 14 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.0-1
- Initial packaging

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (r1.1.2.tar.gz) = 7c56ee15e0aba07e95b6f2fe7cedd98e449e774958eb63b2467066c381e1e82ad67c982c2885e18154c62e55fda80a1c2e0f689253afe449db9f7e7563122db6
SHA512 (apiguardian-api-1.1.2.pom) = bb604d1103315784a2f56a43244434dbbd7edc97d0450dada21313463d230e00f2f23f6e7c2ca45be94e81304057e70c79c9f0fb84247f7244d0277110b5747e