54 lines
1.3 KiB
RPMSpec
54 lines
1.3 KiB
RPMSpec
Name: ehcache-sizeof-agent
|
|
Version: 1.0.1
|
|
Release: 17
|
|
Summary: Module of Ehcache
|
|
License: ASL 2.0
|
|
URL: https://mvnrepository.com/artifact/net.sf.ehcache/sizeof-agent
|
|
# svn export http://svn.terracotta.org/svn/ehcache/tags/sizeof-agent-1.0.1
|
|
# tar czf ehcache-sizeof-agent-1.0.1.tar.gz sizeof-agent-1.0.1
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
BuildRequires: maven-local maven-shared maven-gpg-plugin maven-idea-plugin
|
|
BuildRequires: maven-source-plugin maven-release-plugin ehcache-parent
|
|
|
|
Requires: ehcache-parent
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Ehcache Size Of Agent.
|
|
|
|
%package help
|
|
Summary: Help documents for ehcache-sizeof-agent
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
|
|
%description help
|
|
Manauals of API and other help documents for %{name}.
|
|
|
|
%prep
|
|
%autosetup -n sizeof-agent-%{version} -p1
|
|
|
|
install -m0644 %{SOURCE1} LICENSE.txt
|
|
|
|
%mvn_file :sizeof-agent ehcache-sizeof-agent
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files
|
|
%license LICENSE.txt
|
|
%_javadir/*
|
|
%{_datadir}/maven*/*
|
|
|
|
%files help
|
|
%_javadocdir/%{name}
|
|
|
|
%changelog
|
|
* Fri Dec 20 2019 zhouyihang <zhouyihang1@huawei.com> - 1.0.1-17
|
|
- Package init
|