package init
This commit is contained in:
parent
4e8a288cf8
commit
925d41c515
43
apache-commons-digester.spec
Normal file
43
apache-commons-digester.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
%global short_name commons-digester
|
||||||
|
Name: apache-%{short_name}
|
||||||
|
Version: 2.1
|
||||||
|
Release: 1
|
||||||
|
Summary: XML to Java object mapping module
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://commons.apache.org/digester/
|
||||||
|
BuildArch: noarch
|
||||||
|
Source0: http://archive.apache.org/dist/commons/digester/source/commons-digester-%{version}-src.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(commons-beanutils:commons-beanutils)
|
||||||
|
BuildRequires: mvn(commons-logging:commons-logging) mvn(junit:junit)
|
||||||
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||||
|
%description
|
||||||
|
Many projects read XML configuration files to provide initialization of
|
||||||
|
various Java objects within the system. There are several ways of doing this,
|
||||||
|
and the Digester component was designed to provide a common implementation
|
||||||
|
that can be used in many different projects
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: API documentation for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains the %{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{short_name}-%{version}-src
|
||||||
|
%mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}"
|
||||||
|
%mvn_file :%{short_name} %{short_name} %{name}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%doc LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Aug 4 2020 yanan li <liyanan032@huawei.com> - 2.1-1
|
||||||
|
- Package init
|
||||||
5
apache-commons-digester.yaml
Normal file
5
apache-commons-digester.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/apache/commons-digester.git
|
||||||
|
version_control: github
|
||||||
|
src_repo: apache/commons-digester
|
||||||
|
tag_prefix: "DIGESTER_"
|
||||||
|
seperator: "_"
|
||||||
BIN
commons-digester-2.1-src.tar.gz
Normal file
BIN
commons-digester-2.1-src.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user