diff --git a/felix-scr-annotations.spec b/felix-scr-annotations.spec new file mode 100644 index 0000000..cfe7ba8 --- /dev/null +++ b/felix-scr-annotations.spec @@ -0,0 +1,39 @@ +%global bundle org.apache.felix.scr.annotations +Name: felix-scr-annotations +Version: 1.12.0 +Release: 1 +Summary: Annotations for SCR +License: ASL 2.0 +URL: http://felix.apache.org/ +Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz +BuildArch: noarch +BuildRequires: maven-local mvn(org.apache.felix:felix-parent:pom:) +BuildRequires: mvn(org.apache.felix:org.apache.felix.scr.generator) +%description +Annotations for generating OSGi service descriptors. + +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n %{bundle}-%{version} +%mvn_file : felix/%{bundle} + +%build +%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 + +%install +%mvn_install + +%files -f .mfiles +%doc changelog.txt +%license LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + +%changelog +* Sat Aug 15 2020 yanan li - 1.12.0-1 +- Package init diff --git a/felix-scr-annotations.yaml b/felix-scr-annotations.yaml new file mode 100644 index 0000000..e5cc8b7 --- /dev/null +++ b/felix-scr-annotations.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.apache.felix.scr.annotations-" +seperator: "." diff --git a/org.apache.felix.scr.annotations-1.12.0-source-release.tar.gz b/org.apache.felix.scr.annotations-1.12.0-source-release.tar.gz new file mode 100644 index 0000000..31fa76c Binary files /dev/null and b/org.apache.felix.scr.annotations-1.12.0-source-release.tar.gz differ