diff --git a/felix-osgi-obr.spec b/felix-osgi-obr.spec new file mode 100644 index 0000000..359e357 --- /dev/null +++ b/felix-osgi-obr.spec @@ -0,0 +1,38 @@ +%global bundle org.osgi.service.obr +Name: felix-osgi-obr +Version: 1.0.2 +Release: 1 +Summary: Felix OSGi OBR Service API +License: ASL 2.0 +URL: http://felix.apache.org/documentation/subprojects/apache-felix-osgi-bundle-repository.html +BuildArch: noarch +Source0: http://www.apache.org/dist/felix/org.osgi.service.obr-%{version}-project.tar.gz +BuildRequires: maven-local mvn(org.apache.felix:felix:pom:) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.apache.felix:org.osgi.core) +%description +OSGi OBR Service API. + +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n %{bundle}-%{version} +%mvn_file ":{*}" felix/@1 + +%build +%mvn_build + +%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.0.2-1 +- Package init diff --git a/felix-osgi-obr.yaml b/felix-osgi-obr.yaml new file mode 100644 index 0000000..5f54ae6 --- /dev/null +++ b/felix-osgi-obr.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.service.obr-" +seperator: "." diff --git a/org.osgi.service.obr-1.0.2-project.tar.gz b/org.osgi.service.obr-1.0.2-project.tar.gz new file mode 100644 index 0000000..44254a3 Binary files /dev/null and b/org.osgi.service.obr-1.0.2-project.tar.gz differ