Projects
home:vanmeeuwen:lesb
maven-javadoc-plugin
maven-javadoc-plugin.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maven-javadoc-plugin.spec of Package maven-javadoc-plugin
%global bootstrap 0 Name: maven-javadoc-plugin Version: 2.8 Release: 1%{?dist} Summary: Maven Javadoc Plugin Group: Development/Libraries License: ASL 2.0 URL: http://maven.apache.org/plugins/maven-javadoc-plugin Source0: http://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip Patch0: remove-test-deps.patch Patch1: pom.patch BuildRequires: maven BuildRequires: maven-clean-plugin BuildRequires: maven-compiler-plugin BuildRequires: maven-install-plugin BuildRequires: maven-jar-plugin BuildRequires: maven-plugin-plugin BuildRequires: maven-resources-plugin BuildRequires: maven-surefire-plugin BuildRequires: maven-doxia-sitetools BuildRequires: maven-plugin-testing-harness BuildRequires: maven-shade-plugin BuildRequires: plexus-interactivity BuildRequires: maven-shared-invoker %if ! %{bootstrap} BuildRequires: maven-javadoc-plugin %endif Requires: jpackage-utils Requires: maven Requires: maven-shared-invoker Requires(post): jpackage-utils Requires(postun): jpackage-utils BuildArch: noarch Obsoletes: maven2-plugin-javadoc <= 2.0.8 Provides: maven2-plugin-javadoc = %{version}-%{release} %description The Maven Javadoc Plugin is a plugin that uses the javadoc tool for generating javadocs for the specified project. %if ! %{bootstrap} %package javadoc Group: Documentation Summary: Javadoc for %{name} Requires: %{name} = %{version}-%{release} Requires: jpackage-utils %description javadoc API documentation for %{name}. %endif %prep %setup -q %patch0 -b .sav # Update source for use with newer doxia #%patch1 sed -i -e "s|org.apache.maven.doxia.module.xhtml.decoration.render|org.apache.maven.doxia.sink.render|g" src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java sed -i -e "s|model>|models>|g" pom.xml %build mvn-rpmbuild \ -Dmaven.test.skip=true \ install %if ! %{bootstrap} mvn-rpmbuild \ -Dmaven.test.skip=true \ javadoc:javadoc %endif %install # jars install -d -m 0755 %{buildroot}%{_javadir} install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar %add_to_maven_depmap org.apache.maven.plugins maven-javadoc-plugin %{version} JPP maven-javadoc-plugin # poms install -d -m 755 %{buildroot}%{_mavenpomdir} install -pm 644 pom.xml \ %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %if ! %{bootstrap} # javadoc install -d -m 0755 %{buildroot}%{_javadocdir}/%{name} cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/ rm -rf target/site/api* %endif %post %update_maven_depmap %postun %update_maven_depmap %files %defattr(-,root,root,-) %{_javadir}/* %{_mavenpomdir}/* %{_mavendepmapfragdir}/* %if ! %{bootstrap} %files javadoc %defattr(-,root,root,-) %{_javadocdir}/%{name} %endif %changelog * Wed May 11 2011 Alexander Kurtakov <akurtako@redhat.com> 2.8-1 - Update to latest upstream version. - Guidelines fixes. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jul 24 2010 Alexander Kurtakov <akurtako@redhat.com> 2.7-3 - Add missing invoker requires. * Wed Jul 21 2010 Alexander Kurtakov <akurtako@redhat.com> 2.7-2 - Add missing invoker BR. * Wed Jul 21 2010 Alexander Kurtakov <akurtako@redhat.com> 2.7-1 - Update to 2.7. * Fri May 7 2010 Mary Ellen Foster <mefoster at gmail.com> - 2.4-2 - Add jpackage-utils requirements - Update requirements of javadoc subpackage * Thu May 6 2010 Mary Ellen Foster <mefoster at gmail.com> - 2.4-1 - Initial version, based on akurtakov's initial spec
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.