Blame SPECS/plexus-cdc.spec

49f8b9
%global pkg_name plexus-cdc
49f8b9
%{?scl:%scl_package %{pkg_name}}
49f8b9
%{?maven_find_provides_and_requires}
49f8b9
49f8b9
# Copyright (c) 2000-2005, JPackage Project
49f8b9
# All rights reserved.
49f8b9
#
49f8b9
# Redistribution and use in source and binary forms, with or without
49f8b9
# modification, are permitted provided that the following conditions
49f8b9
# are met:
49f8b9
#
49f8b9
# 1. Redistributions of source code must retain the above copyright
49f8b9
#    notice, this list of conditions and the following disclaimer.
49f8b9
# 2. Redistributions in binary form must reproduce the above copyright
49f8b9
#    notice, this list of conditions and the following disclaimer in the
49f8b9
#    documentation and/or other materials provided with the
49f8b9
#    distribution.
49f8b9
# 3. Neither the name of the JPackage Project nor the names of its
49f8b9
#    contributors may be used to endorse or promote products derived
49f8b9
#    from this software without specific prior written permission.
49f8b9
#
49f8b9
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
49f8b9
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
49f8b9
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
49f8b9
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
49f8b9
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
49f8b9
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
49f8b9
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
49f8b9
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
49f8b9
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49f8b9
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
49f8b9
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
49f8b9
#
49f8b9
49f8b9
%global parent plexus
49f8b9
49f8b9
%global subname cdc
49f8b9
49f8b9
Name:           %{?scl_prefix}%{pkg_name}
49f8b9
Version:        1.0
49f8b9
Release:        0.20.a14.13%{?dist}
49f8b9
Epoch:          0
49f8b9
Summary:        Plexus Component Descriptor Creator
49f8b9
# Almost whole gleaner subpackage is ASL 2.0
49f8b9
License:        MIT and ASL 2.0
49f8b9
URL:            http://plexus.codehaus.org/
49f8b9
# svn export -r 7728 http://svn.codehaus.org/plexus/archive/plexus-tools/tags/plexus-tools-1.0.11/plexus-cdc plexus-cdc
49f8b9
# tar czf plexus-cdc-1.0-alpha-14.tar.gz plexus-cdc/
49f8b9
Source0:        %{pkg_name}-1.0-alpha-14.tar.gz
49f8b9
Source1:        %{pkg_name}-jpp-depmap.xml
49f8b9
Source2:        http://www.apache.org/licenses/LICENSE-2.0.txt
49f8b9
Patch0:         %{pkg_name}-qdox-1.9.patch
49f8b9
49f8b9
BuildArch:      noarch
49f8b9
49f8b9
BuildRequires:  %{?scl_prefix_java_common}javapackages-tools
49f8b9
BuildRequires:  %{?scl_prefix}maven-local
49f8b9
BuildRequires:  %{?scl_prefix}maven-compiler-plugin
49f8b9
BuildRequires:  %{?scl_prefix}maven-install-plugin
49f8b9
BuildRequires:  %{?scl_prefix}maven-jar-plugin
49f8b9
BuildRequires:  %{?scl_prefix}maven-javadoc-plugin
49f8b9
BuildRequires:  %{?scl_prefix}maven-resources-plugin
49f8b9
BuildRequires:  %{?scl_prefix}maven-surefire-plugin
49f8b9
BuildRequires:  %{?scl_prefix_java_common}jdom
49f8b9
BuildRequires:  %{?scl_prefix}plexus-utils
49f8b9
BuildRequires:  %{?scl_prefix}maven-doxia-sitetools
49f8b9
BuildRequires:  %{?scl_prefix_java_common}qdox
49f8b9
49f8b9
49f8b9
%description
49f8b9
The Plexus project seeks to create end-to-end developer tools for
49f8b9
writing applications. At the core is the container, which can be
49f8b9
embedded or for a full scale application server. There are many
49f8b9
reusable components for hibernate, form processing, jndi, i18n,
49f8b9
velocity, etc. Plexus also includes an application server which
49f8b9
is like a J2EE application server, without all the baggage.
49f8b9
49f8b9
%package javadoc
49f8b9
Summary:        Javadoc for %{pkg_name}
49f8b9
49f8b9
%description javadoc
49f8b9
Javadoc for %{pkg_name}.
49f8b9
49f8b9
%prep
49f8b9
%setup -q -n %{pkg_name}
49f8b9
%{?scl:scl enable %{scl} - <<"EOF"}
49f8b9
set -e -x
49f8b9
cp -p %{SOURCE2} .
49f8b9
49f8b9
%patch0 -p1
49f8b9
%{?scl:EOF}
49f8b9
49f8b9
%build
49f8b9
%{?scl:scl enable %{scl} - <<"EOF"}
49f8b9
set -e -x
49f8b9
%mvn_file  : %{parent}/%{subname}
49f8b9
%mvn_build -f
49f8b9
%{?scl:EOF}
49f8b9
49f8b9
%install
49f8b9
%{?scl:scl enable %{scl} - <<"EOF"}
49f8b9
set -e -x
49f8b9
%mvn_install
49f8b9
%{?scl:EOF}
49f8b9
49f8b9
%files -f .mfiles
49f8b9
%dir %{_mavenpomdir}/plexus
49f8b9
%dir %{_javadir}/plexus
49f8b9
%doc LICENSE-2.0.txt
49f8b9
49f8b9
%files javadoc -f .mfiles-javadoc
49f8b9
%doc LICENSE-2.0.txt
49f8b9
49f8b9
%changelog
49f8b9
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0:1.0-0.20.a14.13
49f8b9
- Fix BR on maven-local & co.
49f8b9
49f8b9
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0:1.0-0.20.a14.12
49f8b9
- maven33 rebuild #2
49f8b9
49f8b9
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0:1.0-0.20.a14.11
49f8b9
- maven33 rebuild
49f8b9
49f8b9
* Fri Jan 16 2015 Michal Srb <msrb@redhat.com> - 0:1.0-0.20.a14.10
49f8b9
- Fix directory ownership
49f8b9
49f8b9
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.20.a14.9
49f8b9
- Rebuild to fix provides
49f8b9
49f8b9
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0:1.0-0.20.a14.8
49f8b9
- Mass rebuild 2015-01-13
49f8b9
49f8b9
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0:1.0-0.20.a14.7
49f8b9
- Mass rebuild 2015-01-06
49f8b9
49f8b9
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.20.a14.6
49f8b9
- Mass rebuild 2014-05-26
49f8b9
49f8b9
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.20.a14.5
49f8b9
- Mass rebuild 2014-02-19
49f8b9
49f8b9
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.20.a14.4
49f8b9
- Mass rebuild 2014-02-18
49f8b9
49f8b9
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.20.a14.3
49f8b9
- SCL-ize build-requires
49f8b9
49f8b9
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.20.a14.2
49f8b9
- Rebuild to regenerate auto-requires
49f8b9
49f8b9
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.20.a14.1
49f8b9
- First maven30 software collection build
49f8b9
49f8b9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.0-0.20.a14
49f8b9
- Mass rebuild 2013-12-27
49f8b9
49f8b9
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.19.a14
49f8b9
- Rebuild to regenerate API documentation
49f8b9
- Resolves: CVE-2013-1571
49f8b9
49f8b9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.18.a14
49f8b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
49f8b9
49f8b9
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:1.0-0.17.a14
49f8b9
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
49f8b9
- Replace maven BuildRequires with maven-local
49f8b9
49f8b9
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 0:1.0-0.16.a14
49f8b9
- Build with xmvn
49f8b9
49f8b9
* Mon Dec 10 2012 Michal Srb <msrb@redhat.com> - 0:1.0-0.15.a14
49f8b9
- Removed dependency to plexus-container-default (Resolves: #878570)
49f8b9
- Removed forgotten older tarball from sources file
49f8b9
- Fixed various rpmlint warnings
49f8b9
49f8b9
* Mon Nov 26 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.14.a14
49f8b9
- Install license files
49f8b9
- Resolves: rhbz#880206
49f8b9
49f8b9
* Fri Oct  5 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.0-0.13.a14
49f8b9
- Fix license to MIT and ASL 2.0
49f8b9
- Small cleanups in packaging, update to current guidelines
49f8b9
49f8b9
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.12.a14
49f8b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
49f8b9
49f8b9
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.11.a14
49f8b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
49f8b9
49f8b9
* Sun Jun 12 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.10.a14
49f8b9
- Build with maven 3.x
49f8b9
49f8b9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.9.a14
49f8b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
49f8b9
49f8b9
* Thu Jun 24 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.0-0.8.a14
49f8b9
- Update qdox patch
49f8b9
49f8b9
* Thu Jun 24 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.0-0.7.a14
49f8b9
- Update to latest version, update qdox patch
49f8b9
- Cleanup specfile a bit, fix release tag
49f8b9
49f8b9
* Thu Nov 26 2009 Lubomir Rintel <lkundrak@v3.sk> 0:1.0-0.6.a10.1.3
49f8b9
- Fix NULL dereference in the qdox patch
49f8b9
49f8b9
* Mon Nov 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.5.a10.1.3
49f8b9
- BR maven-doxia-sitetools.
49f8b9
49f8b9
* Mon Nov 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.5.a10.1.2
49f8b9
- Fix build with qdox 1.9.
49f8b9
49f8b9
* Thu Aug 20 2009 Andrew Overholt <overholt@redhat.com> 1.0-0.5.a10.1.1
49f8b9
- Update to alpha 10 (courtesy Deepak Bhole)
49f8b9
- Remove gcj support
49f8b9
49f8b9
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.4.a4.1.7
49f8b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
49f8b9
49f8b9
* Mon Mar 23 2009 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.3.a4.1.7
49f8b9
- Build on ppc64
49f8b9
49f8b9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.a4.1.6
49f8b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
49f8b9
49f8b9
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-0.2.a4.1.6
49f8b9
- drop repotag
49f8b9
49f8b9
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-0.2.a4.1jpp.5
49f8b9
- Fix license tag
49f8b9
49f8b9
* Thu Feb 28 2008 Deepak Bhole <dbhole@redhat.com> 1.0-0.2.a4.1jpp.4
49f8b9
- Rebuild
49f8b9
49f8b9
* Fri Sep 21 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-0.1.a4.2jpp.3
49f8b9
- ExcludeArch ppc64
49f8b9
49f8b9
* Tue Mar 20 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-0.1.a4.2jpp.2
49f8b9
- Enable gcj
49f8b9
49f8b9
* Tue Feb 20 2007 Tania Bento <tbento@redhat.com> 0:1.0-0.1.a4.2jpp.1
49f8b9
- Fixed %%Release.
49f8b9
- Fixed %%BuildRoot.
49f8b9
- Removed %%Vendor.
49f8b9
- Removed %%Distribution.
49f8b9
- Edited instructions on how to generate the source drops.
49f8b9
- Removed %%post and %%postun sections for javadoc.
49f8b9
- Added gcj support.
49f8b9
49f8b9
* Tue Oct 17 2006 Deepak Bhole <dbhole@redhat.com> 1.0-0.a4.2jpp
49f8b9
- Update for maven2 9jpp
49f8b9
49f8b9
* Mon Jun 12 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.a4.1jpp
49f8b9
- Initial build