Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vlj:fedora14:maven2
maven-doxia
maven-doxia.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maven-doxia.spec of Package maven-doxia
# Copyright (c) 2000-2005, JPackage Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the # distribution. # 3. Neither the name of the JPackage Project nor the names of its # contributors may be used to endorse or promote products derived # from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # %global bootstrap 1 %global _mavenpomdir /usr/share/maven2/poms %global _mavendepmapfragdir /etc/maven/fragments Name: maven-doxia Version: 1.1.2 Release: 3%{?dist} Epoch: 0 Summary: Content generation framework License: ASL 2.0 Group: Development/Java URL: http://maven.apache.org/doxia/ # svn export http://svn.apache.org/repos/asf/maven/doxia/doxia/tags/doxia-1.1.2 # tar czf maven-doxia-1.1.2-tar.gz maven-doxia-1.1.2/ Source0: %{name}-%{version}.tar.gz # Point it at the correct plexus-container-default Source1: %{name}-depmap.xml # Build against iText 2.x # http://jira.codehaus.org/browse/DOXIA-53 Patch0: %{name}-itext2.patch Patch1: %{name}-remove-clirr.patch Patch2: %{name}-modello-1.0.patch Patch3: %{name}-assert.patch # Patch4: %{name}-xdoc.patch Patch5: %{name}-helpmojo.patch Patch6: %{name}-skip-plugin.patch Patch7: pom.patch Patch8: logging.patch Patch9: itext.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: java BuildRequires: jpackage-utils BuildRequires: ant, ant-nodeps BuildRequires: maven2 mvn-helper %if !%{bootstrap} BuildRequires: itext BuildRequires: plexus-cli >= 1.2-8 BuildRequires: maven2 BuildRequires: maven2-plugin-assembly BuildRequires: maven-compiler-plugin BuildRequires: maven-install-plugin BuildRequires: maven-jar-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven2-plugin-resources BuildRequires: maven-plugin-plugin BuildRequires: maven-surefire-maven-plugin BuildRequires: maven-surefire-provider-junit BuildRequires: maven-shared-reporting-impl BuildRequires: maven-doxia-sitetools BuildRequires: maven-doxia-tools BuildRequires: plexus-maven-plugin >= 0:1.2-2 BuildRequires: modello-maven-plugin >= 0:1.0-0.a8.3 BuildRequires: plexus-xmlrpc >= 0:1.0-0.b4.3 BuildRequires: tomcat5-servlet-2.4-api BuildRequires: tomcat5 BuildRequires: classworlds BuildRequires: jakarta-commons-collections BuildRequires: jakarta-commons-logging BuildRequires: jakarta-commons-validator BuildRequires: jakarta-commons-configuration BuildRequires: junit BuildRequires: oro BuildRequires: plexus-container-default BuildRequires: plexus-i18n BuildRequires: plexus-utils BuildRequires: plexus-velocity BuildRequires: plexus-build-api BuildRequires: velocity BuildRequires: fop %endif Requires: classworlds Requires: jakarta-commons-collections Requires: jakarta-commons-logging Requires: jakarta-commons-validator Requires: junit Requires: oro Requires: plexus-container-default Requires: plexus-i18n Requires: plexus-utils Requires: plexus-velocity Requires: velocity Requires: fop Requires: java Requires: jpackage-utils Requires(post): jpackage-utils >= 0:1.7.2 Requires(postun): jpackage-utils >= 0:1.7.2 %description Doxia is a content generation framework which aims to provide its users with powerful techniques for generating static and dynamic content. Doxia can be used to generate static sites in addition to being incorporated into dynamic content generation systems like blogs, wikis and content management systems. # %package javadoc # Summary: Javadoc for %{name} # Group: Development/Documentation # # %description javadoc # API documentation for %{name}. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 # %patch4 -p1 # rm -rf doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/xdoc # rm -f doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/XdocBookRenderer.java %patch6 -p1 %patch7 %patch8 %patch9 rm -fr doxia-maven-plugin mvn-helper replace -r /usr/share/maven2/bootstrap_repo/mvn-pass1/ . mvn-helper filter -f /etc/mvn-helper/config.xml . %build export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository mkdir -p $MAVEN_REPO_LOCAL # mvn-jpp \ # -e \ # -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ # -Dmaven.test.skip=true \ # -Dmaven2.jpp.depmap.file=%{SOURCE1} \ # install javadoc:javadoc mvn --settings /usr/share/maven2/conf/settings-custom.xml -Dmaven.test.skip=true install %install # # jars/poms install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name} install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms for targetdir in `find -type d -name target`; do targetdir=`echo $targetdir | sed -e s:^\./::g` modulename=`echo $targetdir | awk -F / '{print $(NF-1)}'` strippedmodulename=`echo $modulename | sed -e s:^doxia-::g` # Does the module have a jar? if [ -f $targetdir/$modulename-%{version}.jar ]; then cp -p $targetdir/$modulename-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}/$strippedmodulename-%{version}.jar fi # Skip parent pom if [ ! -z $strippedmodulename ]; then cp -p $targetdir/../pom.xml \ $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-$strippedmodulename.pom %add_to_maven_depmap org.apache.maven.doxia $modulename %{version} JPP/maven-doxia $strippedmodulename fi done # Install parent pom install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP.maven-doxia-doxia.pom %add_to_maven_depmap org.apache.maven.doxia doxia %{version} JPP/maven-doxia doxia install -pm 644 doxia-modules/pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP.maven-doxia-modules.pom %add_to_maven_depmap org.apache.maven.doxia doxia-modules %{version} JPP/maven-doxia modules install -d -m 0755 %{buildroot}/%{_datadir}/maven2/lib ln -s %{_javadir}/maven-doxia/logging-api-%version.jar $RPM_BUILD_ROOT/%{_datadir}/maven2/lib/maven-doxia_logging-api.jar # Install parent javadocs (cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; \ do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) # # # javadoc (all javadocs are contained in the main module docs dir used below) # install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} # rm -fr doxia-modules # rm -fr doxia-test-docs # for dir in doxia*; do # install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}/$dir # cp -pr $dir/target/site/apidocs/* \ # %{buildroot}%{_javadocdir}/%{name}-%{version}/$dir/ # done # ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} %post %update_maven_depmap %postun %update_maven_depmap %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_javadir}/%{name} %{_mavenpomdir}/ %{_mavendepmapfragdir}/ %{_datadir}/maven2/lib/ # %files javadoc # %defattr(-,root,root,-) # %doc %{_javadocdir}/* %changelog * Tue May 25 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.2-3 - Update for transitional maven state. - Install doxia-modules pom. * Wed May 5 2010 Mary Ellen Foster <mefoster at gmail.com> 0:1.1.2-2 - Add BuildRequirement on fop * Fri Feb 12 2010 Mary Ellen Foster <mefoster at gmail.com> 0:1.1.2-1 - Update to 1.1.2 - Add update_maven_depmap to post and postun - Temporarily disable javadoc until maven2-plugin-javadoc is rebuilt against the new doxia * Mon Dec 21 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.8.a10.4 - BR maven2-plugin-plugin. * Mon Dec 21 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.8.a10.3 - BR maven2-plugin-assembly. * Mon Dec 21 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.8.a10.2 - BR maven-surefire-provider-junit. * Tue Sep 01 2009 Andrew Overholt <overholt@redhat.com> 0:1.0-0.8.a10.1 - Add tomcat5 BR * Tue Sep 01 2009 Andrew Overholt <overholt@redhat.com> 0:1.0-0.8.a10 - Add tomcat5-servlet-2.4-api BR * Tue Sep 01 2009 Andrew Overholt <overholt@redhat.com> 0:1.0-0.7.a10 - Fix plexus-cli BR version * Mon Aug 31 2009 Andrew Overholt <overholt@redhat.com> 0:1.0-0.6.a10 - Add itext and plexus-cli BRs * Wed Aug 26 2009 Andrew Overholt <overholt@redhat.com> 0:1.0-0.5.a10 - Update to 1.0 alpha 10 courtesy of Deepak Bhole - Remove gcj support - Add patch to build against iText 2.x (with back-ported XML classes) * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.4.a7.2.10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.a7.2.10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Aug 13 2008 Deepak Bhole <dbhole@redhat.com> 1.0-0.2.a7.2.10 - Fix broken release tag * Wed Aug 13 2008 Deepak Bhole <dbhole@redhat.com> 1.0-0.2.a7.2.9 - Build for ppc64 * Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-0.2.a7.2.8 - drop repotag * Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-0.2.a7.2jpp.7 - fix license tag * Thu Feb 28 2008 Deepak Bhole <dbhole@redhat.com> 1.0-0.2.a7.2jpp.6 - Rebuild * Fri Sep 21 2007 Deepak Bhole <dbhole@redhat.com> 1.0-0.1.a7.3jpp.5 - Build with maven - ExcludeArch ppc64 * Sat Sep 01 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-0.1.a7.3jpp.4 - Rebuild without maven (fpr initial ppc build) * Tue Mar 20 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-0.1.a7.3jpp.3 - Added switch to ignore failures for the time being * Tue Mar 20 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-0.1.a7.3jpp.2 - Build with maven * Tue Feb 27 2007 Tania Bento <tbento@redhat.com> 0:1.0-0.1.a7.3jpp.1 - Fixed %%Release. - Fixed %%BuildRoot. - Removed %%Vendor. - Removed %%Distribution. - Removed %%post and %%postun sections for javadoc. - Fixed instructios on how to generate source drop. - Fixed %%Summary. - Added gcj support option. - Marked configuration file as %%config(noreplace) in %%files section. * Tue Oct 17 2006 Deepak Bhole <dbhole@redhat.com> 1.0-0.a7.3jpp - Update for maven2 9jpp * Fri Jun 23 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.a7.2jpp - Fix versions in the depmap * Wed Mar 15 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.a7.1jpp - Initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor