felix-parent/felix-parent.spec
2020-03-15 19:37:09 +08:00

42 lines
1.2 KiB
RPMSpec

Name: felix-parent
Version: 4
Release: 7
Summary: Implement OSGI-related technologies
License: ASL 2.0
URL: http://felix.apache.org/
Source0: http://repo1.maven.org/maven2/org/apache/felix/felix-parent/4/felix-parent-4-source-release.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache:apache:pom:) mvn(org.easymock:easymock)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) mvn(org.mockito:mockito-all)
Requires: mvn(org.easymock:easymock) mvn(org.mockito:mockito-all)
%description
Implement OSGI-related technologies
%prep
%autosetup -n felix-parent-%{version} -p1
%mvn_alias : :felix
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-site-plugin
%pom_remove_plugin :maven-release-plugin
%pom_remove_plugin org.codehaus.mojo:ianal-maven-plugin
%pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_xpath_remove pom:extensions
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-antrun-plugin']/pom:dependencies"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE
%changelog
* Sun Mar 15 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4-7
- Init package