Blame aduna-commons-pom.spec

580186b
Name:		aduna-commons-pom
580186b
Version:	16
ccfdcd9
Release:	2%{?dist}
580186b
Summary:	Aduna Commons parent pom
580186b
580186b
Group:		Development/Libraries
580186b
License:	BSD
580186b
URL:		http://www.aduna-software.com/
580186b
Source0:	http://repo.aduna-software.org/maven2/releases/info/aduna/commons/aduna-commons/%{version}/aduna-commons-%{version}.pom
580186b
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
580186b
580186b
Requires:	aduna-root-poms
580186b
580186b
BuildRequires:	jpackage-utils >= 0:1.7.5
580186b
Requires:	jpackage-utils >= 0:1.7.5
580186b
Requires(post):	jpackage-utils >= 0:1.7.5
580186b
Requires(postun):	jpackage-utils >= 0:1.7.5
580186b
580186b
# Requirements from the POM
580186b
Requires:	maven2-plugin-compiler
580186b
Requires:	maven-plugin-bundle
580186b
Requires:	maven2-plugin-javadoc
580186b
580186b
BuildArch:	noarch
580186b
580186b
%description
580186b
%{summary}.
580186b
580186b
%prep
580186b
%setup -c -T
580186b
cp %SOURCE0 .
580186b
580186b
%build
580186b
# Nothing to do ...
580186b
580186b
%install
580186b
rm -rf $RPM_BUILD_ROOT
580186b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
580186b
install -pm 644 aduna-commons-%{version}.pom \
580186b
	$RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-aduna-commons.pom
580186b
580186b
%add_to_maven_depmap info.aduna.commons aduna-commons %{version} JPP aduna-commons
580186b
580186b
%post
580186b
%update_maven_depmap
580186b
580186b
%postun
580186b
%update_maven_depmap
580186b
580186b
%clean
580186b
rm -rf $RPM_BUILD_ROOT
580186b
580186b
580186b
%files
580186b
%defattr(-,root,root,-)
580186b
%{_mavendepmapfragdir}/*
580186b
%{_datadir}/maven2/poms/*.pom
580186b
580186b
%changelog
ccfdcd9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 16-2
ccfdcd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ccfdcd9
580186b
* Wed Feb  3 2010 Mary Ellen Foster <mefoster at gmail.com> 16-1
580186b
- Update to new upstream version with license information included
580186b
- Add all plugins from the POM as Requirements
580186b
- Fix URL
580186b
580186b
* Fri Nov 20 2009 Mary Ellen Foster <mefoster at gmail.com> 14-1
580186b
- Initial package