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