|
|
b95445 |
%{?scl:%scl_package apache-%{short_name}}
|
|
|
b95445 |
%{!?scl:%global pkg_name %{name}}
|
|
|
b95445 |
|
|
|
b95445 |
%global base_name configuration
|
|
|
b95445 |
%global short_name commons-%{base_name}
|
|
|
b95445 |
|
|
|
b95445 |
Name: %{?scl_prefix}apache-%{short_name}
|
|
|
b95445 |
Version: 1.10
|
|
|
b95445 |
Release: 9.2%{?dist}
|
|
|
b95445 |
Summary: Commons Configuration Package
|
|
|
b95445 |
|
|
|
b95445 |
License: ASL 2.0
|
|
|
b95445 |
URL: http://commons.apache.org/%{base_name}/
|
|
|
b95445 |
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
b95445 |
BuildArch: noarch
|
|
|
b95445 |
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(commons-beanutils:commons-beanutils)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(commons-codec:commons-codec)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(commons-collections:commons-collections)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(commons-digester:commons-digester)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(commons-jxpath:commons-jxpath)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(commons-lang:commons-lang)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(commons-logging:commons-logging)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(javax.servlet:servlet-api)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(log4j:log4j:1.2.17)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(org.apache.commons:commons-jexl)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(org.apache.commons:commons-parent:pom:)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(org.apache.commons:commons-vfs2)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.mojo:javacc-maven-plugin)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(xml-apis:xml-apis)
|
|
|
b95445 |
BuildRequires: %{?scl_prefix}mvn(xml-resolver:xml-resolver)
|
|
|
b95445 |
|
|
|
b95445 |
%description
|
|
|
b95445 |
Configuration is a project to provide a generic Configuration
|
|
|
b95445 |
interface and allow the source of the values to vary. It
|
|
|
b95445 |
provides easy typed access to single, as well as lists of
|
|
|
b95445 |
configuration values based on a 'key'.
|
|
|
b95445 |
Right now you can load properties from a simple properties
|
|
|
b95445 |
file, a properties file in a jar, an XML file, JNDI settings,
|
|
|
b95445 |
as well as use a mix of different sources using a
|
|
|
b95445 |
ConfigurationFactory and CompositeConfiguration.
|
|
|
b95445 |
Custom configuration objects are very easy to create now
|
|
|
b95445 |
by just subclassing AbstractConfiguration. This works
|
|
|
b95445 |
similar to how AbstractList works.
|
|
|
b95445 |
|
|
|
b95445 |
%if 0
|
|
|
b95445 |
|
|
|
b95445 |
%package javadoc
|
|
|
b95445 |
Summary: API documentation for %{pkg_name}
|
|
|
b95445 |
|
|
|
b95445 |
%description javadoc
|
|
|
b95445 |
%{summary}.
|
|
|
b95445 |
%endif
|
|
|
b95445 |
|
|
|
b95445 |
%prep
|
|
|
b95445 |
%setup -q -n %{short_name}-%{version}-src
|
|
|
b95445 |
sed -i 's/\r//' LICENSE.txt NOTICE.txt
|
|
|
b95445 |
|
|
|
b95445 |
%pom_change_dep :log4j ::1.2.17
|
|
|
b95445 |
|
|
|
b95445 |
%build
|
|
|
b95445 |
%mvn_file : %{short_name} %{pkg_name}
|
|
|
b95445 |
%mvn_alias : org.apache.commons:%{short_name}
|
|
|
b95445 |
# We skip tests because we don't have test deps (dbunit in particular).
|
|
|
b95445 |
# FIXME Javadocs are temporarly disabled due to JDK bug, see
|
|
|
b95445 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1423421
|
|
|
b95445 |
%mvn_build -f -j
|
|
|
b95445 |
|
|
|
b95445 |
%install
|
|
|
b95445 |
%mvn_install
|
|
|
b95445 |
|
|
|
b95445 |
%files -f .mfiles
|
|
|
b95445 |
%doc LICENSE.txt NOTICE.txt
|
|
|
b95445 |
|
|
|
b95445 |
%if 0
|
|
|
b95445 |
|
|
|
b95445 |
%files javadoc -f .mfiles-javadoc
|
|
|
b95445 |
%doc LICENSE.txt NOTICE.txt
|
|
|
b95445 |
%endif
|
|
|
b95445 |
|
|
|
b95445 |
%changelog
|
|
|
b95445 |
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 1.10-9.2
|
|
|
b95445 |
- Mass rebuild 2017-06-22
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 1.10-9.1
|
|
|
b95445 |
- Automated package import and SCL-ization
|
|
|
b95445 |
|
|
|
b95445 |
* Fri Feb 17 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-9
|
|
|
b95445 |
- Temporarly disable javadoc generation
|
|
|
b95445 |
|
|
|
b95445 |
* Fri Feb 10 2017 Michael Simacek <msimacek@redhat.com> - 1.10-8
|
|
|
b95445 |
- Use log4j12
|
|
|
b95445 |
|
|
|
b95445 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-7
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-6
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-5
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-4
|
|
|
b95445 |
- Remove legacy Obsoletes/Provides for jakarta-commons
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Jun 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-3
|
|
|
b95445 |
- Fix BR on commons-parent
|
|
|
b95445 |
|
|
|
b95445 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Tue Oct 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-1
|
|
|
b95445 |
- Update to upstream version 1.10
|
|
|
b95445 |
|
|
|
b95445 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-6
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-5
|
|
|
b95445 |
- Remove unneeded BR: maven-idea-plugin
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-4
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.9-3
|
|
|
b95445 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
b95445 |
- Replace maven BuildRequires with maven-local
|
|
|
b95445 |
|
|
|
b95445 |
* Tue Jan 15 2013 Michal Srb <msrb@redhat.com> - 1.9-2
|
|
|
b95445 |
- Build with xmvn
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-1
|
|
|
b95445 |
- Update to upstream version 1.9
|
|
|
b95445 |
- Update to currennt packaging guidelines
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-1
|
|
|
b95445 |
- Update to upstream 1.8
|
|
|
b95445 |
- Install NOTICE.txt file
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Apr 18 2012 Alexander Kurtakov <akurtako@redhat.com> 1.6-7
|
|
|
b95445 |
- Update to current guidelines.
|
|
|
b95445 |
- Move to servlet 3.
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-6
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Tue Feb 15 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6-5
|
|
|
b95445 |
- Change ant dep groupId to org.apache.ant to fix build
|
|
|
b95445 |
- Versionless jar & javadocs
|
|
|
b95445 |
- Use maven 3 to build
|
|
|
b95445 |
|
|
|
b95445 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
|
|
|
b95445 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Oct 14 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6-3
|
|
|
b95445 |
- tomcat5 -> tomcat6 BRs/Rs
|
|
|
b95445 |
- jakarta -> apache BRs/Rs
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Jul 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6-2
|
|
|
b95445 |
- Add license to javadoc subpackage
|
|
|
b95445 |
|
|
|
b95445 |
* Thu May 27 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6-1
|
|
|
b95445 |
- Rename package (jakarta-commons-configuration->apache-commons-configuration)
|
|
|
b95445 |
- Build with maven instead of ant, drop deprecated patches
|
|
|
b95445 |
- Rebase, cleanups, drop epoch
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Aug 20 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.4-7
|
|
|
b95445 |
- Fix description.
|
|
|
b95445 |
- Remove requires(post/postun) for javadoc subpackage.
|
|
|
b95445 |
- Use sed instead of dos2unix.
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Aug 20 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.4-6
|
|
|
b95445 |
- Remove gcj support.
|
|
|
b95445 |
- Initial build for Fedora.
|
|
|
b95445 |
|
|
|
b95445 |
* Mon May 18 2009 Fernando Nasser <fnasser@redhat.com> - 0:1.4-5
|
|
|
b95445 |
- Fix license
|
|
|
b95445 |
- Fix source URL
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Mar 18 2009 Yong Yang <yyang@redhat.com> - 0:1.4-4
|
|
|
b95445 |
- rebuild with new maven2 2.0.8 built in bootstrap mode
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Feb 05 2009 Yong Yang <yyang@redhat.com> - 0:1.4-3
|
|
|
b95445 |
- Fix release tag
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Jan 14 2009 Yong Yang <yyang@redhat.com> - 0:1.4-2jpp
|
|
|
b95445 |
- Import from dbhole's maven 2.0.8 packages, initial building
|
|
|
b95445 |
|
|
|
b95445 |
* Mon Aug 13 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.4-1jpp
|
|
|
b95445 |
- Upgrade to 1.4
|
|
|
b95445 |
- Add pom file
|
|
|
b95445 |
|
|
|
b95445 |
* Thu May 03 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.2-3jpp
|
|
|
b95445 |
- Patch one test
|
|
|
b95445 |
|
|
|
b95445 |
* Wed Mar 07 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.2-2jpp
|
|
|
b95445 |
- Add gcj_support option
|
|
|
b95445 |
- Optionally build without maven
|
|
|
b95445 |
|
|
|
b95445 |
* Mon Feb 20 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.2-1jpp
|
|
|
b95445 |
- Upgrade to 1.2
|
|
|
b95445 |
|
|
|
b95445 |
* Mon Feb 20 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.1-2jpp
|
|
|
b95445 |
- Rebuild for JPP-1.7 and maven-1.1
|
|
|
b95445 |
|
|
|
b95445 |
* Thu Sep 15 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.1-1jpp
|
|
|
b95445 |
- Upgrade to 1.1
|
|
|
b95445 |
- Omit findbugs and tasks reports: don't have these plugins yet
|
|
|
b95445 |
- Requires java 1.4.2 to build
|
|
|
b95445 |
|
|
|
b95445 |
* Mon Feb 21 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.0.f-1jpp
|
|
|
b95445 |
- Upgrade to 1.0 final, letter in version can be bumped with 1.1
|
|
|
b95445 |
- Prepare for build with maven, but still build with ant
|
|
|
b95445 |
|
|
|
b95445 |
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.0.d3-2jpp
|
|
|
b95445 |
- Rebuild with ant-1.6.2
|
|
|
b95445 |
- Upgrade to Ant 1.6.X
|
|
|
b95445 |
* Mon Jan 19 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.0.d3-1jpp
|
|
|
b95445 |
- First JPackage release
|