915dd9
%global base_name       beanutils
915dd9
%global short_name      commons-%{base_name}
915dd9
915dd9
Name:           apache-%{short_name}
915dd9
Version:        1.8.3
915dd9
Release:        14%{?dist}
915dd9
Summary:        Java utility methods for accessing and modifying the properties of arbitrary JavaBeans
915dd9
License:        ASL 2.0
915dd9
URL:            http://commons.apache.org/%{base_name}
915dd9
BuildArch:      noarch
915dd9
Source0:        http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
915dd9
915dd9
BuildRequires:  maven-local
915dd9
BuildRequires:  mvn(commons-collections:commons-collections)
915dd9
BuildRequires:  mvn(commons-logging:commons-logging)
915dd9
BuildRequires:  mvn(org.apache.commons:commons-parent) >= 26-7
915dd9
915dd9
Provides:       jakarta-%{short_name} = 0:%{version}-%{release}
915dd9
Obsoletes:      jakarta-%{short_name} <= 0:1.7.0
915dd9
915dd9
%description
915dd9
The scope of this package is to create a package of Java utility methods
915dd9
for accessing and modifying the properties of arbitrary JavaBeans.  No
915dd9
dependencies outside of the JDK are required, so the use of this package
915dd9
is very lightweight.
915dd9
915dd9
%package javadoc
915dd9
Summary:        Javadoc for %{name}
915dd9
915dd9
Provides:       jakarta-%{short_name}-javadoc = 0:%{version}-%{release}
915dd9
Obsoletes:      jakarta-%{short_name}-javadoc <= 0:1.7.0
915dd9
915dd9
%description javadoc
915dd9
%{summary}.
915dd9
915dd9
%prep
915dd9
%setup -q -n %{short_name}-%{version}-src
915dd9
sed -i 's/\r//' *.txt
915dd9
915dd9
%pom_remove_plugin :maven-antrun-plugin
915dd9
%pom_remove_plugin :maven-assembly-plugin
915dd9
915dd9
%mvn_alias :{*} :@1-core :@1-bean-collections
915dd9
%mvn_alias :{*} org.apache.commons:@1 org.apache.commons:@1-core org.apache.commons:@1-bean-collections
915dd9
%mvn_file : %{name} %{name}-core %{name}-bean-collections
915dd9
%mvn_file : %{short_name} %{short_name}-core %{short_name}-bean-collections
915dd9
915dd9
%build
915dd9
# Some tests fail in Koji
915dd9
%mvn_build -f
915dd9
915dd9
%install
915dd9
%mvn_install
915dd9
915dd9
%files -f .mfiles
915dd9
%doc README.txt RELEASE-NOTES.txt
915dd9
%doc LICENSE.txt NOTICE.txt
915dd9
915dd9
%files javadoc -f .mfiles-javadoc
915dd9
%doc LICENSE.txt NOTICE.txt
915dd9
915dd9
%changelog
915dd9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.8.3-14
915dd9
- Mass rebuild 2013-12-27
915dd9
915dd9
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-13
915dd9
- Add BuildRequires on apache-commons-parent >= 26-7
915dd9
- Remove BuildRequires on commons-collections-testframework
915dd9
915dd9
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-12
915dd9
- Remove workaround for rpm bug #646523
915dd9
915dd9
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-11
915dd9
- Rebuild to regenerate API documentation
915dd9
- Resolves: CVE-2013-1571
915dd9
915dd9
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-10
915dd9
- Build with xmvn
915dd9
- Don't generate extra JARs
915dd9
- Simplify build dependencies
915dd9
- Update to current packaging guidelines
915dd9
915dd9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-9
915dd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
915dd9
915dd9
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.8.3-8
915dd9
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
915dd9
- Replace maven BuildRequires with maven-local
915dd9
915dd9
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-7
915dd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
915dd9
915dd9
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-6
915dd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
915dd9
915dd9
* Tue Nov 22 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8.3-5
915dd9
- Packaging fixes
915dd9
- Remove unneeded depmap
915dd9
- Remove versioned jars and javadocs
915dd9
- Use maven 3 to build
915dd9
915dd9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-4
915dd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
915dd9
915dd9
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8.3-3
915dd9
- Add license to javadoc subpackage
915dd9
915dd9
* Mon May 24 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8.3-2
915dd9
- Added provides to javadoc subpackage
915dd9
915dd9
* Fri May 21 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8.3-1
915dd9
- Re-did whole spec file, dropped gcj support
915dd9
- Rename package (jakarta-commons-beanutils->apache-commons-beanutils)
915dd9
915dd9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.7.0-12.3
915dd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
915dd9
915dd9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.7.0-11.3
915dd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
915dd9
915dd9
* Thu Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-10.3
915dd9
- Fedora-specific: enable GCJ support
915dd9
915dd9
* Thu Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-10.2
915dd9
- Fedora-specific: BuildRequires: java-1.6.0-devel
915dd9
915dd9
* Thu Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-10.1
915dd9
- Fedora-specific: remove repolib
915dd9
- Fedora-specific: enable JDK6 support
915dd9
915dd9
* Mon Oct 20 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-10
915dd9
- add flag to build with maven
915dd9
915dd9
* Fri Sep 19 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-9
915dd9
- add jdk6 patch
915dd9
- fix repolib
915dd9
915dd9
* Sun Jun 15 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-8.jpp5
915dd9
- fix duplicate files
915dd9
- correctly unpack sources
915dd9
- remove spurious gnu-crypto requirement
915dd9
- remove spurious javadoc package requirements
915dd9
- fix javadoc directory
915dd9
- fix build-classpath call
915dd9
- use macros
915dd9
915dd9
* Fri May 30 2008 Permaine Cheung <pcheung@redhat.com> - 0:1.7.0-7
915dd9
- First JPP5 build
915dd9
915dd9
* Tue Jul 24 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.7.0-6jpp
915dd9
- Make Vendor, Distribution based on macro
915dd9
- Fix aot build
915dd9
- Add poms and depmap frags
915dd9
- Build with maven1 by default
915dd9
- Add manual subpackage when built with maven
915dd9
915dd9
* Tue Mar 13 2007 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.7.0-2jpp.ep1.2
915dd9
- Fix repolib location
915dd9
915dd9
* Tue Mar 13 2007 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-2jpp.ep1.1
915dd9
- New repolib location
915dd9
915dd9
* Mon Mar 05 2007 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-2jpp.el4ep1.3
915dd9
- Remove pre section used for RHUG cleanup
915dd9
915dd9
* Tue Feb 20 2007 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.7.0-2jpp.el4ep1.2
915dd9
- Add -brew suffix
915dd9
915dd9
* Fri Feb 17 2007 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.7.0-2jpp.el4ep1.1
915dd9
- Add repolib support
915dd9
915dd9
* Thu Aug 17 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-5jpp
915dd9
- Require what is used in post/postun for javadoc
915dd9
915dd9
* Fri Jul 14 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-4jpp
915dd9
- Add AOT bits
915dd9
915dd9
* Thu May 11 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-3jpp
915dd9
- Add header
915dd9
- Remove unecessary macro definitions
915dd9
915dd9
* Wed Feb 22 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-2jpp_1rh
915dd9
- Merge with upstream
915dd9
915dd9
* Wed Apr 27 2005 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-1jpp_3rh
915dd9
- Fix build so that collections jar is created
915dd9
915dd9
* Sat Jan 29 2005 Ralph Apel <r.apel@r-apel.de> - 0:1.7.0-2jpp
915dd9
- Use the "dist" target to get a full build, including bean-collections
915dd9
915dd9
* Thu Oct 21 2004 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-1jpp_1rh
915dd9
- Import from upstream
915dd9
915dd9
* Thu Oct 21 2004 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-1jpp
915dd9
- Upgrade to 1.7.0
915dd9
915dd9
* Fri Oct 1 2004 Andrew Overholt <overholt@redhat.com> 0:1.6.1-4jpp_6rh
915dd9
- add coreutils BuildRequires
915dd9
915dd9
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.6.1-5jpp
915dd9
- Rebuild with ant-1.6.2
915dd9
915dd9
* Fri Jul 2 2004 Aizaz Ahmed <aahmed@redhat.com> 0:1.6.1-4jpp_5rh
915dd9
- Added trigger to restore symlinks that are removed if ugrading
915dd9
  from a commons-beanutils rhug package
