41 lines
1.2 KiB
RPMSpec
41 lines
1.2 KiB
RPMSpec
Name: metainf-services
|
|
Version: 1.7
|
|
Release: 1
|
|
Summary: Small java library for generating META-INF/services files
|
|
License: MIT
|
|
URL: https://github.com/kohsuke/metainf-services
|
|
Source0: https://github.com/kohsuke/metainf-services/archive/metainf-services-%{version}.tar.gz
|
|
# License text copied from http://www.opensource.org/licenses/mit-license.php
|
|
Source1: LICENSE.txt
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(org.kohsuke:pom:pom:)
|
|
%description
|
|
This package contains small Java library which can be used
|
|
for automatic generation of META-INF/services files.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
cp %{SOURCE1} LICENSE
|
|
%pom_xpath_remove "pom:plugin[pom:artifactId[text()='animal-sniffer-maven-plugin']]"
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc LICENSE
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Mon Aug 3 2020 zhanghua <zhanghua40@huawei.com> - 1.7-1
|
|
- package init
|