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