Permaine Cheung 1251254
# Copyright (c) 2000-2005, JPackage Project
Permaine Cheung 1251254
# All rights reserved.
Permaine Cheung 1251254
#
Permaine Cheung 1251254
# Redistribution and use in source and binary forms, with or without
Permaine Cheung 1251254
# modification, are permitted provided that the following conditions
Permaine Cheung 1251254
# are met:
Permaine Cheung 1251254
#
Permaine Cheung 1251254
# 1. Redistributions of source code must retain the above copyright
Permaine Cheung 1251254
#    notice, this list of conditions and the following disclaimer.
Permaine Cheung 1251254
# 2. Redistributions in binary form must reproduce the above copyright
Permaine Cheung 1251254
#    notice, this list of conditions and the following disclaimer in the
Permaine Cheung 1251254
#    documentation and/or other materials provided with the
Permaine Cheung 1251254
#    distribution.
Permaine Cheung 1251254
# 3. Neither the name of the JPackage Project nor the names of its
Permaine Cheung 1251254
#    contributors may be used to endorse or promote products derived
Permaine Cheung 1251254
#    from this software without specific prior written permission.
Permaine Cheung 1251254
#
Permaine Cheung 1251254
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Permaine Cheung 1251254
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Permaine Cheung 1251254
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Permaine Cheung 1251254
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
Permaine Cheung 1251254
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
Permaine Cheung 1251254
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
Permaine Cheung 1251254
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
Permaine Cheung 1251254
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
Permaine Cheung 1251254
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
Permaine Cheung 1251254
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Permaine Cheung 1251254
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Permaine Cheung 1251254
#
Permaine Cheung 1251254
Permaine Cheung 1251254
Name:           plexus-archiver
5fc2556
Version:        2.0.1
39fbe7a
Release:        3%{?dist}
Permaine Cheung 1251254
Epoch:          0
Permaine Cheung 1251254
Summary:        Plexus Archiver Component
b05cd2a
License:        MIT and ASL 2.0
e339563
Group:          Development/Libraries
5a32d21
URL:            http://plexus.codehaus.org/plexus-components/plexus-archiver/
5fc2556
# git clone https://github.com/sonatype/plexus-archiver
5fc2556
# git archive --format=tar --prefix=plexus-archiver-2.0.1/ plexus-archiver-2.0.1 | xz >plexus-archiver-2.0.1.tar.xz
5fc2556
Source0:        %{name}-%{version}.tar.xz
Permaine Cheung 1251254
Permaine Cheung 1251254
Permaine Cheung 1251254
BuildArch:      noarch
Permaine Cheung 1251254
BuildRequires:  jpackage-utils >= 0:1.6
Permaine Cheung 1251254
BuildRequires:  ant >= 0:1.6
Permaine Cheung 1251254
BuildRequires:  classworlds >= 0:1.1
Permaine Cheung 1251254
BuildRequires:  plexus-container-default 
Permaine Cheung 1251254
BuildRequires:  plexus-utils 
eb3340e
BuildRequires:  plexus-io
19b1829
BuildRequires: maven
e339563
BuildRequires: maven-resources-plugin
e339563
BuildRequires: maven-compiler-plugin
e339563
BuildRequires: maven-jar-plugin
e339563
BuildRequires: maven-install-plugin
e339563
BuildRequires: maven-javadoc-plugin
e339563
BuildRequires: maven-surefire-plugin
0ef7a38
BuildRequires: maven-surefire-provider-junit4
eb3340e
BuildRequires: maven-shared-reporting-impl
eb3340e
BuildRequires: maven-doxia-sitetools
Permaine Cheung 1251254
Requires:       classworlds >= 0:1.1
Permaine Cheung 1251254
Requires:       plexus-container-default 
Permaine Cheung 1251254
Requires:       plexus-utils 
Permaine Cheung 1251254
Requires:       jpackage-utils
eb3340e
Requires:       plexus-io
Permaine Cheung 1251254
Permaine Cheung 1251254
%description
Permaine Cheung 1251254
The Plexus project seeks to create end-to-end developer tools for 
Permaine Cheung 1251254
writing applications. At the core is the container, which can be 
Permaine Cheung 1251254
embedded or for a full scale application server. There are many 
Permaine Cheung 1251254
reusable components for hibernate, form processing, jndi, i18n, 
Permaine Cheung 1251254
velocity, etc. Plexus also includes an application server which 
Permaine Cheung 1251254
is like a J2EE application server, without all the baggage.
Permaine Cheung 1251254
Permaine Cheung 1251254
Permaine Cheung 1251254
%package javadoc
Permaine Cheung 1251254
Summary:        Javadoc for %{name}
5fc2556
Group:          Documentation
19b1829
Requires:       jpackage-utils
Permaine Cheung 1251254
Permaine Cheung 1251254
%description javadoc
Permaine Cheung 1251254
Javadoc for %{name}.
Permaine Cheung 1251254
Permaine Cheung 1251254
Permaine Cheung 1251254
%prep
Jaromir Capik 409195b
%setup -q
Permaine Cheung 1251254
eb3340e
%build
19b1829
mvn-rpmbuild install javadoc:javadoc
Permaine Cheung 1251254
Permaine Cheung 1251254
%install
Permaine Cheung 1251254
# jars
Permaine Cheung 1251254
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/plexus
e339563
install -pm 644 target/%{name}-%{version}.jar \
19b1829
  $RPM_BUILD_ROOT%{_javadir}/plexus/archiver.jar
