From 0331a867a879dbb5bfcc581a1fdf4091a94c1d12 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 30 2019 15:02:51 +0000 Subject: import geronimo-osgi-support-1.0-15.el7 --- diff --git a/.geronimo-osgi-support.metadata b/.geronimo-osgi-support.metadata new file mode 100644 index 0000000..fb3c2f1 --- /dev/null +++ b/.geronimo-osgi-support.metadata @@ -0,0 +1 @@ +d1df06804e862a18bda45a6b8af540c7d002206d SOURCES/geronimo-osgi-support-1.0-source-release.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5f850e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/geronimo-osgi-support-1.0-source-release.tar.gz diff --git a/SOURCES/remove-itests.patch b/SOURCES/remove-itests.patch new file mode 100644 index 0000000..ec774bd --- /dev/null +++ b/SOURCES/remove-itests.patch @@ -0,0 +1,7 @@ +--- pom.xml 2010-04-22 13:48:35.000000000 +0200 ++++ pom.xml 2010-07-26 15:01:41.998965238 +0200 +@@ -191,4 +190,0 @@ +- geronimo-osgi-itesta +- geronimo-osgi-itestb +- geronimo-osgi-registry-itests +- geronimo-osgi-locator-itests diff --git a/SOURCES/use_parent_pom.patch b/SOURCES/use_parent_pom.patch new file mode 100644 index 0000000..6fd6de0 --- /dev/null +++ b/SOURCES/use_parent_pom.patch @@ -0,0 +1,10 @@ +--- pom.xml 2010-04-22 13:37:14.000000000 +0200 ++++ pom.xml 2010-07-16 15:04:09.915136587 +0200 +@@ -28,3 +28,4 @@ +- org.apache.geronimo.genesis +- genesis-java5-flava +- 2.0 ++ org.apache.geronimo.specs ++ specs ++ 1.4 ++ ../pom.xml diff --git a/SPECS/geronimo-osgi-support.spec b/SPECS/geronimo-osgi-support.spec new file mode 100644 index 0000000..c2464f1 --- /dev/null +++ b/SPECS/geronimo-osgi-support.spec @@ -0,0 +1,124 @@ +%global registry geronimo-osgi-registry +%global locator geronimo-osgi-locator + +Name: geronimo-osgi-support +Version: 1.0 +Release: 15%{?dist} +Summary: OSGI spec bundle support +Group: Development/Libraries +License: ASL 2.0 and W3C +URL: http://geronimo.apache.org/ + +Source0: http://repo2.maven.org/maven2/org/apache/geronimo/specs/%{name}/%{version}/%{name}-%{version}-source-release.tar.gz +# Use parent pom files instead of unavailable 'genesis-java5-flava' +Patch1: use_parent_pom.patch +# Remove itests due to unavailable dependencies +Patch2: remove-itests.patch +BuildArch: noarch + +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: jpackage-utils +BuildRequires: maven-local +BuildRequires: felix-osgi-core +BuildRequires: felix-osgi-compendium +BuildRequires: geronimo-parent-poms +BuildRequires: maven-resources-plugin +BuildRequires: maven-surefire-provider-junit4 + +Requires: felix-osgi-core +Requires: felix-osgi-compendium + +Provides: geronimo-osgi-locator = %{version}-%{release} +Provides: geronimo-osgi-registry = %{version}-%{release} + +%description +This project is a set of bundles and integration tests for implementing +OSGi-specific lookup in the Geronimo spec projects. + + +%package javadoc +Group: Documentation +Summary: Javadoc for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q +iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE +sed -i 's/\r//' LICENSE NOTICE +%patch1 -p0 +%patch2 -p0 + +%pom_xpath_inject "pom:plugin[pom:artifactId[text()='maven-bundle-plugin']] + /pom:configuration/pom:instructions" " + !*" geronimo-osgi-locator + +%mvn_file :%{registry} %{registry} +%mvn_file :%{locator} %{locator} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%doc LICENSE NOTICE + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.0-15 +- Mass rebuild 2013-12-27 + +* Fri Aug 23 2013 Michal Srb - 1.0-14 +- Migrate away from mvn-rpmbuild (Resolves: #997485) + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.0-13 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Wed Feb 13 2013 Fedora Release Engineering - 1.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.0-11 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Fri Dec 07 2012 Jaromir Capik 1.0-10 +- Depmap removed (not needed anymore) +- Removing EOL whitespaces in the spec file + +* Thu Aug 23 2012 Mikolaj Izdebski - 1.0-9 +- Fix license tag +- Install NOTICE files + +* Mon Aug 6 2012 Mikolaj Izdebski - 1.0-8 +- Add explicit OSGi export, resolves 812827 + +* Thu Jul 19 2012 Fedora Release Engineering - 1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Nov 30 2011 Alexander Kurtakov 1.0-5 +- Build with maven 3 - site-plugin no longer works with maven2. +- Adapt to current guidelines. + +* Tue Feb 08 2011 Fedora Release Engineering - 1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Aug 2 2010 Chris Spike 1.0-3 +- Removed W3C from 'License:' field (XMLSchema.dtd not existent) + +* Thu Jul 29 2010 Chris Spike 1.0-2 +- Fixed wrong EOL encoding in LICENSE +- Fixed LICENSE file-not-utf8 +- Added W3C to 'License:' field +- Added patch explanations + +* Mon Jul 26 2010 Chris Spike 1.0-1 +- Initial version of the package