Blame SPECS/geronimo-osgi-support.spec

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