|
|
|
@ -1,68 +1,30 @@
|
|
|
|
|
# Copyright (c) 2000-2005, JPackage Project
|
|
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
|
# are met:
|
|
|
|
|
#
|
|
|
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
# notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
# documentation and/or other materials provided with the
|
|
|
|
|
# distribution.
|
|
|
|
|
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
|
|
# contributors may be used to endorse or promote products derived
|
|
|
|
|
# from this software without specific prior written permission.
|
|
|
|
|
#
|
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
%global parent plexus
|
|
|
|
|
%global subname ant-factory
|
|
|
|
|
|
|
|
|
|
Name: %{parent}-%{subname}
|
|
|
|
|
Version: 1.0
|
|
|
|
|
Release: 0.20.a2.2%{?dist}
|
|
|
|
|
Epoch: 0
|
|
|
|
|
Name: plexus-ant-factory
|
|
|
|
|
Version: 1.0~alpha.2.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Plexus Ant component factory
|
|
|
|
|
# Email from copyright holder confirms license.
|
|
|
|
|
# See plexus-ant-factory_license_and_copyright.txt
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
Group: Development/Tools
|
|
|
|
|
URL: http://plexus.codehaus.org/
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Source0: %{name}-src.tar.bz2
|
|
|
|
|
# svn export http://svn.codehaus.org/plexus/tags/plexus-ant-factory-1.0-alpha-2.1/ plexus-ant-factory/
|
|
|
|
|
# tar cjf plexus-ant-factory-src.tar.bz2 plexus-ant-factory/
|
|
|
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
|
|
|
|
|
BuildRequires: ant
|
|
|
|
|
BuildRequires: plexus-classworlds
|
|
|
|
|
BuildRequires: plexus-containers-container-default
|
|
|
|
|
BuildRequires: plexus-utils
|
|
|
|
|
BuildRequires: plexus-component-factories-pom
|
|
|
|
|
|
|
|
|
|
BuildRequires: mvn(org.apache.ant:ant)
|
|
|
|
|
BuildRequires: mvn(org.apache.ant:ant-launcher)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-factories:pom:)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Ant component class creator for Plexus.
|
|
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
Group: Documentation
|
|
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
|
Javadoc for %{name}.
|
|
|
|
@ -71,29 +33,29 @@ Javadoc for %{name}.
|
|
|
|
|
%setup -q -n %{name}
|
|
|
|
|
cp %{SOURCE1} LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%mvn_file : %{parent}/%{subname}
|
|
|
|
|
%mvn_file : plexus/ant-factory
|
|
|
|
|
%mvn_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%pre javadoc
|
|
|
|
|
# workaround for rpm bug, can be removed in F-20
|
|
|
|
|
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
|
|
|
|
|
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
%dir %{_javadir}/plexus
|
|
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0~alpha.2.1-2
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
|
|
|
|
|
* Wed Sep 18 2019 Marian Koncek <mkoncek@redhat.com> - 1.0~alpha.2.1-1
|
|
|
|
|
- Use tilde versioning
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.21.a2.2
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.0-0.20.a2.2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|