package init

This commit is contained in:
small_leek 2020-07-31 15:43:28 +08:00
parent 41c0ee8069
commit f8e8c08513
3 changed files with 43 additions and 0 deletions

38
felix-osgi-obr.spec Normal file
View File

@ -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 <liyanan032@huawei.com> - 1.0.2-1
- Package init

5
felix-osgi-obr.yaml Normal file
View File

@ -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: "."

Binary file not shown.