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