Blame SPECS/apache-commons-configuration.spec

f9dff9
f9dff9
%global base_name       configuration
f9dff9
%global short_name      commons-%{base_name}
f9dff9
f9dff9
Name:           apache-%{short_name}
f9dff9
Version:        1.9
890afd
Release:        8%{?dist}
f9dff9
Summary:        Commons Configuration Package
f9dff9
f9dff9
Group:          Development/Libraries
f9dff9
License:        ASL 2.0
f9dff9
URL:            http://commons.apache.org/%{base_name}/
f9dff9
Source0:        http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
f9dff9
BuildArch:      noarch
f9dff9
f9dff9
BuildRequires:  maven-local
f9dff9
BuildRequires:  java-devel
f9dff9
BuildRequires:  jpackage-utils
f9dff9
BuildRequires:  apache-commons-parent >= 26-7
f9dff9
BuildRequires:  maven-antrun-plugin
f9dff9
BuildRequires:  maven-assembly-plugin
f9dff9
BuildRequires:  maven-compiler-plugin
f9dff9
BuildRequires:  maven-doxia-sitetools
f9dff9
BuildRequires:  maven-install-plugin
f9dff9
BuildRequires:  maven-jar-plugin
f9dff9
BuildRequires:  javacc-maven-plugin
f9dff9
BuildRequires:  maven-javadoc-plugin
f9dff9
BuildRequires:  maven-plugin-bundle
f9dff9
BuildRequires:  maven-resources-plugin
f9dff9
BuildRequires:  maven-surefire-plugin
f9dff9
BuildRequires:  maven-surefire-provider-junit
f9dff9
f9dff9
BuildRequires:  apache-commons-beanutils
f9dff9
BuildRequires:  apache-commons-codec
f9dff9
BuildRequires:  apache-commons-collections
f9dff9
BuildRequires:  apache-commons-digester
f9dff9
BuildRequires:  apache-commons-jexl
f9dff9
BuildRequires:  apache-commons-jxpath
f9dff9
BuildRequires:  apache-commons-lang
f9dff9
BuildRequires:  apache-commons-logging
f9dff9
BuildRequires:  apache-commons-vfs
f9dff9
BuildRequires:  tomcat-servlet-3.0-api
f9dff9
BuildRequires:  xml-commons-resolver
f9dff9
f9dff9
f9dff9
Provides:       jakarta-%{short_name} = 0:%{version}-%{release}
f9dff9
Obsoletes:      jakarta-%{short_name} < 0:%{version}-%{release}
f9dff9
f9dff9
f9dff9
%description
f9dff9
Configuration is a project to provide a generic Configuration
f9dff9
interface and allow the source of the values to vary. It
f9dff9
provides easy typed access to single, as well as lists of
f9dff9
configuration values based on a 'key'.
f9dff9
Right now you can load properties from a simple properties
f9dff9
file, a properties file in a jar, an XML file, JNDI settings,
f9dff9
as well as use a mix of different sources using a
f9dff9
ConfigurationFactory and CompositeConfiguration.
f9dff9
Custom configuration objects are very easy to create now
f9dff9
by just subclassing AbstractConfiguration. This works
f9dff9
similar to how AbstractList works.
f9dff9
f9dff9
%package        javadoc
f9dff9
Summary:        API documentation for %{name}
f9dff9
Group:          Documentation
f9dff9
Requires:       jpackage-utils
f9dff9
f9dff9
Provides:       jakarta-%{short_name}-javadoc = 0:%{version}-%{release}
f9dff9
Obsoletes:      jakarta-%{short_name}-javadoc < 0:%{version}-%{release}
f9dff9
f9dff9
%description    javadoc
f9dff9
%{summary}.
f9dff9
f9dff9
f9dff9
%prep
f9dff9
%setup -q -n %{short_name}-%{version}-src
f9dff9
%{__sed} -i 's/\r//' LICENSE.txt NOTICE.txt
f9dff9
f9dff9
%build
f9dff9
%mvn_file   : %{short_name} %{name}
f9dff9
%mvn_alias  : org.apache.commons:%{short_name}
f9dff9
# We skip tests because we don't have test deps (dbunit in particular).
f9dff9
%mvn_build -f
f9dff9
f9dff9
%install
f9dff9
%mvn_install
f9dff9
f9dff9
%files -f .mfiles
f9dff9
%doc LICENSE.txt NOTICE.txt
f9dff9
f9dff9
%files javadoc -f .mfiles-javadoc
f9dff9
%doc LICENSE.txt NOTICE.txt
f9dff9
f9dff9
f9dff9
%changelog
890afd
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.9-8
890afd
- Mass rebuild 2013-12-27
890afd
f9dff9
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-7
f9dff9
- Add BuildRequires on apache-commons-parent >= 26-7
f9dff9
f9dff9
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-6
f9dff9
- Rebuild to regenerate API documentation
f9dff9
- Resolves: CVE-2013-1571
f9dff9
f9dff9
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-5
f9dff9
- Remove unneeded BR: maven-idea-plugin
f9dff9
f9dff9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-4
f9dff9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f9dff9
f9dff9
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.9-3
f9dff9
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
f9dff9
- Replace maven BuildRequires with maven-local
f9dff9
f9dff9
* Tue Jan 15 2013 Michal Srb <msrb@redhat.com> - 1.9-2
f9dff9
- Build with xmvn
f9dff9
f9dff9
* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-1
f9dff9
- Update to upstream version 1.9
f9dff9
- Update to currennt packaging guidelines
f9dff9
f9dff9
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
f9dff9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f9dff9
f9dff9
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-1
f9dff9
- Update to upstream 1.8
f9dff9
- Install NOTICE.txt file
f9dff9
f9dff9
* Wed Apr 18 2012 Alexander Kurtakov <akurtako@redhat.com> 1.6-7
f9dff9
- Update to current guidelines.
f9dff9
- Move to servlet 3.
f9dff9
f9dff9
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-6
f9dff9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f9dff9
f9dff9
* Tue Feb 15 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6-5
f9dff9
- Change ant dep groupId to org.apache.ant to fix build
f9dff9
- Versionless jar & javadocs
f9dff9
- Use maven 3 to build
f9dff9
f9dff9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
f9dff9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f9dff9
f9dff9
* Thu Oct 14 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6-3
f9dff9
- tomcat5 -> tomcat6 BRs/Rs
f9dff9
- jakarta -> apache BRs/Rs
f9dff9
f9dff9
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6-2
f9dff9
- Add license to javadoc subpackage
f9dff9
f9dff9
* Thu May 27 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6-1
f9dff9
- Rename package (jakarta-commons-configuration->apache-commons-configuration)
f9dff9
- Build with maven instead of ant, drop deprecated patches
f9dff9
- Rebase, cleanups, drop epoch
f9dff9
f9dff9
* Thu Aug 20 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.4-7
f9dff9
- Fix description.
f9dff9
- Remove requires(post/postun) for javadoc subpackage.
f9dff9
- Use sed instead of dos2unix.
f9dff9
f9dff9
* Thu Aug 20 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.4-6
f9dff9
- Remove gcj support.
f9dff9
- Initial build for Fedora.
f9dff9
f9dff9
* Mon May 18 2009 Fernando Nasser <fnasser@redhat.com> - 0:1.4-5
f9dff9
- Fix license
f9dff9
- Fix source URL
f9dff9
f9dff9
* Wed Mar 18 2009 Yong Yang <yyang@redhat.com> - 0:1.4-4
f9dff9
- rebuild with new maven2 2.0.8 built in bootstrap mode
f9dff9
f9dff9
* Thu Feb 05 2009 Yong Yang <yyang@redhat.com> - 0:1.4-3
f9dff9
- Fix release tag
f9dff9
f9dff9
* Wed Jan 14 2009 Yong Yang <yyang@redhat.com> - 0:1.4-2jpp
f9dff9
- Import from dbhole's maven 2.0.8 packages, initial building
f9dff9
f9dff9
* Mon Aug 13 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.4-1jpp
f9dff9
- Upgrade to 1.4
f9dff9
- Add pom file
f9dff9
f9dff9
* Thu May 03 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.2-3jpp
f9dff9
- Patch one test
f9dff9
f9dff9
* Wed Mar 07 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.2-2jpp
f9dff9
- Add gcj_support option
f9dff9
- Optionally build without maven
f9dff9
f9dff9
* Mon Feb 20 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.2-1jpp
f9dff9
- Upgrade to 1.2
f9dff9
f9dff9
* Mon Feb 20 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.1-2jpp
f9dff9
- Rebuild for JPP-1.7 and maven-1.1
f9dff9
f9dff9
* Thu Sep 15 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.1-1jpp
f9dff9
- Upgrade to 1.1
f9dff9
- Omit findbugs and tasks reports: don't have these plugins yet
f9dff9
- Requires java 1.4.2 to build
f9dff9
f9dff9
* Mon Feb 21 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.0.f-1jpp
f9dff9
- Upgrade to 1.0 final, letter in version can be bumped with 1.1
f9dff9
- Prepare for build with maven, but still build with ant
f9dff9
f9dff9
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.0.d3-2jpp
f9dff9
- Rebuild with ant-1.6.2
f9dff9
- Upgrade to Ant 1.6.X
f9dff9
* Mon Jan 19 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.0.d3-1jpp
f9dff9
- First JPackage release