|
|
2bc341 |
Name: apiguardian
|
|
|
2bc341 |
Summary: API Guardian Java annotation
|
|
|
2bc341 |
Version: 1.1.0
|
|
|
2bc341 |
Release: 4%{?dist}
|
|
|
2bc341 |
License: ASL 2.0
|
|
|
2bc341 |
|
|
|
2bc341 |
URL: https://github.com/apiguardian-team/apiguardian
|
|
|
2bc341 |
Source0: https://github.com/apiguardian-team/apiguardian/archive/r%{version}/%{name}-%{version}.tar.gz
|
|
|
2bc341 |
Source100: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/%{version}/apiguardian-api-%{version}.pom
|
|
|
2bc341 |
|
|
|
2bc341 |
BuildArch: noarch
|
|
|
2bc341 |
|
|
|
2bc341 |
BuildRequires: maven-local
|
|
|
2bc341 |
|
|
|
2bc341 |
%description
|
|
|
2bc341 |
API Guardian indicates the status of an API element and therefore its
|
|
|
2bc341 |
level of stability as well. It is used to annotate public types,
|
|
|
2bc341 |
methods, constructors, and fields within a framework or application in
|
|
|
2bc341 |
order to publish their API status and level of stability and to
|
|
|
2bc341 |
indicate how they are intended to be used by consumers of the API.
|
|
|
2bc341 |
|
|
|
2bc341 |
|
|
|
2bc341 |
%package javadoc
|
|
|
2bc341 |
Summary: Javadoc for %{name}
|
|
|
2bc341 |
|
|
|
2bc341 |
%description javadoc
|
|
|
2bc341 |
API documentation for %{name}.
|
|
|
2bc341 |
|
|
|
2bc341 |
|
|
|
2bc341 |
%prep
|
|
|
2bc341 |
%setup -q -n %{name}-r%{version}
|
|
|
2bc341 |
find -name "*.jar" -print -delete
|
|
|
2bc341 |
|
|
|
2bc341 |
cp -pav %{SOURCE100} pom.xml
|
|
|
2bc341 |
|
|
|
2bc341 |
# Inject OSGi manifest required by Eclipse
|
|
|
2bc341 |
%pom_xpath_inject pom:project "
|
|
|
2bc341 |
<build>
|
|
|
2bc341 |
<pluginManagement>
|
|
|
2bc341 |
<plugins>
|
|
|
2bc341 |
<plugin>
|
|
|
2bc341 |
<artifactId>maven-jar-plugin</artifactId>
|
|
|
2bc341 |
<configuration>
|
|
|
2bc341 |
<archive>
|
|
|
2bc341 |
<manifestEntries>
|
|
|
2bc341 |
<Automatic-Module-Name>org.apiguardian.api</Automatic-Module-Name>
|
|
|
2bc341 |
<Implementation-Title>apiguardian-api</Implementation-Title>
|
|
|
2bc341 |
<Implementation-Vendor>apiguardian.org</Implementation-Vendor>
|
|
|
2bc341 |
<Implementation-Version>%{version}</Implementation-Version>
|
|
|
2bc341 |
<Specification-Title>apiguardian-api</Specification-Title>
|
|
|
2bc341 |
<Specification-Vendor>apiguardian.org</Specification-Vendor>
|
|
|
2bc341 |
<Specification-Version>%{version}</Specification-Version>
|
|
|
2bc341 |
|
|
|
2bc341 |
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
|
|
|
2bc341 |
<Bundle-SymbolicName>org.apiguardian</Bundle-SymbolicName>
|
|
|
2bc341 |
<Bundle-Version>%{version}</Bundle-Version>
|
|
|
2bc341 |
<Export-Package>org.apiguardian.api;version=\"%{version}\"</Export-Package>
|
|
|
2bc341 |
</manifestEntries>
|
|
|
2bc341 |
</archive>
|
|
|
2bc341 |
</configuration>
|
|
|
2bc341 |
</plugin>
|
|
|
2bc341 |
</plugins>
|
|
|
2bc341 |
</pluginManagement>
|
|
|
2bc341 |
</build>"
|
|
|
2bc341 |
|
|
|
2bc341 |
%build
|
|
|
2bc341 |
%mvn_build
|
|
|
2bc341 |
|
|
|
2bc341 |
|
|
|
2bc341 |
%install
|
|
|
2bc341 |
%mvn_install
|
|
|
2bc341 |
|
|
|
2bc341 |
|
|
|
2bc341 |
%files -f .mfiles
|
|
|
2bc341 |
%license LICENSE
|
|
|
2bc341 |
|
|
|
2bc341 |
%files javadoc -f .mfiles-javadoc
|
|
|
2bc341 |
%license LICENSE
|
|
|
2bc341 |
|
|
|
2bc341 |
|
|
|
2bc341 |
%changelog
|
|
|
2bc341 |
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.1.0-4
|
|
|
2bc341 |
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
2bc341 |
|
|
|
2bc341 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
|
|
2bc341 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2bc341 |
|
|
|
2bc341 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
2bc341 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
2bc341 |
|
|
|
2bc341 |
* Thu Jun 27 2019 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-1
|
|
|
2bc341 |
- Update to version 1.1.0.
|
|
|
2bc341 |
|
|
|
2bc341 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
|
|
2bc341 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2bc341 |
|
|
|
2bc341 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
|
|
2bc341 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2bc341 |
|
|
|
2bc341 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
2bc341 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
2bc341 |
|
|
|
2bc341 |
* Thu Sep 14 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.0-1
|
|
|
2bc341 |
- Initial packaging
|