Blame SPECS/plexus-ant-factory.spec

bb905f
%global pkg_name plexus-ant-factory
bb905f
%{?scl:%scl_package %{pkg_name}}
bb905f
%{?maven_find_provides_and_requires}
bb905f
bb905f
# Copyright (c) 2000-2005, JPackage Project
bb905f
# All rights reserved.
bb905f
#
bb905f
# Redistribution and use in source and binary forms, with or without
bb905f
# modification, are permitted provided that the following conditions
bb905f
# are met:
bb905f
#
bb905f
# 1. Redistributions of source code must retain the above copyright
bb905f
#    notice, this list of conditions and the following disclaimer.
bb905f
# 2. Redistributions in binary form must reproduce the above copyright
bb905f
#    notice, this list of conditions and the following disclaimer in the
bb905f
#    documentation and/or other materials provided with the
bb905f
#    distribution.
bb905f
# 3. Neither the name of the JPackage Project nor the names of its
bb905f
#    contributors may be used to endorse or promote products derived
bb905f
#    from this software without specific prior written permission.
bb905f
#
bb905f
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
bb905f
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
bb905f
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
bb905f
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
bb905f
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
bb905f
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
bb905f
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
bb905f
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
bb905f
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
bb905f
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
bb905f
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bb905f
#
bb905f
bb905f
%global parent plexus
bb905f
%global subname ant-factory
bb905f
bb905f
Name:           %{?scl_prefix}%{pkg_name}
bb905f
Version:        1.0
bb905f
Release:        0.12.a2.3.14%{?dist}
bb905f
Epoch:          0
bb905f
Summary:        Plexus Ant component factory
bb905f
# Email from copyright holder confirms license.
bb905f
# See plexus-ant-factory_license_and_copyright.txt
bb905f
License:        ASL 2.0
bb905f
URL:            http://plexus.codehaus.org/
bb905f
Source0:        %{pkg_name}-src.tar.bz2
bb905f
# svn export http://svn.codehaus.org/plexus/tags/plexus-ant-factory-1.0-alpha-2.1/ plexus-ant-factory/
bb905f
# tar cjf plexus-ant-factory-src.tar.bz2 plexus-ant-factory/
bb905f
Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
bb905f
bb905f
BuildArch:      noarch
bb905f
bb905f
BuildRequires:  %{?scl_prefix}maven-local
bb905f
BuildRequires:  %{?scl_prefix}maven-compiler-plugin
bb905f
BuildRequires:  %{?scl_prefix}maven-install-plugin
bb905f
BuildRequires:  %{?scl_prefix}maven-jar-plugin
bb905f
BuildRequires:  %{?scl_prefix}maven-javadoc-plugin
bb905f
BuildRequires:  %{?scl_prefix}maven-resources-plugin
bb905f
BuildRequires:  %{?scl_prefix}maven-surefire-plugin
bb905f
BuildRequires:  %{?scl_prefix}maven-surefire-provider-junit
bb905f
BuildRequires:  %{?scl_prefix}maven-doxia-sitetools
bb905f
bb905f
BuildRequires:  %{?scl_prefix_java_common}ant
bb905f
BuildRequires:  %{?scl_prefix}plexus-classworlds
bb905f
BuildRequires:  %{?scl_prefix}plexus-containers-container-default
bb905f
BuildRequires:  %{?scl_prefix}plexus-utils
bb905f
BuildRequires:  %{?scl_prefix}plexus-component-factories-pom
bb905f
bb905f
bb905f
%description
bb905f
Ant component class creator for Plexus.
bb905f
bb905f
%package javadoc
bb905f
Summary:        Javadoc for %{pkg_name}
bb905f
bb905f
%description javadoc
bb905f
Javadoc for %{pkg_name}.
bb905f
bb905f
%prep
bb905f
%setup -q -n %{pkg_name}
bb905f
%{?scl:scl enable %{scl} - <<"EOF"}
bb905f
set -e -x
bb905f
cp %{SOURCE1} LICENSE
bb905f
%{?scl:EOF}
bb905f
bb905f
%build
bb905f
%{?scl:scl enable %{scl} - <<"EOF"}
bb905f
set -e -x
bb905f
%mvn_file  : %{parent}/%{subname}
bb905f
%mvn_build
bb905f
%{?scl:EOF}
bb905f
bb905f
%install
bb905f
%{?scl:scl enable %{scl} - <<"EOF"}
bb905f
set -e -x
bb905f
%mvn_install
bb905f
%{?scl:EOF}
bb905f
bb905f
%files -f .mfiles
bb905f
%doc LICENSE
bb905f
%dir %{_mavenpomdir}/plexus
bb905f
%dir %{_javadir}/plexus
bb905f
bb905f
%files javadoc -f .mfiles-javadoc
bb905f
%doc LICENSE
bb905f
bb905f
%changelog
bb905f
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0:1.0-0.12.a2.3.14
bb905f
- Fix BR on maven-local & co.
bb905f
bb905f
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0:1.0-0.12.a2.3.13
bb905f
- maven33 rebuild #2
bb905f
bb905f
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0:1.0-0.12.a2.3.12
bb905f
- maven33 rebuild
bb905f
bb905f
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.12.a2.3.11
bb905f
- Add directory ownership on %%{_mavenpomdir} subdir
bb905f
bb905f
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.12.a2.3.10
bb905f
- Rebuild to fix provides
bb905f
bb905f
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0:1.0-0.12.a2.3.9
bb905f
- Mass rebuild 2015-01-13
bb905f
bb905f
* Mon Jan 12 2015 Michael Simacek <msimacek@redhat.com> - 0:1.0-0.12.a2.3.8
bb905f
- Rebuild to regenerate requires from java-common
bb905f
bb905f
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0:1.0-0.12.a2.3.7
bb905f
- Mass rebuild 2015-01-06
bb905f
bb905f
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.12.a2.3.6
bb905f
- Mass rebuild 2014-05-26
bb905f
bb905f
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.12.a2.3.5
bb905f
- Mass rebuild 2014-02-19
bb905f
bb905f
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.12.a2.3.4
bb905f
- Mass rebuild 2014-02-18
bb905f
bb905f
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.12.a2.3.3
bb905f
- SCL-ize build-requires
bb905f
bb905f
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.12.a2.3.2
bb905f
- Rebuild to regenerate auto-requires
bb905f
bb905f
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.12.a2.3.1
bb905f
- First maven30 software collection build
bb905f
bb905f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.0-0.12.a2.3
bb905f
- Mass rebuild 2013-12-27
bb905f
bb905f
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.11.a2.3
bb905f
- Remove workaround for rpm bug #646523
bb905f
- Remove BR on maven2-common-poms
bb905f
bb905f
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.11.a2.2
bb905f
- Rebuild to regenerate API documentation
bb905f
- Resolves: CVE-2013-1571
bb905f
bb905f
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:1.0-0.11.a2.1
bb905f
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
bb905f
- Replace maven BuildRequires with maven-local
bb905f
bb905f
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 0:1.0-0.10.a2.1
bb905f
- Build with xmvn
bb905f
- Added BR on plexus-component-factories-pom
bb905f
bb905f
* Mon Dec 10 2012 Michal Srb <msrb@redhat.com> - 0:1.0-0.9.a2.1
bb905f
- migrated to plexus-containers-container-default (#878580)
bb905f
- using global is preferred over define when defining macros
bb905f
- removed not used custom depmap file and its occurrence in spec file
bb905f
- removed unused Ant buildfile
bb905f
- fixed release number
bb905f
bb905f
* Mon Nov 12 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.8.a2.1.4
bb905f
- Add LICENSE-2.0.txt to sources
bb905f
bb905f
* Fri Nov  9 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.8.a2.1.3
bb905f
- Install ASL 2.0 license file
bb905f
bb905f
* Fri Jul  27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-0.8.a2.1.2
bb905f
- Update to maven 3
bb905f
- Replace nonstandard groups names with standard ones
bb905f
- Drop support for non-maven build
bb905f
- Add workarounds for RPM bug
bb905f
- Cleanup according to Fedora Packaging Guidelines
bb905f
- Include missing copyright file in javadoc package
bb905f
bb905f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.7.a2.1.2
bb905f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bb905f
bb905f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.6.a2.1.2
bb905f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bb905f
bb905f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.5.a2.1.2
bb905f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bb905f
bb905f
* Wed Dec 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.4.a2.1.2
bb905f
- BR maven-doxia-sitetools.
bb905f
bb905f
* Wed Dec 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.4.a2.1.1
bb905f
- Update to 1.0 alpha 2.1.
bb905f
- Drop gcj_support.
bb905f
bb905f
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.4.a1.1.11
bb905f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bb905f
bb905f
* Sat Feb 28 2009 Deepak Bhole <dbhole@redhat.com> 1.0-0.3.a1.1.11
bb905f
- Build with maven
bb905f
bb905f
* Sat Feb 28 2009 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.3.a1.1.10
bb905f
- Rebuild
bb905f
bb905f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.a1.1.9
bb905f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bb905f
bb905f
* Wed Aug 13 2008 Deepak Bhole <dbhole@redhat.com> 1.0-0.2.a1.1.9
bb905f
- Build for ppc64
bb905f
bb905f
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-0.2.a1.1.8
bb905f
- drop repotag
bb905f
bb905f
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-0.2.a1.1jpp.7
bb905f
- include proof of license
bb905f
- fix license tag
bb905f
bb905f
* Thu Feb 28 2008 Deepak Bhole <dbhole@redhat.com> 1.0-0.2.a1.1jpp.6
bb905f
- Rebuild
bb905f
bb905f
* Fri Sep 21 2007 Deepak Bhole <dbhole@redhat.com> 1.0-0.1.a1.2jpp.5
bb905f
- ExcludeArch ppc64
bb905f
bb905f
* Mon Sep 10 2007 Deepak Bhole <dbhole@redhat.com> 1.0-0.1.a1.2jpp.4
bb905f
- Build with maven
bb905f
bb905f
* Fri Aug 31 2007 Deepak Bhole <dbhole@redhat.com> 1.0-0.1.a1.2jpp.3
bb905f
- Build without maven (to build on ppc)
bb905f
bb905f
* Tue Mar 20 2007 Deepak Bhole <dbhole@redhat.com> 1.0-0.1.a1.2jpp.2
bb905f
- Build with maven
bb905f
bb905f
* Fri Feb 23 2007 Tania Bento <tbento@redhat.com> 0:1.0-0.1.a1.2jpp.1
bb905f
- Fixed %%Release.
bb905f
- Fixed %%BuildRoot.
bb905f
- Removed %%Vendor.
bb905f
- Removed %%Distribution.
bb905f
- Removed %%post and %%postun sections for javadoc.
bb905f
- Defined _with_gcj_supoprt and _gcj_support.
bb905f
- Changed to use cp -p to preserve timestamps.
bb905f
bb905f
* Tue Oct 17 2006 Deepak Bhole <dbhole@redhat.com> 1.0-0.a1.2jpp
bb905f
- Update for maven2 9jpp.
bb905f
bb905f
* Thu Sep 07 2006 Deepak Bhole <dbhole@redhat.com> 1.0-0.a1.1jpp
bb905f
- Initial build