Blame SPECS/maven-shared.spec

9c099d
%global pkg_name maven-shared
9c099d
%{?scl:%scl_package %{pkg_name}}
9c099d
%{?maven_find_provides_and_requires}
9c099d
9c099d
# Copyright (c) 2000-2005, JPackage Project
9c099d
# All rights reserved.
9c099d
#
9c099d
# Redistribution and use in source and binary forms, with or without
9c099d
# modification, are permitted provided that the following conditions
9c099d
# are met:
9c099d
#
9c099d
# 1. Redistributions of source code must retain the above copyright
9c099d
#    notice, this list of conditions and the following disclaimer.
9c099d
# 2. Redistributions in binary form must reproduce the above copyright
9c099d
#    notice, this list of conditions and the following disclaimer in the
9c099d
#    documentation and/or other materials provided with the
9c099d
#    distribution.
9c099d
# 3. Neither the name of the JPackage Project nor the names of its
9c099d
#    contributors may be used to endorse or promote products derived
9c099d
#    from this software without specific prior written permission.
9c099d
#
9c099d
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9c099d
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9c099d
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9c099d
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9c099d
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9c099d
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9c099d
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9c099d
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9c099d
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9c099d
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9c099d
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9c099d
#
9c099d
9c099d
Summary:        Maven Shared Components
9c099d
URL:            http://maven.apache.org/shared/
9c099d
Name:           %{?scl_prefix}%{pkg_name}
9c099d
Version:        19
9c099d
Release:        4.12%{?dist}
9c099d
License:        ASL 2.0
9c099d
9c099d
Source0:        https://github.com/apache/%{pkg_name}/archive/%{pkg_name}-components-%{version}.tar.gz
9c099d
9c099d
BuildRequires:  %{?scl_prefix}maven-local
9c099d
9c099d
BuildArch:      noarch
9c099d
9c099d
# Obsoleting retired subpackages. The packages with hardcoded versions and
9c099d
# releases had their versions manually set in maven-shared-15 to something else
9c099d
# than {version}. To make the change effective, the release below is one
9c099d
# greater than the last release of maven-shared-15 in rawhide.
9c099d
9c099d
%description
9c099d
Maven Shared Components
9c099d
9c099d
%prep
9c099d
%setup -q -n %{pkg_name}-%{pkg_name}-components-%{version}
9c099d
%{?scl:scl enable %{scl} - <<"EOF"}
9c099d
set -e -x
9c099d
chmod -R go=u-w *
9c099d
9c099d
# Maven-scm-publish-plugin is not in Fedora
9c099d
%pom_remove_plugin org.apache.maven.plugins:maven-scm-publish-plugin
9c099d
%{?scl:EOF}
9c099d
9c099d
%build
9c099d
%{?scl:scl enable %{scl} - <<"EOF"}
9c099d
set -e -x
9c099d
%mvn_build
9c099d
%{?scl:EOF}
9c099d
9c099d
%install
9c099d
%{?scl:scl enable %{scl} - <<"EOF"}
9c099d
set -e -x
9c099d
%mvn_install
9c099d
%{?scl:EOF}
9c099d
9c099d
%files -f .mfiles
9c099d
%dir %{_mavenpomdir}/%{pkg_name}
9c099d
%doc LICENSE.txt NOTICE.txt
9c099d
9c099d
%changelog
9c099d
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 19-4.12
9c099d
- Fix BR on maven-local & co.
9c099d
9c099d
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 19-4.11
9c099d
- maven33 rebuild #2
9c099d
9c099d
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 19-4.10
9c099d
- maven33 rebuild
9c099d
9c099d
* Thu Jan 15 2015 Michal Srb <msrb@redhat.com> - 19-4.9
9c099d
- Fix directory ownership
9c099d
9c099d
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 19-4.8
9c099d
- Mass rebuild 2015-01-13
9c099d
9c099d
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 19-4.7
9c099d
- Mass rebuild 2015-01-06
9c099d
9c099d
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 19-4.6
9c099d
- Mass rebuild 2014-05-26
9c099d
9c099d
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 19-4.5
9c099d
- Mass rebuild 2014-02-19
9c099d
9c099d
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 19-4.4
9c099d
- Mass rebuild 2014-02-18
9c099d
9c099d
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 19-4.3
9c099d
- Rebuild to fix incorrect auto-requires
9c099d
9c099d
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 19-4.2
9c099d
- Rebuild to regenerate auto-requires
9c099d
9c099d
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 19-4.1
9c099d
- First maven30 software collection build
9c099d
9c099d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 19-4
9c099d
- Mass rebuild 2013-12-27
9c099d
9c099d
* Tue Feb 26 2013 Tomas Radej <tradej@redhat.com> - 19-3
9c099d
- Fixed obsoletions
9c099d
9c099d
* Wed Feb 20 2013 Tomas Radej <tradej@redhat.com> - 19-2
9c099d
- Removed maven-scm-publish-plugin
9c099d
9c099d
* Tue Feb 19 2013 Tomas Radej <tradej@redhat.com> - 19-1
9c099d
- Updated to latest upstream version
9c099d
- Build with xmvn
9c099d
9c099d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15-31
9c099d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9c099d
9c099d
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 15-30
9c099d
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
9c099d
- Replace maven BuildRequires with maven-local
9c099d
9c099d
* Thu Dec 20 2012 Michal Srb <msrb@redhat.com> - 15-29
9c099d
- Migrated from maven-doxia to doxia subpackages (Resolves: #889148)
9c099d
9c099d
* Wed Dec 19 2012 Tomas Radej <tradej@redhat.com> - 15-28
9c099d
- Obsoleted retired packages
9c099d
- Sorted (B)Rs, added R on jpackage-utils
9c099d
9c099d
* Fri Nov 30 2012 Tomas Radej <tradej@redhat.com> - 15-27
9c099d
- Removed ant, artifact-resolver, common-artifact-filters, dependency-tree, model-converter, runtime
9c099d
- Replaced patches with pom macros
9c099d
9c099d
* Thu Nov 22 2012 Jaromir Capik <jcapik@redhat.com> - 15-26
9c099d
- Migration to plexus-containers-container-default
9c099d
9c099d
* Mon Nov 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 15-25
9c099d
- Fix verifier License tag
9c099d
- Install licelse files
9c099d
9c099d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15-24
9c099d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9c099d
9c099d
* Wed Feb 29 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> 15-23
9c099d
- Remove exact version dependency on artifact-filters
9c099d
- Fix missing plexus-container-default in pom for shared-jar
9c099d
9c099d
* Sat Jan 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 15-22
9c099d
- Require apache-commons-validator instead of jakarta-* in reporting-impl.
9c099d
9c099d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15-21
9c099d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9c099d
9c099d
* Sun Nov 27 2011 Ville Skyttä <ville.skytta@iki.fi> - 15-20
9c099d
- Fix plugin-testing-harness dependency/obsoletes/provides versions.
9c099d
9c099d
* Wed Oct 12 2011 Jaromir Capik <jcapik@redhat.com> - 15-19
9c099d
- aqute-bndlib renamed to aqute-bnd (fixing name conflict)
9c099d
9c099d
* Wed Aug 31 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 15-18
9c099d
- Remove filtering subpackage (separate package now)
9c099d
9c099d
* Mon Aug 22 2011 Jaromir Capik <jcapik@redhat.com> - 15-17
9c099d
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
9c099d
- Minor spec file changes according to the latest guidelines
9c099d
9c099d
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 15-16
9c099d
- Add second groupId for reporting-api to add compatibility
9c099d
- Versionless javadocs and remove defattr macros (not needed anymore)
9c099d
- Use new maven2 compatibility packages
9c099d
- Remove old patches
9c099d
9c099d
* Fri Jun 3 2011 Alexander Kurtakov <akurtako@redhat.com> 15-15
9c099d
- Require maven not maven2 now.
9c099d
- Adapt to current guidelines.
9c099d
9c099d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15-14
9c099d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9c099d
9c099d
* Fri Dec 17 2010 Alexander Kurtakov <akurtako@redhat.com> 15-13
9c099d
- Drop versioned jars.
9c099d
- Drop tomcat5 deps.
9c099d
9c099d
* Thu Sep 16 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 15-12
9c099d
- Use %%global instead of %%define
9c099d
- Use %%{_mavenpomdir}
9c099d
- Remove plexus-registry from BR/R
9c099d
9c099d
* Tue Jun 01 2010 Yong Yang <yyang@redhat.com> 15-11
9c099d
- Rebuld with maven221
9c099d
- Add patches
9c099d
- Use javadoc:aggregate
9c099d
9c099d
* Tue Jun 01 2010 Yong Yang <yyang@redhat.com> 15-10
9c099d
- Fix installed jar name of artifact-resolver, filtering, reporting-api, runtime
9c099d
9c099d
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 15-9
9c099d
- Reenable reporting api.
9c099d
- Fix groups.
9c099d
- Do not remove tests that run now.
9c099d
9c099d
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 15-8
9c099d
- Fix maven-archiver depmap.
9c099d
9c099d
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 15-7
9c099d
- Release should be bigger than version 8 release.
9c099d
9c099d
* Thu May 21 2010 Yong Yang <yyang@redhat.com> 15-1
9c099d
- Upgrade to 15
9c099d
9c099d
* Thu May 20 2010 Yong Yang <yyang@redhat.com> 8-6
9c099d
- Properly comment %%add_maven_depmap
9c099d
9c099d
* Thu May 20 2010 Yong Yang <yyang@redhat.com> 8-5
9c099d
- Remove plugin-tools* and pluging-testing*
9c099d
- Add BRs:  objectweb-asm, plexus-digest
9c099d
9c099d
* Thu Nov 26 2009 Lubomir Rintel <lkundrak@v3.sk> 8-4
9c099d
- Fix build
9c099d
9c099d
* Tue Sep 01 2009 Andrew Overholt <overholt@redhat.com> 8-3
9c099d
- Add tomcat5, easymock, and maven2-plugin-source BRs
9c099d
9c099d
* Tue Sep 01 2009 Andrew Overholt <overholt@redhat.com> 8-2
9c099d
- Add tomcat5-servlet-2.4-api BR
9c099d
9c099d
* Mon Aug 31 2009 Andrew Overholt <overholt@redhat.com> 8-1
9c099d
- Update to version 8 (courtesy Deepak Bhole)
9c099d
9c099d
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-4.6
9c099d
- drop repotag
9c099d
9c099d
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-4jpp.5
9c099d
- fix license tag
9c099d
9c099d
* Thu Feb 28 2008 Deepak Bhole <dbhole@redhat.com> 1.0-4jpp.4
9c099d
- Rebuild
9c099d
9c099d
* Fri Sep 21 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-4jpp.3
9c099d
- Rebuild with ppc64 excludearch'd
9c099d
- Removed 'jpp' from a BR version
9c099d
9c099d
* Tue Mar 20 2007 Deepak Bhole <dbhole@redhat.com> 0:1.0-4jpp.2
9c099d
- Fixed BRs and Reqa
9c099d
9c099d
* Tue Feb 27 2007 Tania Bento <tbento@redhat.com> 0:1.0-4jpp.1
9c099d
- Fixed %%Release.
9c099d
- Fixed %%BuildRoot.
9c099d
- Removed %%Vendor.
9c099d
- Removed %%Distribution.
9c099d
- Removed %%post and %%postun sections for file-management-javadoc.
9c099d
- Removed %%post and %%postun sections for plugin-testing-harness-javadoc.
9c099d
- Defined _with_gcj_support and gcj_support.
9c099d
- Fixed %%License.
9c099d
- Fixed %%Group.
9c099d
- Marked config file with %%config(noreplace) in %%files section.
9c099d
- Fixed instructions on how to generate source drop.
9c099d
9c099d
* Fri Oct 27 2006 Deepak Bhole <dbhole@redhat.com> 1.0-4jpp
9c099d
- Update for maven 9jpp
9c099d
9c099d
* Fri Sep 15 2006 Deepak Bhole <dbhole@redhat.com> 1.0-3jpp
9c099d
- Removed the file-management-pom.patch (no longer required)
9c099d
- Install poms
9c099d
9c099d
* Wed Sep 13 2006 Ralph Apel <r.apel@r-apel.de> 0:1.0-2jpp
9c099d
- Add plugin-testing-harness subpackage
9c099d
9c099d
* Mon Sep 11 2006 Ralph Apel <r.apel@r-apel.de> 0:1.0-1jpp
9c099d
- First release
9c099d
- Add gcj_support option
9c099d
- Add post/postun Requires for javadoc