915dd9
915dd9
* Fri Apr  2 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.6.1-4jpp_4rh
915dd9
- more of the same, for version-suffixed .jar files
915dd9
915dd9
* Fri Mar 26 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.6.1-4jpp_3rh
915dd9
- add RHUG upgrade cleanup
915dd9
915dd9
* Fri Mar  5 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.6.1-4jpp_2rh
915dd9
- RH vacuuming part II
915dd9
915dd9
* Thu Mar  4 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.6.1-4jpp_1rh
915dd9
- RH vacuuming
915dd9
915dd9
* Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:1.6.1-4jpp
915dd9
- update for JPackage 1.5
915dd9
915dd9
* Thu Feb 27 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.6.1-2jpp
915dd9
- fix ASF license and add packager name
915dd9
915dd9
* Wed Feb 19 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.6.1-1jpp
915dd9
- 1.6.1
915dd9
915dd9
* Thu Feb 13 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.6-1jpp
915dd9
- 1.6
915dd9
915dd9
* Thu Oct 24 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-1jpp
915dd9
- 1.5
915dd9
915dd9
* Fri Aug 23 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.4.1-1jpp
915dd9
- 1.4.1
915dd9
915dd9
* Tue Aug 20 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.4-1jpp
915dd9
- 1.4
915dd9
915dd9
* Fri Jul 12 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.3-3jpp
915dd9
- change to commons-xxx.jar instead of commons-xxx.home in ant parameters
915dd9
915dd9
* Mon Jun 10 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.3-2jpp
915dd9
- use sed instead of bash 2.x extension in link area to make spec compatible
915dd9
  with distro using bash 1.1x
915dd9
915dd9
* Fri Jun 07 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.3-1jpp
915dd9
- 1.3
915dd9
- added short names in %%{_javadir}, as does jakarta developpers
915dd9
- first jPackage release