diff --git a/apache-commons-digester.spec b/apache-commons-digester.spec new file mode 100644 index 0000000000000000000000000000000000000000..58a1717c77e6b023278f48c65a4f97f4c9f3aa88 --- /dev/null +++ b/apache-commons-digester.spec @@ -0,0 +1,45 @@ +%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 help +Summary: API documentation for %{name} +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} +%description help +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 help -f .mfiles-javadoc +%doc LICENSE.txt NOTICE.txt + +%changelog +* Sat Aug 22 2020 liyanan - 2.1-1 +- package init diff --git a/apache-commons-digester.yaml b/apache-commons-digester.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e12051ba5d7a99ed7a312e4045b08975c29da34f --- /dev/null +++ b/apache-commons-digester.yaml @@ -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: "_" diff --git a/commons-digester-2.1-src.tar.gz b/commons-digester-2.1-src.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..77c7d549f78e2c6a438576185c4f7e7d63e31014 Binary files /dev/null and b/commons-digester-2.1-src.tar.gz differ