59 lines
2.4 KiB
RPMSpec
59 lines
2.4 KiB
RPMSpec
Name: uima-parent-pom
|
|
Version: 10
|
|
Release: 1
|
|
Summary: Apache UIMA Parent POM
|
|
License: ASL 2.0
|
|
URL: http://uima.apache.org/
|
|
Source0: https://github.com/apache/uima-build/archive/parent-pom-%{version}.tar.gz
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
Patch0: apache-parent-pom-18.patch
|
|
BuildRequires: maven-local mvn(ant-contrib:ant-contrib) mvn(jakarta-regexp:jakarta-regexp)
|
|
BuildRequires: mvn(org.apache.ant:ant-apache-regexp) mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) mvn(org.apache:apache:pom:)
|
|
BuildArch: noarch
|
|
%description
|
|
UIMA (Unstructured Information Management Architecture).
|
|
UIMA promotes community development and reuse of annotators
|
|
that extract meta-data from unstructured information (text,
|
|
audio, video, etc.); it provides for externalized declaration of
|
|
type systems, component configuration, aggregation, and more,
|
|
supports scalablity, and provides tooling.
|
|
This package provides Parent for Apache UIMA Projects.
|
|
|
|
%prep
|
|
%setup -q -n uima-build-parent-pom-%{version}
|
|
%patch0 -p1
|
|
%pom_xpath_remove pom:Embed-Dependency
|
|
%pom_xpath_remove pom:Embed-Directory
|
|
%pom_xpath_remove pom:Bundle-ClassPath
|
|
%pom_xpath_set pom:Include-Resource '{maven-resources}'
|
|
%pom_xpath_remove pom:Bundle-RequiredExecutionEnvironment
|
|
%pom_remove_plugin org.apache.uima:uima-build-helper-maven-plugin
|
|
%pom_remove_plugin com.agilejava.docbkx:docbkx-maven-plugin
|
|
%pom_remove_plugin :maven-changes-plugin
|
|
%pom_remove_plugin :maven-dependency-plugin
|
|
%pom_remove_plugin :maven-assembly-plugin
|
|
%pom_remove_plugin :maven-remote-resources-plugin
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
%pom_xpath_remove "pom:profiles/pom:profile[pom:id = 'process-docbook']"
|
|
%pom_xpath_remove "pom:profiles/pom:profile[pom:id = 'build-eclipse-update-subsite']"
|
|
%pom_xpath_remove "pom:profiles/pom:profile[pom:id = 'build distribution']"
|
|
cp -p %{SOURCE1} .
|
|
sed -i 's/\r//' LICENSE-2.0.txt README.txt
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README.txt
|
|
%license LICENSE-2.0.txt
|
|
|
|
%changelog
|
|
* Wed Aug 19 2020 maminjie <maminjie1@huawei.com> - 10-1
|
|
- package init
|