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