|
Andrew Overholt |
dfa8221 |
# Copyright (c) 2000-2007, JPackage Project
|
|
Matt Wringe |
4c56714 |
# All rights reserved.
|
|
Matt Wringe |
4c56714 |
#
|
|
Matt Wringe |
4c56714 |
# Redistribution and use in source and binary forms, with or without
|
|
Matt Wringe |
4c56714 |
# modification, are permitted provided that the following conditions
|
|
Matt Wringe |
4c56714 |
# are met:
|
|
Matt Wringe |
4c56714 |
#
|
|
Matt Wringe |
4c56714 |
# 1. Redistributions of source code must retain the above copyright
|
|
Matt Wringe |
4c56714 |
# notice, this list of conditions and the following disclaimer.
|
|
Matt Wringe |
4c56714 |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
Matt Wringe |
4c56714 |
# notice, this list of conditions and the following disclaimer in the
|
|
Matt Wringe |
4c56714 |
# documentation and/or other materials provided with the
|
|
Matt Wringe |
4c56714 |
# distribution.
|
|
Matt Wringe |
4c56714 |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
Matt Wringe |
4c56714 |
# contributors may be used to endorse or promote products derived
|
|
Matt Wringe |
4c56714 |
# from this software without specific prior written permission.
|
|
Matt Wringe |
4c56714 |
#
|
|
Matt Wringe |
4c56714 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
Matt Wringe |
4c56714 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
Matt Wringe |
4c56714 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
Matt Wringe |
4c56714 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
Matt Wringe |
4c56714 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
Matt Wringe |
4c56714 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
Matt Wringe |
4c56714 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
Matt Wringe |
4c56714 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
Matt Wringe |
4c56714 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
Matt Wringe |
4c56714 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
Matt Wringe |
4c56714 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Matt Wringe |
4c56714 |
#
|
|
Matt Wringe |
4c56714 |
|
|
Stanislav Ochotnicky |
c4b2e36 |
%global parent plexus
|
|
Stanislav Ochotnicky |
c4b2e36 |
%global subname utils
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
Name: plexus-utils
|
|
|
a43e97a |
Version: 3.0.16
|
|
Stanislav Ochotnicky |
6f11ba6 |
Release: 2%{?dist}
|
|
Matt Wringe |
4c56714 |
Summary: Plexus Common Utilities
|
|
Stanislav Ochotnicky |
20356b9 |
# ASL 1.1: several files in src/main/java/org/codehaus/plexus/util/
|
|
Stanislav Ochotnicky |
20356b9 |
# xpp: src/main/java/org/codehaus/plexus/util/xml/pull directory
|
|
Stanislav Ochotnicky |
20356b9 |
# ASL 2.0 and BSD:
|
|
Stanislav Ochotnicky |
20356b9 |
# src/main/java/org/codehaus/plexus/util/cli/StreamConsumer
|
|
Stanislav Ochotnicky |
20356b9 |
# src/main/java/org/codehaus/plexus/util/cli/StreamPumper
|
|
Stanislav Ochotnicky |
20356b9 |
# src/main/java/org/codehaus/plexus/util/cli/Commandline
|
|
Stanislav Ochotnicky |
7717d7b |
# Public domain: src/main/java/org/codehaus/plexus/util/TypeFormat.java
|
|
Stanislav Ochotnicky |
20356b9 |
# rest is ASL 2.0
|
|
Stanislav Ochotnicky |
7717d7b |
License: ASL 1.1 and ASL 2.0 and xpp and BSD and Public Domain
|
|
Andrew Overholt |
dfa8221 |
Group: Development/Libraries
|
|
Matt Wringe |
4c56714 |
URL: http://plexus.codehaus.org/
|
|
Stanislav Ochotnicky |
20356b9 |
Source0: https://github.com/sonatype/%{name}/archive/%{name}-%{version}.tar.gz
|
|
Stanislav Ochotnicky |
20356b9 |
Source1: http://apache.org/licenses/LICENSE-2.0.txt
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
BuildArch: noarch
|
|
Matt Wringe |
4c56714 |
BuildRequires: jpackage-utils >= 0:1.6
|
|
Matt Wringe |
4c56714 |
Requires: jpackage-utils
|
|
|
48438d0 |
|
|
Stanislav Ochotnicky |
8c18592 |
BuildRequires: maven-local
|
|
Stanislav Ochotnicky |
2cf299b |
BuildRequires: maven-compiler-plugin
|
|
Stanislav Ochotnicky |
2cf299b |
BuildRequires: maven-install-plugin
|
|
Stanislav Ochotnicky |
2cf299b |
BuildRequires: maven-jar-plugin
|
|
Stanislav Ochotnicky |
2cf299b |
BuildRequires: maven-javadoc-plugin
|
|
Stanislav Ochotnicky |
2cf299b |
BuildRequires: maven-resources-plugin
|
|
Stanislav Ochotnicky |
2cf299b |
BuildRequires: maven-surefire-plugin
|
|
|
48438d0 |
BuildRequires: maven-doxia-sitetools
|
|
|
48438d0 |
BuildRequires: maven-surefire-provider-junit
|
|
|
49ecfc2 |
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
Stanislav Ochotnicky |
6f11ba6 |
Requires: java-headless >= 1:1.7.0
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
%description
|
|
Andrew Overholt |
dfa8221 |
The Plexus project seeks to create end-to-end developer tools for
|
|
Andrew Overholt |
dfa8221 |
writing applications. At the core is the container, which can be
|
|
Andrew Overholt |
dfa8221 |
embedded or for a full scale application server. There are many
|
|
Andrew Overholt |
dfa8221 |
reusable components for hibernate, form processing, jndi, i18n,
|
|
Andrew Overholt |
dfa8221 |
velocity, etc. Plexus also includes an application server which
|
|
Matt Wringe |
4c56714 |
is like a J2EE application server, without all the baggage.
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
%package javadoc
|
|
Matt Wringe |
4c56714 |
Summary: Javadoc for %{name}
|
|
Matt Wringe |
4c56714 |
Group: Documentation
|
|
Matt Wringe |
4c56714 |
Requires: jpackage-utils
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
%description javadoc
|
|
Matt Wringe |
4c56714 |
Javadoc for %{name}.
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
%prep
|
|
Stanislav Ochotnicky |
20356b9 |
%setup -q -n %{name}-%{name}-%{version}
|
|
Stanislav Ochotnicky |
20356b9 |
cp %{SOURCE1} .
|
|
Matt Wringe |
4c56714 |
|
|
|
89dea34 |
# Generate OSGI info
|
|
|
89dea34 |
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
|
|
|
89dea34 |
%pom_xpath_inject "pom:build/pom:plugins" "
|
|
|
89dea34 |
<plugin>
|
|
|
89dea34 |
<groupId>org.apache.felix</groupId>
|
|
|
89dea34 |
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
89dea34 |
<extensions>true</extensions>
|
|
|
89dea34 |
<configuration>
|
|
|
89dea34 |
<instructions>
|
|
|
89dea34 |
<_nouses>true</_nouses>
|
|
|
89dea34 |
<Export-Package>org.codehaus.plexus.util.*;org.codehaus.plexus.util.cli.*;org.codehaus.plexus.util.cli.shell.*;org.codehaus.plexus.util.dag.*;org.codehaus.plexus.util.introspection.*;org.codehaus.plexus.util.io.*;org.codehaus.plexus.util.reflection.*;org.codehaus.plexus.util.xml.*;org.codehaus.plexus.util.xml.pull.*</Export-Package>
|
|
|
89dea34 |
</instructions>
|
|
|
89dea34 |
</configuration>
|
|
|
89dea34 |
</plugin>"
|
|
|
89dea34 |
|
|
Matt Wringe |
4c56714 |
%build
|
|
|
86e7b39 |
mvn-rpmbuild install javadoc:javadoc -Dmaven.test.failure.ignore=true
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
%install
|
|
Matt Wringe |
4c56714 |
# jars
|
|
Stanislav Ochotnicky |
2cf299b |
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{parent}
|
|
Matt Wringe |
4c56714 |
install -pm 644 target/%{name}-%{version}.jar \
|
|
Stanislav Ochotnicky |
2cf299b |
$RPM_BUILD_ROOT%{_javadir}/plexus/utils.jar
|
|
Andrew Overholt |
dfa8221 |
|
|
Andrew Overholt |
dfa8221 |
# pom
|
|
Stanislav Ochotnicky |
2cf299b |
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
|
Stanislav Ochotnicky |
2cf299b |
install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{parent}-%{subname}.pom
|
|
Andrew Overholt |
dfa8221 |
|
|
|
49ecfc2 |
%add_maven_depmap -a "plexus:plexus-utils" JPP.%{name}.pom plexus/utils.jar
|
|
Matt Wringe |
4c56714 |
|
|
Stanislav Ochotnicky |
2cf299b |
# javadoc
|
|
Stanislav Ochotnicky |
2cf299b |
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
Stanislav Ochotnicky |
2cf299b |
cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
Matt Wringe |
4c56714 |
|
|
Stanislav Ochotnicky |
20356b9 |
%files -f .mfiles
|
|
Stanislav Ochotnicky |
20356b9 |
%doc NOTICE.txt LICENSE-2.0.txt
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
%files javadoc
|
|
Stanislav Ochotnicky |
20356b9 |
%doc NOTICE.txt LICENSE-2.0.txt
|
|
Matt Wringe |
4c56714 |
%doc %{_javadocdir}/%{name}
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
%changelog
|
|
Stanislav Ochotnicky |
6f11ba6 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.16-2
|
|
Stanislav Ochotnicky |
6f11ba6 |
- Use Requires: java-headless rebuild (#1067528)
|
|
Stanislav Ochotnicky |
6f11ba6 |
|
|
|
a43e97a |
* Mon Jan 27 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.16-1
|
|
|
a43e97a |
- Update to upstream version 3.0.16
|
|
|
a43e97a |
|
|
|
8f44e46 |
* Fri Aug 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.14-1
|
|
|
8f44e46 |
- Update to upstream version 3.0.14
|
|
|
8f44e46 |
|
|
|
5db2e48 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-7
|
|
|
5db2e48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5db2e48 |
|
|
|
89dea34 |
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.9-6
|
|
|
89dea34 |
- Generate OSGi metadata
|
|
|
89dea34 |
- Resolves: rhbz#987117
|
|
|
89dea34 |
|
|
|
225793b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-5
|
|
|
225793b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
225793b |
|
|
Stanislav Ochotnicky |
8c18592 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.0.9-4
|
|
Stanislav Ochotnicky |
8c18592 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
8c18592 |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
8c18592 |
|
|
Stanislav Ochotnicky |
7717d7b |
* Mon Nov 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.9-3
|
|
Stanislav Ochotnicky |
7717d7b |
- Add license from one Public Domain class
|
|
Stanislav Ochotnicky |
7717d7b |
|
|
Stanislav Ochotnicky |
20356b9 |
* Fri Nov 23 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.9-2
|
|
Stanislav Ochotnicky |
20356b9 |
- Fix license tag and ASL 2.0 license text
|
|
Stanislav Ochotnicky |
20356b9 |
|
|
|
49ecfc2 |
* Wed Oct 10 2012 Alexander Kurtakov <akurtako@redhat.com> 3.0.9-1
|
|
|
49ecfc2 |
- Update to upstream 3.0.9.
|
|
|
49ecfc2 |
|
|
|
b7e3015 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3
|
|
|
b7e3015 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b7e3015 |
|
|
|
8061e81 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-2
|
|
|
8061e81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8061e81 |
|
|
|
86e7b39 |
* Wed Sep 7 2011 Alexander Kurtakov <akurtako@redhat.com> 3.0-1
|
|
|
86e7b39 |
- Update to upstream 3.0.
|
|
|
86e7b39 |
|
|
Stanislav Ochotnicky |
c4b2e36 |
* Mon Feb 28 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0.6-1
|
|
Stanislav Ochotnicky |
c4b2e36 |
- Update to 2.0.6
|
|
Stanislav Ochotnicky |
c4b2e36 |
- Remove obsolete patches
|
|
Stanislav Ochotnicky |
c4b2e36 |
- Use maven 3 to build
|
|
Stanislav Ochotnicky |
c4b2e36 |
|
|
|
718e555 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-3
|
|
|
718e555 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
718e555 |
|
|
Stanislav Ochotnicky |
2cf299b |
* Thu Dec 16 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0.5-2
|
|
Stanislav Ochotnicky |
2cf299b |
- Use versionless jars/javadocs
|
|
Stanislav Ochotnicky |
2cf299b |
- Use new maven plugin names
|
|
Stanislav Ochotnicky |
2cf299b |
- Add compatibility depmap
|
|
Stanislav Ochotnicky |
2cf299b |
|
|
|
48438d0 |
* Wed May 5 2010 Mary Ellen Foster <mefoster at gmail.com> 2.0.5-1
|
|
|
48438d0 |
- Update to 2.0.5
|
|
|
48438d0 |
|
|
|
48438d0 |
* Fri Feb 12 2010 Mary Ellen Foster <mefoster at gmail.com> 2.0.1-1
|
|
|
48438d0 |
- Update to 2.0.1
|
|
|
48438d0 |
- Build with maven
|
|
|
48438d0 |
|
|
Andrew Overholt |
dfa8221 |
* Wed Aug 19 2009 Andrew Overholt <overholt@redhat.com> 1.4.5-1.2
|
|
Andrew Overholt |
dfa8221 |
- Update to 1.4.5 from JPackage and Deepak Bhole
|
|
Andrew Overholt |
dfa8221 |
- Remove gcj bits
|
|
Andrew Overholt |
dfa8221 |
|
|
|
9fb0601 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-4.2
|
|
|
9fb0601 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
9fb0601 |
|
|
|
a13eb81 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-3.2
|
|
|
a13eb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a13eb81 |
|
|
|
ffc0282 |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.2-2.2
|
|
|
ffc0282 |
- fix license tag
|
|
|
ffc0282 |
- drop repotag
|
|
|
ffc0282 |
|
|
Andrew Overholt |
dfa8221 |
* Thu Aug 23 2007 Ralph Apel <r.apel@r-apel.de> - 0:1.4.5-1jpp
|
|
Andrew Overholt |
dfa8221 |
- Upgrade to 1.4.5
|
|
Andrew Overholt |
dfa8221 |
- Now build with maven2 by default
|
|
Andrew Overholt |
dfa8221 |
|
|
Andrew Overholt |
dfa8221 |
* Wed Mar 21 2007 Ralph Apel <r.apel@r-apel.de> - 0:1.2-2jpp
|
|
Andrew Overholt |
dfa8221 |
- Fix build classpath
|
|
Andrew Overholt |
dfa8221 |
- Optionally build with maven2
|
|
Andrew Overholt |
dfa8221 |
- Add gcj_support option
|
|
Andrew Overholt |
dfa8221 |
|
|
Matt Wringe |
4c56714 |
* Mon Feb 20 2007 Deepak Bhole <dbhole@redhat.com> - 0:1.2-2jpp.1.fc7
|
|
Matt Wringe |
4c56714 |
- Fix spec per Fedora guidelines
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
* Fri Jun 16 2006 Ralph Apel <r.apel@r-apel.de> - 0:1.2-1jpp
|
|
Matt Wringe |
4c56714 |
- Upgrade to 1.2
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
* Wed Jan 04 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.0.4-2jpp
|
|
Matt Wringe |
4c56714 |
- First JPP 1.7 build
|
|
Matt Wringe |
4c56714 |
|
|
Matt Wringe |
4c56714 |
* Mon Nov 07 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.0.4-1jpp
|
|
Matt Wringe |
4c56714 |
- First JPackage build
|