|
|
8a7d38 |
%global pkg_name objectweb-anttask
|
|
|
8a7d38 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
8a7d38 |
%{?maven_find_provides_and_requires}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
# Copyright (c) 2000-2005, JPackage Project
|
|
|
8a7d38 |
# All rights reserved.
|
|
|
8a7d38 |
#
|
|
|
8a7d38 |
# Redistribution and use in source and binary forms, with or without
|
|
|
8a7d38 |
# modification, are permitted provided that the following conditions
|
|
|
8a7d38 |
# are met:
|
|
|
8a7d38 |
#
|
|
|
8a7d38 |
# 1. Redistributions of source code must retain the above copyright
|
|
|
8a7d38 |
# notice, this list of conditions and the following disclaimer.
|
|
|
8a7d38 |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
8a7d38 |
# notice, this list of conditions and the following disclaimer in the
|
|
|
8a7d38 |
# documentation and/or other materials provided with the
|
|
|
8a7d38 |
# distribution.
|
|
|
8a7d38 |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
8a7d38 |
# contributors may be used to endorse or promote products derived
|
|
|
8a7d38 |
# from this software without specific prior written permission.
|
|
|
8a7d38 |
#
|
|
|
8a7d38 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
8a7d38 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
8a7d38 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
8a7d38 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
8a7d38 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
8a7d38 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
8a7d38 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
8a7d38 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
8a7d38 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
8a7d38 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
8a7d38 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
8a7d38 |
#
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%global _with_bootstrap 0
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%global with_bootstrap %{!?_with_bootstrap:0}%{?_with_bootstrap:1}
|
|
|
8a7d38 |
%global without_bootstrap %{?_with_bootstrap:0}%{!?_with_bootstrap:1}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
|
|
|
8a7d38 |
Summary: ObjectWeb Ant task
|
|
|
8a7d38 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
8a7d38 |
Version: 1.3.2
|
|
|
8a7d38 |
Release: 10.15%{?dist}
|
|
|
8a7d38 |
Epoch: 0
|
|
|
8a7d38 |
License: LGPLv2+
|
|
|
8a7d38 |
URL: http://forge.objectweb.org/projects/monolog/
|
|
|
8a7d38 |
BuildArch: noarch
|
|
|
8a7d38 |
Source0: http://download.forge.objectweb.org/monolog/ow_util_ant_tasks_1.3.2.zip
|
|
|
8a7d38 |
BuildRequires: %{?scl_prefix_java_common}ant >= 0:1.6
|
|
|
8a7d38 |
BuildRequires: %{?scl_prefix_java_common}javapackages-tools
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%if %{without_bootstrap}
|
|
|
8a7d38 |
BuildRequires: %{?scl_prefix}asm2
|
|
|
8a7d38 |
Requires: %{?scl_prefix}asm2
|
|
|
8a7d38 |
%endif
|
|
|
8a7d38 |
Requires: %{?scl_prefix_java_common}ant
|
|
|
8a7d38 |
%{?scl:Requires: %{scl_prefix}runtime}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%description
|
|
|
8a7d38 |
ObjectWeb Ant task
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%package javadoc
|
|
|
8a7d38 |
Summary: Javadoc for %{pkg_name}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%description javadoc
|
|
|
8a7d38 |
Javadoc for %{pkg_name}.
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%prep
|
|
|
8a7d38 |
%setup -c -q -n %{pkg_name}
|
|
|
8a7d38 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
8a7d38 |
set -e -x
|
|
|
8a7d38 |
|
|
|
8a7d38 |
# extract jars iff in bootstrap mode
|
|
|
8a7d38 |
%if %{without_bootstrap}
|
|
|
8a7d38 |
find . -name "*.class" -exec rm {} \;
|
|
|
8a7d38 |
find . -name "*.jar" -exec rm {} \;
|
|
|
8a7d38 |
%endif
|
|
|
8a7d38 |
%{?scl:EOF}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%build
|
|
|
8a7d38 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
8a7d38 |
set -e -x
|
|
|
8a7d38 |
export CLASSPATH=$(build-classpath asm2/asm2)
|
|
|
8a7d38 |
ant -Dbuild.compiler=modern -Dbuild.sysclasspath=first jar jdoc
|
|
|
8a7d38 |
%{?scl:EOF}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%install
|
|
|
8a7d38 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
8a7d38 |
set -e -x
|
|
|
8a7d38 |
# jars
|
|
|
8a7d38 |
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
install -m 644 output/lib/ow_util_ant_tasks.jar\
|
|
|
8a7d38 |
$RPM_BUILD_ROOT%{_javadir}/%{pkg_name}.jar
|
|
|
8a7d38 |
|
|
|
8a7d38 |
# javadoc
|
|
|
8a7d38 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
8a7d38 |
cp -pr output/jdoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir_java_common}/ant.d
|
|
|
8a7d38 |
echo "%{pkg_name}" > $RPM_BUILD_ROOT%{_sysconfdir_java_common}/ant.d/%{pkg_name}
|
|
|
8a7d38 |
%{?scl:EOF}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%files
|
|
|
8a7d38 |
%doc doc/*
|
|
|
8a7d38 |
%doc output/jdoc/*
|
|
|
8a7d38 |
%{_javadir}/*
|
|
|
8a7d38 |
%{_sysconfdir_java_common}/ant.d/*
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%files javadoc
|
|
|
8a7d38 |
%doc %{_javadocdir}/%{name}
|
|
|
8a7d38 |
|
|
|
8a7d38 |
%changelog
|
|
|
8a7d38 |
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0:1.3.2-10.15
|
|
|
8a7d38 |
- Fix BR on maven-local & co.
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0:1.3.2-10.14
|
|
|
8a7d38 |
- maven33 rebuild #2
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0:1.3.2-10.13
|
|
|
8a7d38 |
- maven33 rebuild
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Fri Jan 16 2015 Michal Srb <msrb@redhat.com> - 0:1.3.2-10.12
|
|
|
8a7d38 |
- Add missing requires on maven30-runtime
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Thu Jan 15 2015 Michael Simacek <msimacek@redhat.com> - 0:1.3.2-10.11
|
|
|
8a7d38 |
- Install ant.d files into rh-java-common's ant.d
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0:1.3.2-10.10
|
|
|
8a7d38 |
- Mass rebuild 2015-01-13
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Mon Jan 12 2015 Michael Simacek <msimacek@redhat.com> - 0:1.3.2-10.9
|
|
|
8a7d38 |
- BR/R on packages from rh-java-common
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0:1.3.2-10.8
|
|
|
8a7d38 |
- Mass rebuild 2015-01-06
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.3.2-10.7
|
|
|
8a7d38 |
- Mass rebuild 2014-05-26
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.3.2-10.6
|
|
|
8a7d38 |
- Mass rebuild 2014-02-19
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.3.2-10.5
|
|
|
8a7d38 |
- Mass rebuild 2014-02-18
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.3.2-10.4
|
|
|
8a7d38 |
- Remove requires on java
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Mon Feb 17 2014 Michal Srb <msrb@redhat.com> - 0:1.3.2-10.3
|
|
|
8a7d38 |
- SCL-ize BR/R
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.3.2-10.2
|
|
|
8a7d38 |
- Rebuild to regenerate auto-requires
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.3.2-10.1
|
|
|
8a7d38 |
- First maven30 software collection build
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.3.2-10
|
|
|
8a7d38 |
- Mass rebuild 2013-12-27
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.3.2-9
|
|
|
8a7d38 |
- Rebuild to regenerate API documentation
|
|
|
8a7d38 |
- Resolves: CVE-2013-1571
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.2-8
|
|
|
8a7d38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.2-7
|
|
|
8a7d38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.2-6
|
|
|
8a7d38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Fri Sep 16 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.2-5
|
|
|
8a7d38 |
- Adapt to current guidelines.
|
|
|
8a7d38 |
- Properly integrate with ant using /etc/ant.d.
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.2-4.5
|
|
|
8a7d38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 0:1.3.2-3.5
|
|
|
8a7d38 |
- Fix Group tags
|
|
|
8a7d38 |
- Fix Source0 URL.
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.2-3.4
|
|
|
8a7d38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.2-2.4
|
|
|
8a7d38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.3.2-1.4
|
|
|
8a7d38 |
- drop repotag
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0:1.3.2-1jpp.3
|
|
|
8a7d38 |
- fix license tag
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Wed Aug 29 2007 Deepak Bhole <dbhole@redhat.com> 0:1.3.2-1jpp.2
|
|
|
8a7d38 |
- Remove distribution tag
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Mon Feb 12 2007 Tania Bento <tbento@redhat.com> 0:1.3.2-1jpp.1
|
|
|
8a7d38 |
- Changed %%BuildRoot tag.
|
|
|
8a7d38 |
- Bootstrap Buildling.
|
|
|
8a7d38 |
- Should not touch buildroot in %%prep.
|
|
|
8a7d38 |
- Removed %%Vendor tag.
|
|
|
8a7d38 |
- Removed %%Distribution tag.
|
|
|
8a7d38 |
- Fixed %%Release tag.
|
|
|
8a7d38 |
- Fixed %%Sourcei0 tag.
|
|
|
8a7d38 |
- Added %%doc to %%files section.
|
|
|
8a7d38 |
- Edited %%doc in %%files javadoc section.
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Thu Jul 20 2006 Ralph Apel <r.apel at r-apel.de> 0:1.3.2-1jpp
|
|
|
8a7d38 |
- First JPP-1.7 release
|
|
|
8a7d38 |
- Upgrade to 1.3.2, now requires asm2
|
|
|
8a7d38 |
- Add javadoc subpackage
|
|
|
8a7d38 |
|
|
|
8a7d38 |
* Mon Sep 20 2004 Ralph Apel <r.apel at r-apel.de> 0:1.2-1jpp
|
|
|
8a7d38 |
- First JPackage release
|