Blame SPECS/plexus-resources.spec

4a87d3
%global pkg_name plexus-resources
4a87d3
%{?scl:%scl_package %{pkg_name}}
4a87d3
%{?maven_find_provides_and_requires}
4a87d3
4a87d3
# Copyright (c) 2000-2005, JPackage Project
4a87d3
# All rights reserved.
4a87d3
#
4a87d3
# Redistribution and use in source and binary forms, with or without
4a87d3
# modification, are permitted provided that the following conditions
4a87d3
# are met:
4a87d3
#
4a87d3
# 1. Redistributions of source code must retain the above copyright
4a87d3
#    notice, this list of conditions and the following disclaimer.
4a87d3
# 2. Redistributions in binary form must reproduce the above copyright
4a87d3
#    notice, this list of conditions and the following disclaimer in the
4a87d3
#    documentation and/or other materials provided with the
4a87d3
#    distribution.
4a87d3
# 3. Neither the name of the JPackage Project nor the names of its
4a87d3
#    contributors may be used to endorse or promote products derived
4a87d3
#    from this software without specific prior written permission.
4a87d3
#
4a87d3
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4a87d3
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4a87d3
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4a87d3
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
4a87d3
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4a87d3
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
4a87d3
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4a87d3
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4a87d3
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4a87d3
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4a87d3
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4a87d3
#
4a87d3
4a87d3
%global parent plexus
4a87d3
%global subname resources
4a87d3
%global namedversion 1.0-alpha-7
4a87d3
4a87d3
Name:           %{?scl_prefix}%{pkg_name}
4a87d3
Version:        1.0
4a87d3
Release:        0.15.a7.14%{?dist}
4a87d3
Summary:        Plexus Resource Manager
4a87d3
License:        MIT
4a87d3
URL:            http://plexus.codehaus.org/
4a87d3
# svn export http://svn.codehaus.org/plexus/plexus-components/tags/plexus-resources-1.0-alpha-7/
4a87d3
# tar caf plexus-resources-1.0-alpha-7-src.tar.xz plexus-resources-1.0-alpha-7
4a87d3
Source0:        %{pkg_name}-%{version}-alpha-7-src.tar.xz
4a87d3
4a87d3
BuildRequires:  %{?scl_prefix_java_common}javapackages-tools
4a87d3
BuildRequires:  %{?scl_prefix_java_common}ant >= 0:1.6
4a87d3
BuildRequires:  %{?scl_prefix}maven-local
4a87d3
BuildRequires:  %{?scl_prefix}maven-compiler-plugin
4a87d3
BuildRequires:  %{?scl_prefix}maven-install-plugin
4a87d3
BuildRequires:  %{?scl_prefix}maven-jar-plugin
4a87d3
BuildRequires:  %{?scl_prefix}maven-javadoc-plugin
4a87d3
BuildRequires:  %{?scl_prefix}maven-release-plugin
4a87d3
BuildRequires:  %{?scl_prefix}maven-resources-plugin
4a87d3
BuildRequires:  %{?scl_prefix}maven-surefire-plugin
4a87d3
BuildRequires:  %{?scl_prefix}maven-surefire-provider-junit
4a87d3
BuildRequires:  %{?scl_prefix}plexus-containers-container-default
4a87d3
BuildRequires:  %{?scl_prefix}plexus-utils
4a87d3
4a87d3
BuildArch:      noarch
4a87d3
4a87d3
%description
4a87d3
The Plexus project seeks to create end-to-end developer tools for
4a87d3
writing applications. At the core is the container, which can be
4a87d3
embedded or for a full scale application server. There are many
4a87d3
reusable components for hibernate, form processing, jndi, i18n,
4a87d3
velocity, etc. Plexus also includes an application server which
4a87d3
is like a J2EE application server, without all the baggage.
4a87d3
4a87d3
%package javadoc
4a87d3
Summary:        Javadoc for %{pkg_name}
4a87d3
4a87d3
%description javadoc
4a87d3
API documentation for %{pkg_name}.
4a87d3
4a87d3
%prep
4a87d3
%setup -q -n %{pkg_name}-%{namedversion}
4a87d3
4a87d3
%build
4a87d3
%{?scl:scl enable %{scl} - <<"EOF"}
4a87d3
set -e -x
4a87d3
%mvn_file  : %{parent}/%{subname}
4a87d3
%mvn_build -f
4a87d3
%{?scl:EOF}
4a87d3
4a87d3
%install
4a87d3
%{?scl:scl enable %{scl} - <<"EOF"}
4a87d3
set -e -x
4a87d3
%mvn_install
4a87d3
%{?scl:EOF}
4a87d3
4a87d3
%files -f .mfiles
4a87d3
%dir %{_mavenpomdir}/plexus
4a87d3
%dir %{_javadir}/plexus
4a87d3
4a87d3
%files javadoc -f .mfiles-javadoc
4a87d3
4a87d3
%changelog
4a87d3
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1.0-0.15.a7.14
4a87d3
- Fix BR on maven-local & co.
4a87d3
4a87d3
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1.0-0.15.a7.13
4a87d3
- maven33 rebuild #2
4a87d3
4a87d3
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1.0-0.15.a7.12
4a87d3
- maven33 rebuild
4a87d3
4a87d3
* Fri Jan 16 2015 Michal Srb <msrb@redhat.com> - 1.0-0.15.a7.11
4a87d3
- Fix directory ownership
4a87d3
4a87d3
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.15.a7.10
4a87d3
- Rebuild to fix provides
4a87d3
4a87d3
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.0-0.15.a7.9
4a87d3
- Mass rebuild 2015-01-13
4a87d3
4a87d3
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 1.0-0.15.a7.8
4a87d3
- Mass rebuild 2015-01-06
4a87d3
4a87d3
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.15.a7.7
4a87d3
- Mass rebuild 2014-05-26
4a87d3
4a87d3
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.15.a7.6
4a87d3
- Mass rebuild 2014-02-19
4a87d3
4a87d3
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.15.a7.5
4a87d3
- Mass rebuild 2014-02-18
4a87d3
4a87d3
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.15.a7.4
4a87d3
- Remove requires on java
4a87d3
4a87d3
* Mon Feb 17 2014 Michal Srb <msrb@redhat.com> - 1.0-0.15.a7.3
4a87d3
- SCL-ize BR
4a87d3
4a87d3
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.15.a7.2
4a87d3
- Rebuild to regenerate auto-requires
4a87d3
4a87d3
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.15.a7.1
4a87d3
- First maven30 software collection build
4a87d3
4a87d3
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-0.15.a7
4a87d3
- Mass rebuild 2013-12-27
4a87d3
4a87d3
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.14.a7
4a87d3
- Rebuild to regenerate API documentation
4a87d3
- Resolves: CVE-2013-1571
4a87d3
4a87d3
* Fri Feb 08 2013 Michal Srb <msrb@redhat.com> - 1.0-0.13.a7
4a87d3
- Remove unnecessary BR on maven-doxia and maven-doxia-sitetools
4a87d3
4a87d3
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-0.12.a7
4a87d3
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
4a87d3
- Replace maven BuildRequires with maven-local
4a87d3
4a87d3
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 1.0-0.11.a7
4a87d3
- Build with xmvn
4a87d3
4a87d3
* Thu Nov 22 2012 Jaromir Capik <jcapik@redhat.com> - 1.0-0.10.a7
4a87d3
- Migration to plexus-containers-container-default
4a87d3
4a87d3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.9.a7
4a87d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4a87d3
4a87d3
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.8.a7
4a87d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4a87d3
4a87d3
* Mon Oct 17 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-0.7.a7
4a87d3
- Rebuild for java 1.6.0 downgrade
4a87d3
4a87d3
* Wed Jul 27 2011 Jaromir Capik <jcapik@redhat.com> - 1.0-0.6.a7
4a87d3
- Removal of plexus-maven-plugin dependency (not needed)
4a87d3
- Minor spec file changes according to the latest guidelines
4a87d3
4a87d3
* Sun Jun 12 2011 Alexander Kurtakov <akurtako@redhat.com> 1.0-0.5.a7
4a87d3
- Build with maven 3.x
4a87d3
4a87d3
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.4.a7
4a87d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4a87d3
4a87d3
* Wed Aug 25 2010 Alexander Kurtakov <akurtako@redhat.com> 1.0-0.3.a7
4a87d3
- Update to alpha 7.
4a87d3
- Apply patch to fix rhbz#621714.
4a87d3
- Use global instead of define.
4a87d3
- Drop ant build - broken after update.
4a87d3
4a87d3
* Wed Aug 26 2009 Andrew Overholt <overholt@redhat.com> 1.0-0.2.a4
4a87d3
- Fix release and defattr
4a87d3
- Make -javadoc description better
4a87d3
4a87d3
* Tue Aug 25 2009 Andrew Overholt <overholt@redhat.com> 1.0-0.1.a4.5
4a87d3
- Remove gcj support
4a87d3
- Fix license tag
4a87d3
- Improve source build instructions
4a87d3
- Remove "excalibur-" prefix from two BRs
4a87d3
4a87d3
* Thu Mar 20 2009 Yong Yang <yyang@redhat.com> 0:1.0-0.1.a4.4
4a87d3
- Build with maven2-2.0.8 built in non-bootstrap mode
4a87d3
- Add some missing BRs
4a87d3
4a87d3
* Thu Mar 20 2009 Yong Yang <yyang@redhat.com> 0:1.0-0.1.a10.3
4a87d3
- Build with maven2 2.0.8
4a87d3
4a87d3
* Tue Jan 20 2009 Yong Yang <yyang@redhat.com> 0:1.0-0.1.a4.2jpp.1
4a87d3
- Import from dbhole's maven 2.0.8 packages
4a87d3
- Merge with JPP-5
4a87d3
4a87d3
* Fri Sep 21 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-0.1.a4.2jpp.3
4a87d3
- ExcludeArch ppc64
4a87d3
4a87d3
* Tue Mar 20 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-0.1.a4.2jpp.2
4a87d3
- Enable gcj
4a87d3
4a87d3
* Tue Feb 20 2007 Tania Bento <tbento@redhat.com> 0:1.0-0.1.a4.2jpp.1
4a87d3
- Fixed %%Release.
4a87d3
- Fixed %%BuildRoot.
4a87d3
- Removed %%Vendor.
4a87d3
- Removed %%Distribution.
4a87d3
- Edited instructions on how to generate the source drops.
4a87d3
- Removed %%post and %%postun sections for javadoc.
4a87d3
- Added gcj support.
4a87d3
4a87d3
* Tue Oct 17 2006 Deepak Bhole <dbhole@redhat.com> 1.0-0.a4.2jpp
4a87d3
- Update for maven2 9jpp
4a87d3
4a87d3
* Mon Jun 12 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.a4.1jpp
4a87d3
- Initial build