diff --git a/felix-osgi-core.spec b/felix-osgi-core.spec new file mode 100644 index 0000000..21f4146 --- /dev/null +++ b/felix-osgi-core.spec @@ -0,0 +1,40 @@ +%global bundle org.osgi.core +Name: felix-osgi-core +Version: 1.4.0 +Release: 1 +Summary: Felix OSGi R4 Core Bundle +License: ASL 2.0 +URL: http://felix.apache.org/documentation/subprojects/apache-felix-osgi-core.html +BuildArch: noarch +Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz +BuildRequires: maven-local mvn(org.apache.felix:felix-parent:pom:) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +%description +OSGi Service Platform Release 4 Core Interfaces and Classes. + +%package javadoc +Summary: API documentation for %{name} +%description javadoc +This package contains API documentation for %{name}. + +%prep +%setup -q -n %{bundle}-%{version} +%mvn_file :%{bundle} "felix/%{bundle}" +%mvn_alias "org.apache.felix:%{bundle}" "org.osgi:%{bundle}" + +%build +export LC_ALL=C.utf8 +%mvn_build -- -Drat.numUnapprovedLicenses=50 + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + +%changelog +* Sat Jul 25 2020 yanan li - 1.4.0-1 +- Package init diff --git a/felix-osgi-core.yaml b/felix-osgi-core.yaml new file mode 100644 index 0000000..7968f59 --- /dev/null +++ b/felix-osgi-core.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/apache/felix-dev.git +version_control: github +src_repo: apache/felix-dev +tag_prefix: "org.osgi.core-" +seperator: "." diff --git a/org.osgi.core-1.4.0-project.tar.gz b/org.osgi.core-1.4.0-project.tar.gz new file mode 100644 index 0000000..b6b0f11 Binary files /dev/null and b/org.osgi.core-1.4.0-project.tar.gz differ