5a32d21
                  
5a32d21
# pom
19b1829
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
19b1829
install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}.pom
5a32d21
5fc2556
%add_maven_depmap JPP.%{name}.pom plexus/archiver.jar
5fc2556
Permaine Cheung 1251254
# javadoc
19b1829
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
19b1829
cp -pr target/site/api*/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
Permaine Cheung 1251254
Permaine Cheung 1251254
%files
Permaine Cheung 1251254
%{_javadir}/*
e339563
%{_mavenpomdir}/*
e339563
%{_mavendepmapfragdir}/*
Permaine Cheung 1251254
Permaine Cheung 1251254
%files javadoc
Permaine Cheung 1251254
%doc %{_javadocdir}/%{name}
Permaine Cheung 1251254
Permaine Cheung 1251254
%changelog
39fbe7a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.0.1-3
39fbe7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
39fbe7a
0ef7a38
* Thu Sep 8 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.0.1-2
0ef7a38
- BR maven-surefire-provider-junit4.
0ef7a38
5fc2556
* Thu Sep 8 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.0.1-1
5fc2556
- Update to 2.0.1 version.
5fc2556
Jaromir Capik 409195b
* Wed Jul 27 2011 Jaromir Capik <jcapik@redhat.com> - 0:1.2-2
Jaromir Capik 409195b
- Removal of plexus-maven-plugin dependency (not needed)
Jaromir Capik 409195b
- Minor spec file changes according to the latest guidelines
Jaromir Capik 409195b
19b1829
* Tue May 17 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-1
19b1829
- Update to 1.2.
19b1829
91fd461
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1-2
91fd461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
91fd461
e339563
* Wed Oct 6 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-1
e339563
- Update to 1.1.
e339563
5a32d21
* Mon Dec 28 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.4.a12.4
5a32d21
- Install depmap and pom to override common poms.
5a32d21
f9f4e58
* Thu Dec 24 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.4.a12.3
f9f4e58
- Really ignore test failures.
f9f4e58
7f084ae
* Thu Dec 24 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.4.a12.2
7f084ae
- Ignore test failures.
7f084ae
eb3340e
* Wed Dec 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.4.a12.1
eb3340e
- Update to alpha 12.
eb3340e
c884838
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.4.a7.1.2
c884838
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c884838
7c05233
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-0.3.a7.1.2
7c05233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7c05233
b05cd2a
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0-0.2.a7.1.2
b05cd2a
- drop repotag
b05cd2a
- fix license tag
b05cd2a
b3b2fec
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.0-0.2.a7.1jpp.1
b3b2fec
- Autorebuild for GCC 4.3
b3b2fec
5ae5e3b
* Fri Jan 04 2008 Deepak Bhole <dbhole@redhat.com> 1.0-0.1.a7.1jpp.1
5ae5e3b
- Update to alpha 7
5ae5e3b
Permaine Cheung 1251254
* Thu Feb 15 2007 Matt Wrigne <mwringe@redhat.com> - 0:1.0-0.1.a6.1jpp.1
Permaine Cheung 1251254
- Fix rpmlint issues
Permaine Cheung 1251254
- Version package to new jpp versioning standards
Permaine Cheung 1251254
- Remove javadoc post and postun sections
Permaine Cheung 1251254
Permaine Cheung 1251254
* Mon Jun 19 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.0-0.a6.1jpp
Permaine Cheung 1251254
- Upgrade to 1.0-alpha-6
Permaine Cheung 1251254
Permaine Cheung 1251254
* Wed May 31 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a3.2jpp
Permaine Cheung 1251254
- First JPP-1.7 release
Permaine Cheung 1251254
Permaine Cheung 1251254
* Mon Nov 07 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a3.1jpp
Permaine Cheung 1251254
- First JPackage build