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