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