maven-bundle-plugin/maven-plugin-bundle.spec

120 lines
3.2 KiB
RPMSpec
Raw Normal View History

2009-09-09 18:45:59 +00:00
Name: maven-plugin-bundle
Version: 2.0.0
2011-06-16 23:59:43 +00:00
Release: 10%{?dist}
2009-09-09 18:45:59 +00:00
Summary: Maven Bundle Plugin
Group: Development/Tools
License: ASL 2.0
URL: http://felix.apache.org
Source0: http://www.apache.org/dist/felix/maven-bundle-plugin-2.0.0-project.tar.gz
BuildRequires: aqute-bndlib >= 0.0.363
BuildRequires: plexus-utils >= 1.4.5
BuildRequires: felix-osgi-obr
BuildRequires: kxml
2011-02-10 22:07:13 +00:00
BuildRequires: maven
2009-09-09 18:45:59 +00:00
BuildRequires: maven-shared-dependency-tree >= 1.1-3
BuildRequires: maven-wagon >= 1.0-0.2.b2
2010-09-09 20:42:57 +00:00
BuildRequires: maven-compiler-plugin
BuildRequires: maven-install-plugin
BuildRequires: maven-jar-plugin
BuildRequires: maven-javadoc-plugin
BuildRequires: maven-plugin-plugin
BuildRequires: maven-resources-plugin
BuildRequires: maven-surefire-plugin >= 2.3
2011-02-10 21:58:11 +00:00
BuildRequires: maven-surefire-provider-junit4 >= 2.3
2009-09-09 19:10:21 +00:00
BuildRequires: maven-doxia-sitetools
2010-12-15 19:25:33 +00:00
BuildRequires: felix-parent
2009-09-09 18:45:59 +00:00
Requires: aqute-bndlib >= 0.0.363
Requires: plexus-utils >= 1.4.5
Requires: felix-osgi-obr
Requires: kxml
2011-06-16 23:59:43 +00:00
Requires: maven
2010-09-09 20:42:57 +00:00
Requires: maven-archiver
2009-09-18 09:33:40 +00:00
Requires: maven-shared-dependency-tree
Requires: maven-wagon
Requires: plexus-archiver
Requires: plexus-containers-container-default
2010-12-15 19:25:33 +00:00
Requires: felix-parent
2009-09-09 18:45:59 +00:00
BuildArch: noarch
%description
Provides a maven plugin that supports creating an OSGi bundle
from the contents of the compilation classpath along with its
resources and dependencies. Plus a zillion other features.
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
2010-12-15 19:25:33 +00:00
Requires: jpackage-utils
2009-09-09 18:45:59 +00:00
%description javadoc
API documentation for %{name}.
%prep
%setup -q -n maven-bundle-plugin-%{version}
%build
2011-02-10 21:58:11 +00:00
mvn-rpmbuild install javadoc:javadoc
2009-09-09 18:45:59 +00:00
%install
# jars
install -d -m 0755 %{buildroot}%{_javadir}
install -m 644 target/maven-bundle-plugin-%{version}.jar \
2010-12-15 19:25:33 +00:00
$RPM_BUILD_ROOT%{_javadir}/%{name}.jar
2009-09-09 18:45:59 +00:00
%add_to_maven_depmap org.apache.felix maven-bundle-plugin %{version} JPP %{name}
# poms
2011-06-16 23:59:43 +00:00
install -d -m 755 %{buildroot}%{_mavenpomdir}
2009-09-09 18:45:59 +00:00
install -pm 644 pom.xml \
2011-06-16 23:59:43 +00:00
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
2009-09-09 18:45:59 +00:00
# javadoc
2010-12-15 19:28:29 +00:00
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
2010-12-15 19:25:33 +00:00
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
2009-09-09 18:45:59 +00:00
rm -rf target/site/api*
%post
%update_maven_depmap
%postun
%update_maven_depmap
%files
%{_javadir}/*
2010-09-09 20:42:57 +00:00
%{_mavenpomdir}/*
2009-09-09 18:45:59 +00:00
%{_mavendepmapfragdir}/*
%files javadoc
%{_javadocdir}/%{name}
%changelog
2011-06-16 23:59:43 +00:00
* Fri Jun 17 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-10
- Do not depend on maven2.
2011-02-10 21:58:11 +00:00
* Thu Feb 10 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-9
- BR maven-surefire-provider-junit4.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-15 19:25:33 +00:00
* Wed Dec 15 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-7
- BR/R felix-parent.
2010-09-09 20:42:57 +00:00
* Thu Sep 9 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-5
- Fix BuildRequires.
2009-09-18 09:33:40 +00:00
* Fri Sep 18 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-4
- Add missing Requires.
2009-09-09 19:10:21 +00:00
* Wed Sep 9 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-3
- BR doxia-sitetools.
2009-09-09 18:45:59 +00:00
* Mon Sep 7 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-2
- Fix BR/Rs.
* Thu Sep 3 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-1
- Initial import.