options/options.spec
2020-08-19 19:51:57 +08:00

42 lines
1.0 KiB
RPMSpec

Name: options
Version: 1.2
Release: 1
Summary: Library for managing sets of JVM properties to configure an app or library
License: ASL 2.0
URL: https://github.com/headius/%{name}
Source0: https://github.com/headius/%{name}/archive/%{name}-%{version}.tar.gz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch
BuildRequires: maven-local sonatype-oss-parent
%description
Provides a simple mechanism for defining JVM property-based
configuration for an application or library.
%package help
Summary: help for %{name}
%description help
Help for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
cp %{SOURCE1} .
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%dir %{_javadir}/%{name}
%doc LICENSE-2.0.txt
%files help -f .mfiles-javadoc
%doc LICENSE-2.0.txt
%changelog
* Tue Jul 28 2020 wangxiao <wangxiao65@huawei.com> - 1.2-1
- package init