|
|
65b2ff |
# Copyright (c) 2000-2005, JPackage Project
|
|
|
65b2ff |
# All rights reserved.
|
|
|
65b2ff |
#
|
|
|
65b2ff |
# Redistribution and use in source and binary forms, with or without
|
|
|
65b2ff |
# modification, are permitted provided that the following conditions
|
|
|
65b2ff |
# are met:
|
|
|
65b2ff |
#
|
|
|
65b2ff |
# 1. Redistributions of source code must retain the above copyright
|
|
|
65b2ff |
# notice, this list of conditions and the following disclaimer.
|
|
|
65b2ff |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
65b2ff |
# notice, this list of conditions and the following disclaimer in the
|
|
|
65b2ff |
# documentation and/or other materials provided with the
|
|
|
65b2ff |
# distribution.
|
|
|
65b2ff |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
65b2ff |
# contributors may be used to endorse or promote products derived
|
|
|
65b2ff |
# from this software without specific prior written permission.
|
|
|
65b2ff |
#
|
|
|
65b2ff |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
65b2ff |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
65b2ff |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
65b2ff |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
65b2ff |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
65b2ff |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
65b2ff |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
65b2ff |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
65b2ff |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
65b2ff |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
65b2ff |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
65b2ff |
#
|
|
|
65b2ff |
|
|
|
65b2ff |
%define parent plexus
|
|
|
65b2ff |
%define subname velocity
|
|
|
65b2ff |
|
|
|
65b2ff |
Name: plexus-velocity
|
|
|
65b2ff |
Version: 1.1.8
|
|
|
65b2ff |
Release: 16%{?dist}
|
|
|
65b2ff |
Epoch: 0
|
|
|
65b2ff |
Summary: Plexus Velocity Component
|
|
|
65b2ff |
License: ASL 2.0
|
|
|
65b2ff |
Group: Development/Java
|
|
|
65b2ff |
URL: http://plexus.codehaus.org/
|
|
|
65b2ff |
# svn export http://svn.codehaus.org/plexus/plexus-components/tags/plexus-velocity-1.1.8/
|
|
|
65b2ff |
# tar czf plexus-velocity-1.1.8-src.tar.gz plexus-velocity-1.1.8/
|
|
|
65b2ff |
Source0: plexus-velocity-%{version}-src.tar.gz
|
|
|
65b2ff |
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
65b2ff |
|
|
|
65b2ff |
BuildArch: noarch
|
|
|
65b2ff |
BuildRequires: jpackage-utils >= 0:1.7.2
|
|
|
65b2ff |
BuildRequires: ant >= 0:1.6
|
|
|
65b2ff |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
65b2ff |
BuildRequires: maven-local
|
|
|
65b2ff |
BuildRequires: maven-compiler-plugin
|
|
|
65b2ff |
BuildRequires: maven-install-plugin
|
|
|
65b2ff |
BuildRequires: maven-jar-plugin
|
|
|
65b2ff |
BuildRequires: maven-javadoc-plugin
|
|
|
65b2ff |
BuildRequires: maven-resources-plugin
|
|
|
65b2ff |
BuildRequires: maven-surefire-plugin
|
|
|
65b2ff |
BuildRequires: maven-surefire-provider-junit
|
|
|
65b2ff |
BuildRequires: maven-doxia-sitetools
|
|
|
65b2ff |
BuildRequires: ant-contrib
|
|
|
65b2ff |
BuildRequires: classworlds >= 0:1.1
|
|
|
65b2ff |
BuildRequires: apache-commons-collections
|
|
|
65b2ff |
BuildRequires: plexus-containers-container-default
|
|
|
65b2ff |
BuildRequires: plexus-utils
|
|
|
65b2ff |
BuildRequires: velocity
|
|
|
65b2ff |
Requires: classworlds >= 0:1.1
|
|
|
65b2ff |
Requires: apache-commons-collections
|
|
|
65b2ff |
Requires: plexus-containers-container-default
|
|
|
65b2ff |
Requires: plexus-utils
|
|
|
65b2ff |
Requires: velocity
|
|
|
65b2ff |
|
|
|
65b2ff |
%description
|
|
|
65b2ff |
The Plexus project seeks to create end-to-end developer tools for
|
|
|
65b2ff |
writing applications. At the core is the container, which can be
|
|
|
65b2ff |
embedded or for a full scale application server. There are many
|
|
|
65b2ff |
reusable components for hibernate, form processing, jndi, i18n,
|
|
|
65b2ff |
velocity, etc. Plexus also includes an application server which
|
|
|
65b2ff |
is like a J2EE application server, without all the baggage.
|
|
|
65b2ff |
|
|
|
65b2ff |
%package javadoc
|
|
|
65b2ff |
Summary: Javadoc for %{name}
|
|
|
65b2ff |
Group: Documentation
|
|
|
65b2ff |
|
|
|
65b2ff |
%description javadoc
|
|
|
65b2ff |
Javadoc for %{name}.
|
|
|
65b2ff |
|
|
|
65b2ff |
%prep
|
|
|
65b2ff |
%setup -q -n plexus-velocity-%{version}
|
|
|
65b2ff |
cp -p %{SOURCE1} LICENSE
|
|
|
65b2ff |
for j in $(find . -name "*.jar"); do
|
|
|
65b2ff |
mv $j $j.no
|
|
|
65b2ff |
done
|
|
|
65b2ff |
|
|
|
65b2ff |
%build
|
|
|
65b2ff |
# Use normal pom for now
|
|
|
65b2ff |
rm -f release-pom.xml
|
|
|
65b2ff |
mvn-rpmbuild \
|
|
|
65b2ff |
-e \
|
|
|
65b2ff |
install javadoc:aggregate
|
|
|
65b2ff |
|
|
|
65b2ff |
%install
|
|
|
65b2ff |
# jars
|
|
|
65b2ff |
install -Dpm 644 target/%{name}-%{version}.jar \
|
|
|
65b2ff |
%{buildroot}/%{_javadir}/%{parent}/%{subname}.jar
|
|
|
65b2ff |
|
|
|
65b2ff |
# poms
|
|
|
65b2ff |
install -Dpm 644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP.%{name}.pom
|
|
|
65b2ff |
%add_maven_depmap JPP.%{name}.pom %{parent}/%{subname}.jar
|
|
|
65b2ff |
|
|
|
65b2ff |
# javadoc
|
|
|
65b2ff |
install -d -m 755 %{buildroot}/%{_javadocdir}/%{name}
|
|
|
65b2ff |
cp -pr target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name}
|
|
|
65b2ff |
|
|
|
65b2ff |
%files
|
|
|
65b2ff |
%doc LICENSE
|
|
|
65b2ff |
%{_javadir}/%{parent}/*
|
|
|
65b2ff |
%{_mavendepmapfragdir}/*
|
|
|
65b2ff |
%{_mavenpomdir}/*
|
|
|
65b2ff |
|
|
|
65b2ff |
%files javadoc
|
|
|
65b2ff |
%doc LICENSE
|
|
|
65b2ff |
%doc %{_javadocdir}/*
|
|
|
65b2ff |
|
|
|
65b2ff |
%changelog
|
|
|
65b2ff |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.1.8-16
|
|
|
65b2ff |
- Mass rebuild 2013-12-27
|
|
|
65b2ff |
|
|
|
65b2ff |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.1.8-15
|
|
|
65b2ff |
- Rebuild to regenerate API documentation
|
|
|
65b2ff |
- Resolves: CVE-2013-1571
|
|
|
65b2ff |
|
|
|
65b2ff |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.8-14
|
|
|
65b2ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
65b2ff |
|
|
|
65b2ff |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:1.1.8-13
|
|
|
65b2ff |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
65b2ff |
- Replace maven BuildRequires with maven-local
|
|
|
65b2ff |
|
|
|
65b2ff |
* Thu Nov 22 2012 Jaromir Capik <jcapik@redhat.com> - 0:1.1.8-12
|
|
|
65b2ff |
- Migration to plexus-containers-container-default
|
|
|
65b2ff |
|
|
|
65b2ff |
* Wed Nov 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.1.8-11
|
|
|
65b2ff |
- Install LICENSE file
|
|
|
65b2ff |
- Resolves: rhbz#878833
|
|
|
65b2ff |
|
|
|
65b2ff |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.8-10
|
|
|
65b2ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
65b2ff |
|
|
|
65b2ff |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.8-9
|
|
|
65b2ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
65b2ff |
|
|
|
65b2ff |
* Wed Sep 7 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.8-8
|
|
|
65b2ff |
- Drop ant build.
|
|
|
65b2ff |
- Further cleanups.
|
|
|
65b2ff |
|
|
|
65b2ff |
* Thu Jul 28 2011 Jaromir Capik <jcapik@redhat.com> - 0:1.1.8-7
|
|
|
65b2ff |
- Migration to maven3
|
|
|
65b2ff |
- Removal of plexus-maven-plugin (not needed)
|
|
|
65b2ff |
- Minor spec file changes according to the latest guidelines
|
|
|
65b2ff |
|
|
|
65b2ff |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.8-6
|
|
|
65b2ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
65b2ff |
|
|
|
65b2ff |
* Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.8-5
|
|
|
65b2ff |
- BR java-devel 1.6.
|
|
|
65b2ff |
|
|
|
65b2ff |
* Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.8-4
|
|
|
65b2ff |
- BR maven-surefire-provider-junit.
|
|
|
65b2ff |
|
|
|
65b2ff |
* Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.8-3
|
|
|
65b2ff |
- BR maven-doxia-sitetools.
|
|
|
65b2ff |
|
|
|
65b2ff |
* Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.8-2
|
|
|
65b2ff |
- BR plexus-maven-plugin.
|
|
|
65b2ff |
|
|
|
65b2ff |
* Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.8-1
|
|
|
65b2ff |
- Update to upstream 1.1.8.
|
|
|
65b2ff |
|
|
|
65b2ff |
* Fri Aug 21 2009 Andrew Overholt <overholt@redhat.com> 1.1.7-3.3
|
|
|
65b2ff |
- Add ant-nodeps BR
|
|
|
65b2ff |
|
|
|
65b2ff |
* Fri Aug 21 2009 Andrew Overholt <overholt@redhat.com> 1.1.7-3.2
|
|
|
65b2ff |
- Add ant-contrib BR
|
|
|
65b2ff |
|
|
|
65b2ff |
* Fri Aug 21 2009 Andrew Overholt <overholt@redhat.com> 0:1.1.7-3.1
|
|
|
65b2ff |
- Import from Deepak Bhole's work (import from JPackage, update to 1.1.7)
|
|
|
65b2ff |
- Remove gcj support
|
|
|
65b2ff |
|
|
|
65b2ff |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.2-5.2
|
|
|
65b2ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
65b2ff |
|
|
|
65b2ff |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.2-4.2
|
|
|
65b2ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
65b2ff |
|
|
|
65b2ff |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.1.2-3.2
|
|
|
65b2ff |
- drop repotag
|
|
|
65b2ff |
|
|
|
65b2ff |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.1.2-3jpp.1
|
|
|
65b2ff |
- Autorebuild for GCC 4.3
|
|
|
65b2ff |
|
|
|
65b2ff |
* Sat Mar 24 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.1.2-3jpp
|
|
|
65b2ff |
- Build with maven2 by default
|
|
|
65b2ff |
- Add gcj_support options
|
|
|
65b2ff |
|
|
|
65b2ff |
* Fri Feb 16 2007 Tania Bento <tbento@redhat.com> - 0:1.1.2-2jpp.1
|
|
|
65b2ff |
- Fixed %%License.
|
|
|
65b2ff |
- Fixed %%BuildRoot.
|
|
|
65b2ff |
- Fixed %%Release.
|
|
|
65b2ff |
- Removed the %%post and %%postun for javadoc.
|
|
|
65b2ff |
- Removed %%Vendor.
|
|
|
65b2ff |
- Removed %%Distribution.
|
|
|
65b2ff |
- Removed "%%define section free".
|
|
|
65b2ff |
- Added the gcj support option.
|
|
|
65b2ff |
- Added BR for jakarta-commons-logging.
|
|
|
65b2ff |
|
|
|
65b2ff |
* Wed May 17 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.1.2-2jpp
|
|
|
65b2ff |
- First JPP-1.7 release
|
|
|
65b2ff |
|
|
|
65b2ff |
* Mon Nov 07 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.1.2-1jpp
|
|
|
65b2ff |
- First JPackage build
|