Blame SPECS/maven-jxr.spec

d76d99
%global pkg_name maven-jxr
d76d99
%{?scl:%scl_package %{pkg_name}}
d76d99
%{?maven_find_provides_and_requires}
d76d99
d76d99
# Copyright (c) 2000-2005, JPackage Project
d76d99
# All rights reserved.
d76d99
#
d76d99
# Redistribution and use in source and binary forms, with or without
d76d99
# modification, are permitted provided that the following conditions
d76d99
# are met:
d76d99
#
d76d99
# 1. Redistributions of source code must retain the above copyright
d76d99
#    notice, this list of conditions and the following disclaimer.
d76d99
# 2. Redistributions in binary form must reproduce the above copyright
d76d99
#    notice, this list of conditions and the following disclaimer in the
d76d99
#    documentation and/or other materials provided with the
d76d99
#    distribution.
d76d99
# 3. Neither the name of the JPackage Project nor the names of its
d76d99
#    contributors may be used to endorse or promote products derived
d76d99
#    from this software without specific prior written permission.
d76d99
#
d76d99
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
d76d99
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
d76d99
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
d76d99
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
d76d99
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
d76d99
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
d76d99
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
d76d99
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
d76d99
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
d76d99
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
d76d99
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
d76d99
#
d76d99
d76d99
Name:           %{?scl_prefix}%{pkg_name}
d76d99
Version:        2.3
d76d99
Release:        11.12%{?dist}
d76d99
Epoch:          0
d76d99
Summary:        Source cross referencing tool
d76d99
# BSD: maven-jxr/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java
d76d99
License:        ASL 2.0 and BSD
d76d99
URL:            http://maven.apache.org/doxia/
d76d99
d76d99
Source0:        http://repo2.maven.org/maven2/org/apache/maven/jxr/jxr/%{version}/jxr-%{version}-source-release.zip
d76d99
# taken from maven-jxr/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java
d76d99
Source1:        LICENSE-BSD
d76d99
d76d99
BuildArch:      noarch
d76d99
d76d99
BuildRequires:  %{?scl_prefix}maven-local
d76d99
BuildRequires:  %{?scl_prefix_java_common}mvn(commons-io:commons-io)
d76d99
BuildRequires:  %{?scl_prefix_java_common}mvn(commons-lang:commons-lang)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.doxia:doxia-sink-api)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.doxia:doxia-site-renderer)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.reporting:maven-reporting-api)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.reporting:maven-reporting-impl)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.wagon:wagon-provider-api)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-model)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-parent:pom:)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-project)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.apache.velocity:velocity)
d76d99
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
d76d99
BuildRequires:  %{?scl_prefix_java_common}mvn(oro:oro)
d76d99
BuildRequires:  %{?scl_prefix_java_common}mvn(xalan:xalan)
d76d99
BuildRequires:  %{?scl_prefix_java_common}mvn(xml-apis:xml-apis)
d76d99
d76d99
%description
d76d99
Maven JXR is a source cross referencing tool.
d76d99
d76d99
%package javadoc
d76d99
Summary:        Javadoc for %{pkg_name}
d76d99
d76d99
%description javadoc
d76d99
API documentation for %{pkg_name}.
d76d99
d76d99
%package -n %{?scl_prefix}maven-plugin-jxr
d76d99
Summary:        Maven plugin for JXR
d76d99
Requires:       %{name} = %{version}-%{release}
d76d99
d76d99
%description -n %{?scl_prefix}maven-plugin-jxr
d76d99
Maven plugin for JXR.
d76d99
d76d99
%prep
d76d99
%setup -q -n jxr-%{version}
d76d99
%{?scl:scl enable %{scl} - <<"EOF"}
d76d99
set -e -x
d76d99
d76d99
cp %{SOURCE1} .
d76d99
d76d99
# Missing dependency
d76d99
%pom_add_dep oro:oro maven-jxr
d76d99
d76d99
%mvn_package :maven-jxr-plugin maven-plugin-jxr
d76d99
d76d99
# maven-core has scope "provided" in Plugin Testing Harness, so we
d76d99
# need to provide it or tests will fail to compile.  This works for
d76d99
# upstream because upstream uses a different version of Plugin Testing
d76d99
# Harness in which scope of maven-core dependency is "compile".
d76d99
%pom_xpath_inject pom:project "<dependencies/>"
d76d99
%pom_add_dep org.apache.maven:maven-core::test
d76d99
%{?scl:EOF}
d76d99
d76d99
%build
d76d99
%{?scl:scl enable %{scl} - <<"EOF"}
d76d99
set -e -x
d76d99
# The test failures seem to have something to do with:
d76d99
# http://jira.codehaus.org/browse/MCHANGES-88
d76d99
# We can investigate when we upgrade to 2.2.x to see if they still occur.
d76d99
# Update: Seems that tests fail because they are trying to access
d76d99
# plexus component descriptors which seem to be different?
d76d99
%mvn_build -f
d76d99
%{?scl:EOF}
d76d99
d76d99
%install
d76d99
%{?scl:scl enable %{scl} - <<"EOF"}
d76d99
set -e -x
d76d99
%mvn_install
d76d99
%{?scl:EOF}
d76d99
d76d99
%files -f .mfiles
d76d99
%dir %{_mavenpomdir}/%{pkg_name}
d76d99
%dir %{_javadir}/%{pkg_name}
d76d99
%doc LICENSE LICENSE-BSD NOTICE
d76d99
d76d99
%files javadoc -f .mfiles-javadoc
d76d99
%doc LICENSE LICENSE-BSD NOTICE
d76d99
d76d99
%files -n %{?scl_prefix}maven-plugin-jxr -f .mfiles-maven-plugin-jxr
d76d99
d76d99
%changelog
d76d99
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0:2.3-11.12
d76d99
- Fix BR on maven-local & co.
d76d99
d76d99
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0:2.3-11.11
d76d99
- maven33 rebuild #2
d76d99
d76d99
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0:2.3-11.10
d76d99
- maven33 rebuild
d76d99
d76d99
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-11.9
d76d99
- Add directory ownership on %%{_mavenpomdir} subdir
d76d99
d76d99
* Wed Jan 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-11.8
d76d99
- Fix BR on maven-parent POM
d76d99
d76d99
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0:2.3-11.8
d76d99
- Mass rebuild 2015-01-13
d76d99
d76d99
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0:2.3-11.7
d76d99
- Mass rebuild 2015-01-06
d76d99
d76d99
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-11.6
d76d99
- Mass rebuild 2014-05-26
d76d99
d76d99
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-11.5
d76d99
- Mass rebuild 2014-02-19
d76d99
d76d99
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-11.4
d76d99
- Mass rebuild 2014-02-18
d76d99
d76d99
* Fri Feb 14 2014 Michael Simacek <msimacek@redhat.com> - 0:2.3-11.3
d76d99
- SCL-ize BR's
d76d99
- SCL-ize plugin subpackage
d76d99
d76d99
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-11.2
d76d99
- Rebuild to regenerate auto-requires
d76d99
d76d99
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-11.1
d76d99
- First maven30 software collection build
d76d99
d76d99
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 02.3-11
d76d99
- Mass rebuild 2013-12-27
d76d99
d76d99
* Tue Jul 23 2013 Michal Srb <msrb@redhat.com> - 0:2.3-10
d76d99
- Build with XMvn
d76d99
- Add BSD license text
d76d99
- Drop group tag
d76d99
- Replace patch with %%pom_ macro
d76d99
- Fix BR
d76d99
d76d99
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-9
d76d99
- Remove workaround for rpm bug #646523
d76d99
d76d99
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-8
d76d99
- Rebuild to regenerate API documentation
d76d99
- Resolves: CVE-2013-1571
d76d99
d76d99
* Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.3-7
d76d99
- Add maven-core to test dependencies
d76d99
- Resolves: rhbz#914171
d76d99
d76d99
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.3-6
d76d99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d76d99
d76d99
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:2.3-5
d76d99
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
d76d99
- Replace maven BuildRequires with maven-local
d76d99
d76d99
* Wed Nov 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.3-4
d76d99
- Install license files and add BSD to license tag (#876984)
d76d99
d76d99
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.3-3
d76d99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d76d99
d76d99
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.3-2
d76d99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d76d99
d76d99
* Wed Jul 20 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.3-1
d76d99
- Update to upstream 2.3. release.
d76d99
d76d99
* Sun Mar 13 2011 Mat Booth <fedora@matbooth.co.uk> 0:2.2-3
d76d99
- Maven plug-in sub-package should require the core package.
d76d99
- Use _mavenpomdir macro.
d76d99
- Don't install versioned javadocs.
d76d99
d76d99
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.2-2
d76d99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d76d99
d76d99
* Fri Dec 17 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.2-1
d76d99
- Update to upstream 2.2.
d76d99
- Adapt to current guidelines.
d76d99
d76d99
* Tue Sep  7 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.1-7
d76d99
- Fix build bug (javadoc:aggregate)
d76d99
d76d99
* Sat Sep 12 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-6
d76d99
- Install maven-jxr parent pom.
d76d99
d76d99
* Sat Sep 12 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-5
d76d99
- Fix jxr plugin pom name.
d76d99
d76d99
* Fri Sep 11 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-4
d76d99
- Add BR for maven2-plugin.site.
d76d99
- BR tomcat5-servlet-api.
d76d99
- BR tomcat5.eclipse-subclipse - update to 1.6.16 in both rawhide and F-14
d76d99
- BR maven-surefire-provider-junit.
d76d99
- BR maven-plugin-plugin.
d76d99
- BR maven-shared-plugin-testing-harness.
d76d99
d76d99
* Fri Sep 11 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-3
d76d99
- Add BR for doxia-sitetools.
d76d99
d76d99
* Fri Sep 11 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-2
d76d99
- Fix depmap for the plugin.
d76d99
d76d99
* Thu Sep 10 2009 Andrew Overholt <overholt@redhat.com> 2.1-1
d76d99
- 2.1
d76d99
- Add maven-plugin-jxr.
d76d99
d76d99
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-4.8
d76d99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d76d99
d76d99
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-3.8
d76d99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d76d99
d76d99
* Wed Aug 13 2008 Deepak Bhole <dbhole@redhat.com> 1.0-2.8
d76d99
- Build for ppc64
d76d99
d76d99
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-2.7
d76d99
- drop repotag
d76d99
d76d99
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-2jpp.6
d76d99
- fix license tag
d76d99
d76d99
* Thu Feb 28 2008 Deepak Bhole <dbhole@redhat.com> 1.0-2jpp.5
d76d99
- Rebuild
d76d99
d76d99
* Fri Sep 21 2007 Deepak Bhole <dbhole@redhat.com> 1.0-2jpp.4
d76d99
- Build without maven
d76d99
- ExcludeArch ppc64
d76d99
d76d99
* Fri Aug 31 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-2jpp.3
d76d99
- Build without maven (for initial ppc build)
d76d99
d76d99
* Tue Mar 20 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-2jpp.2
d76d99
- Build with maven
d76d99
d76d99
* Tue Feb 27 2007 Tania Bento <tbento@redhat.com> 0:1.0-2jpp.1
d76d99
- Fixed %%Release.
d76d99
- Fixed %%BuildRoot.
d76d99
- Removed period from %%Summary.
d76d99
- Removed %%Vendor.
d76d99
- Removed %%Distribution.
d76d99
- Removed %%post and %%postun sections for javadoc.
d76d99
- Added gcj support option.
d76d99
- Fixed instructions on how to generate source drops.
d76d99
d76d99
* Tue Oct 17 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.0-2jpp
d76d99
- Update for maven 9jpp.
d76d99
d76d99
* Fri Jun 16 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.0-1jpp
d76d99
- Initial build