commit
e60bedb8c0
51
apache-commons-beanutils.spec
Normal file
51
apache-commons-beanutils.spec
Normal file
@ -0,0 +1,51 @@
|
||||
%global base_name beanutils
|
||||
%global short_name commons-%{base_name}
|
||||
Name: apache-%{short_name}
|
||||
Version: 1.9.4
|
||||
Release: 1
|
||||
Summary: Java utility methods for accessing and modifying the properties of arbitrary JavaBeans
|
||||
License: ASL 2.0
|
||||
BuildArch: noarch
|
||||
URL: http://commons.apache.org/%{base_name}
|
||||
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||
BuildRequires: maven-local mvn(commons-collections:commons-collections)
|
||||
BuildRequires: mvn(commons-collections:commons-collections-testframework)
|
||||
BuildRequires: mvn(commons-logging:commons-logging) mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
%description
|
||||
The scope of this package is to create a package of Java utility methods
|
||||
for accessing and modifying the properties of arbitrary JavaBeans. No
|
||||
dependencies outside of the JDK are required, so the use of this package
|
||||
is very lightweight.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{short_name}-%{version}-src
|
||||
sed -i 's/\r//' *.txt
|
||||
%pom_remove_plugin :maven-assembly-plugin
|
||||
%mvn_alias :{*} :@1-core :@1-bean-collections
|
||||
%mvn_alias :{*} org.apache.commons:@1 org.apache.commons:@1-core org.apache.commons:@1-bean-collections
|
||||
%mvn_file : %{name} %{name}-core %{name}-bean-collections
|
||||
%mvn_file : %{short_name} %{short_name}-core %{short_name}-bean-collections
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc RELEASE-NOTES.txt
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Wed Jul 29 2020 yaokai <yaokai13@huawei.com> - 1.9.4-1
|
||||
- package init
|
||||
4
apache-commons-beanutils.yaml
Normal file
4
apache-commons-beanutils.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://gitbox.apache.org/repos/asf?p=commons-beanutils.git
|
||||
tag_prefix: "^commons-beanutils-"
|
||||
seperator: "."
|
||||
BIN
commons-beanutils-1.9.4-src.tar.gz
Normal file
BIN
commons-beanutils-1.9.4-src.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user