diff --git a/felix-utils.spec b/felix-utils.spec new file mode 100644 index 0000000..f1b20e8 --- /dev/null +++ b/felix-utils.spec @@ -0,0 +1,45 @@ +Name: felix-utils +Version: 1.10.4 +Release: 4 +Summary: Utility library for OSGi +License: ASL 2.0 +URL: http://felix.apache.org +BuildArch: noarch +Source0: http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.utils/%{version}/org.apache.felix.utils-%{version}-source-release.tar.gz + +BuildRequires: maven-local mvn(org.apache.felix:felix-parent:pom:) +BuildRequires: mvn(org.osgi:org.osgi.compendium) mvn(org.osgi:org.osgi.core) + +%description +Utility library for OSGi + +%package help +Summary: API usage documentation for felix-utils +Provides: felix-utils-javadoc = %{version}-%{release} +Obsoletes: felix-utils-javadoc < %{version}-%{release} + +%description help +This package is documentation that introduce usage for felix-utils. + +%prep +%autosetup -n org.apache.felix.utils-%{version} -p1 + +%pom_remove_plugin :apache-rat-plugin + +%mvn_file :org.apache.felix.utils "felix/org.apache.felix.utils" + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE NOTICE +%doc DEPENDENCIES + +%files help -f .mfiles-javadoc + +%changelog +* Thu Dec 12 2018 wanjiankang - 1.10.4-4 +- Package Init diff --git a/org.apache.felix.utils-1.10.4-source-release.tar.gz b/org.apache.felix.utils-1.10.4-source-release.tar.gz new file mode 100644 index 0000000..7c2b221 Binary files /dev/null and b/org.apache.felix.utils-1.10.4-source-release.tar.gz differ