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