Blame SPECS/geronimo-osgi-support.spec

0331a8
%global registry geronimo-osgi-registry
0331a8
%global locator geronimo-osgi-locator
0331a8
0331a8
Name:             geronimo-osgi-support
0331a8
Version:          1.0
0331a8
Release:          15%{?dist}
0331a8
Summary:          OSGI spec bundle support
0331a8
Group:            Development/Libraries
0331a8
License:          ASL 2.0 and W3C
0331a8
URL:              http://geronimo.apache.org/
0331a8
0331a8
Source0:          http://repo2.maven.org/maven2/org/apache/geronimo/specs/%{name}/%{version}/%{name}-%{version}-source-release.tar.gz
0331a8
# Use parent pom files instead of unavailable 'genesis-java5-flava'
0331a8
Patch1:           use_parent_pom.patch
0331a8
# Remove itests due to unavailable dependencies
0331a8
Patch2:           remove-itests.patch
0331a8
BuildArch:        noarch
0331a8
0331a8
BuildRequires:    java-devel >= 1:1.6.0
0331a8
BuildRequires:    jpackage-utils
0331a8
BuildRequires:    maven-local
0331a8
BuildRequires:    felix-osgi-core
0331a8
BuildRequires:    felix-osgi-compendium
0331a8
BuildRequires:    geronimo-parent-poms
0331a8
BuildRequires:    maven-resources-plugin
0331a8
BuildRequires:    maven-surefire-provider-junit4
0331a8
0331a8
Requires:         felix-osgi-core
0331a8
Requires:         felix-osgi-compendium
0331a8
0331a8
Provides:         geronimo-osgi-locator = %{version}-%{release}
0331a8
Provides:         geronimo-osgi-registry = %{version}-%{release}
0331a8
0331a8
%description
0331a8
This project is a set of bundles and integration tests for implementing
0331a8
OSGi-specific lookup in the Geronimo spec projects.
0331a8
0331a8
0331a8
%package javadoc
0331a8
Group:            Documentation
0331a8
Summary:          Javadoc for %{name}
0331a8
0331a8
%description javadoc
0331a8
This package contains the API documentation for %{name}.
0331a8
0331a8
%prep
0331a8
%setup -q
0331a8
iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE
0331a8
sed -i 's/\r//' LICENSE NOTICE
0331a8
%patch1 -p0
0331a8
%patch2 -p0
0331a8
0331a8
%pom_xpath_inject "pom:plugin[pom:artifactId[text()='maven-bundle-plugin']]
0331a8
                       /pom:configuration/pom:instructions" "
0331a8
    <Export-Package>!*</Export-Package>" geronimo-osgi-locator
0331a8
0331a8
%mvn_file :%{registry} %{registry}
0331a8
%mvn_file :%{locator} %{locator}
0331a8
0331a8
%build
0331a8
%mvn_build
0331a8
0331a8
%install
0331a8
%mvn_install
0331a8
0331a8
%files -f .mfiles
0331a8
%doc LICENSE NOTICE
0331a8
0331a8
%files javadoc -f .mfiles-javadoc
0331a8
%doc LICENSE NOTICE
0331a8
0331a8
%changelog
0331a8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-15
0331a8
- Mass rebuild 2013-12-27
0331a8
0331a8
* Fri Aug 23 2013 Michal Srb <msrb@redhat.com> - 1.0-14
0331a8
- Migrate away from mvn-rpmbuild (Resolves: #997485)
0331a8
0331a8
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-13
0331a8
- Rebuild to regenerate API documentation
0331a8
- Resolves: CVE-2013-1571
0331a8
0331a8
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-12
0331a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0331a8
0331a8
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-11
0331a8
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
0331a8
- Replace maven BuildRequires with maven-local
0331a8
0331a8
* Fri Dec 07 2012 Jaromir Capik <jcapik@redhat.com> 1.0-10
0331a8
- Depmap removed (not needed anymore)
0331a8
- Removing EOL whitespaces in the spec file
0331a8
0331a8
* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-9
0331a8
- Fix license tag
0331a8
- Install NOTICE files
0331a8
0331a8
* Mon Aug  6 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-8
0331a8
- Add explicit OSGi export, resolves 812827
0331a8
0331a8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7
0331a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0331a8
0331a8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6
0331a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0331a8
0331a8
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.0-5
0331a8
- Build with maven 3 - site-plugin no longer works with maven2.
0331a8
- Adapt to current guidelines.
0331a8
0331a8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
0331a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0331a8
0331a8
* Mon Aug 2 2010 Chris Spike <chris.spike@arcor.de> 1.0-3
0331a8
- Removed W3C from 'License:' field (XMLSchema.dtd not existent)
0331a8
0331a8
* Thu Jul 29 2010 Chris Spike <chris.spike@arcor.de> 1.0-2
0331a8
- Fixed wrong EOL encoding in LICENSE
0331a8
- Fixed LICENSE file-not-utf8 
0331a8
- Added W3C to 'License:' field
0331a8
- Added patch explanations
0331a8
0331a8
* Mon Jul 26 2010 Chris Spike <chris.spike@arcor.de> 1.0-1
0331a8
- Initial version of the package