4bb717
%global site_name org.apache.felix.utils
4bb717
%global grp_name  felix
4bb717
4bb717
Name:             felix-utils
4bb717
Version:          1.2.0
4bb717
Release:          5%{?dist}
4bb717
Summary:          Utility classes for OSGi
4bb717
License:          ASL 2.0
4bb717
Group:            Development/Libraries
4bb717
URL:              http://felix.apache.org
4bb717
4bb717
Source0:          http://archive.apache.org/dist/%{grp_name}/%{site_name}-%{version}-source-release.tar.gz
4bb717
4bb717
BuildArch:        noarch
4bb717
4bb717
BuildRequires:    java-devel
4bb717
BuildRequires:    maven-local
4bb717
BuildRequires:    jpackage-utils
4bb717
BuildRequires:    felix-osgi-compendium
4bb717
BuildRequires:    felix-osgi-core
4bb717
BuildRequires:    felix-parent
4bb717
BuildRequires:    maven-clean-plugin
4bb717
BuildRequires:    maven-surefire-provider-junit4
4bb717
4bb717
%description
4bb717
Utility classes for OSGi
4bb717
4bb717
%package javadoc
4bb717
Summary:          API documentation for %{name}
4bb717
Group:            Documentation
4bb717
4bb717
%description javadoc
4bb717
This package contains the API documentation for %{name}.
4bb717
4bb717
%prep
4bb717
%setup -q -n %{site_name}-%{version}
4bb717
4bb717
# Remove compiler plugin so default target of 1.5 is used
4bb717
%pom_remove_plugin :maven-compiler-plugin
4bb717
# Remove rat plugin that is not in Fedora
4bb717
%pom_remove_plugin org.codehaus.mojo:rat-maven-plugin
4bb717
4bb717
%mvn_file : %{grp_name}/%{name}
4bb717
4bb717
%build
4bb717
%mvn_build -- -Dmaven.test.failure.ignore=true
4bb717
4bb717
%install
4bb717
%mvn_install
4bb717
4bb717
%files -f .mfiles
4bb717
%doc LICENSE NOTICE DEPENDENCIES
4bb717
4bb717
%files javadoc -f .mfiles-javadoc
4bb717
%doc LICENSE NOTICE
4bb717
4bb717
%changelog
4bb717
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.0-5
4bb717
- Mass rebuild 2013-12-27
4bb717
4bb717
* Wed Sep 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-4
4bb717
- Add missing BR: felix-parent
4bb717
4bb717
* Thu Aug 22 2013 Michal Srb <msrb@redhat.com> - 1.2.0-3
4bb717
- Migrate away from mvn-rpmbuild (Resolves: #997475)
4bb717
4bb717
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-2
4bb717
- Rebuild to regenerate API documentation
4bb717
- Resolves: CVE-2013-1571
4bb717
4bb717
* Wed Apr 17 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2.0-1
4bb717
- Update to latest upstream version rhbz #892553.
4bb717
- Drop patch, use preferred %%pom_* macros instead.
4bb717
4bb717
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-9
4bb717
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4bb717
4bb717
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.1.0-8
4bb717
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
4bb717
- Replace maven BuildRequires with maven-local
4bb717
4bb717
* Thu Jan 03 2013 Jaromir Capik <jcapik@redhat.com> - 1.1.0-7
4bb717
- Changing target from jsr14 to 1.5 (#842593)
4bb717
4bb717
* Tue Sep  4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.0-6
4bb717
- Install NOTICE with javadoc pakcage
4bb717
4bb717
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
4bb717
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4bb717
4bb717
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
4bb717
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4bb717
4bb717
* Thu Oct 13 2011 Jaromir Capik <jcapik@redhat.com> - 1.1.0-3
4bb717
- osgi.org groupId patch removed (fixed in felix-osgi-* packages)
4bb717
4bb717
* Wed Sep 08 2011 Jaromir Capik <jcapik@redhat.com> - 1.1.0-2
4bb717
- Moved to felix subdir
4bb717
- Minor spec file changes
4bb717
4bb717
* Wed Jul 13 2011 Jaromir Capik <jcapik@redhat.com> - 1.1.0-1
4bb717
- Initial version