commit 6c503b43b6837e29bb39b949823e4f2a835c908e
Author: Jaromir Capik <jcapik(a)redhat.com>
Date: Thu Oct 20 13:50:34 2011 +0200
Initial import (#738263).
.gitignore | 1 +
felix-bundlerepository.spec | 80 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..396f4bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/org.apache.felix.bundlerepository-1.6.6-source-release.tar.gz
diff --git a/felix-bundlerepository.spec b/felix-bundlerepository.spec
new file mode 100644
index 0000000..b0f99ad
--- /dev/null
+++ b/felix-bundlerepository.spec
@@ -0,0 +1,80 @@
+%global site_name org.apache.felix.bundlerepository
+%global grp_name felix
+
+Name: felix-bundlerepository
+Version: 1.6.6
+Release: 3%{?dist}
+Summary: Bundle repository service
+License: ASL 2.0 and BSD
+Group: Development/Libraries
+URL:
http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
+
+Source0:
http://www.fightrice.com/mirrors/apache/felix/org.apache.felix.bundlerepo...
+
+BuildArch: noarch
+
+BuildRequires: woodstox-core
+BuildRequires: felix-shell
+BuildRequires: felix-utils
+BuildRequires: java-devel
+BuildRequires: maven
+BuildRequires: maven-surefire-provider-junit4
+BuildRequires: jpackage-utils
+
+Requires: woodstox-core
+Requires: felix-shell
+Requires: felix-utils
+Requires: jpackage-utils
+Requires: java
+
+
+%description
+Bundle repository service
+
+%package javadoc
+Summary: API documentation for %{name}
+Group: Documentation
+Requires: jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n %{site_name}-%{version}
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+%install
+# jars
+install -Dpm 644 target/%{site_name}-%{version}.jar
%{buildroot}%{_javadir}/%{grp_name}/%{name}.jar
+
+# pom
+install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{grp_name}-%{name}.pom
+
+# javadoc
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%add_maven_depmap JPP.%{grp_name}-%{name}.pom %{grp_name}/%{name}.jar
+
+%files
+%doc LICENSE LICENSE.kxml2 NOTICE DEPENDENCIES
+%{_javadir}/%{grp_name}/%{name}.jar
+%{_mavenpomdir}/JPP.%{grp_name}-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc LICENSE LICENSE.kxml2
+%doc %{_javadocdir}/%{name}
+
+%changelog
+* Wed Oct 12 2011 Jaromir Capik <jcapik(a)redhat.com> - 1.6.6-3
+-
osgi.org groupId patch removed (fixed in felix-osgi-* packages)
+
+* Thu Oct 06 2011 Jaromir Capik <jcapik(a)redhat.com> - 1.6.6-2
+- Depmap removed (not needed anymore)
+- woodstox-core-asl renamed to woodstox-core
+
+* Tue Sep 14 2011 Jaromir Capik <jcapik(a)redhat.com> - 1.6.6-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..bc615a7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+67defce3960bfdab69b1b3332dbcda7b
org.apache.felix.bundlerepository-1.6.6-source-release.tar.gz