|
|
789400 |
%global tzversion tzdata2013c
|
|
|
789400 |
|
|
|
789400 |
Name: joda-time
|
|
|
789400 |
Version: 2.2
|
|
|
056d09 |
Release: 3.%{tzversion}%{?dist}
|
|
|
789400 |
Summary: Java date and time API
|
|
|
789400 |
|
|
|
789400 |
License: ASL 2.0
|
|
|
789400 |
URL: http://joda-time.sourceforge.net
|
|
|
789400 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-dist.tar.gz
|
|
|
789400 |
Source1: ftp://ftp.iana.org/tz/releases/%{tzversion}.tar.gz
|
|
|
789400 |
BuildArch: noarch
|
|
|
789400 |
|
|
|
789400 |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
789400 |
BuildRequires: maven-local
|
|
|
789400 |
BuildRequires: joda-convert
|
|
|
789400 |
BuildRequires: exec-maven-plugin
|
|
|
789400 |
|
|
|
789400 |
|
|
|
789400 |
%description
|
|
|
789400 |
Joda-Time provides a quality replacement for the Java date and time classes. The
|
|
|
789400 |
design allows for multiple calendar systems, while still providing a simple API.
|
|
|
789400 |
The 'default' calendar is the ISO8601 standard which is used by XML. The
|
|
|
789400 |
Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also
|
|
|
789400 |
included, and we welcome further additions. Supporting classes include time
|
|
|
789400 |
zone, duration, format and parsing.
|
|
|
789400 |
|
|
|
789400 |
|
|
|
789400 |
%package javadoc
|
|
|
789400 |
Summary: Javadoc for %{name}
|
|
|
789400 |
|
|
|
789400 |
%description javadoc
|
|
|
789400 |
This package contains the API documentation for %{name}.
|
|
|
789400 |
|
|
|
789400 |
|
|
|
789400 |
%prep
|
|
|
789400 |
%setup -q -n %{name}-%{version}
|
|
|
789400 |
sed -i 's/\r//' LICENSE.txt
|
|
|
789400 |
sed -i 's/\r//' NOTICE.txt
|
|
|
789400 |
sed -i 's/\r//' RELEASE-NOTES.txt
|
|
|
789400 |
|
|
|
789400 |
# all java binaries must be removed from the sources
|
|
|
789400 |
find . -name '*.jar' -exec rm -f '{}' \;
|
|
|
789400 |
|
|
|
789400 |
# replace internal tzdata
|
|
|
789400 |
rm -f src/main/java/org/joda/time/tz/src/*
|
|
|
789400 |
tar -xzf %{SOURCE1} -C src/main/java/org/joda/time/tz/src/
|
|
|
789400 |
|
|
|
789400 |
# compat filename
|
|
|
789400 |
%mvn_file : %{name}
|
|
|
789400 |
|
|
|
789400 |
%build
|
|
|
789400 |
%mvn_build
|
|
|
789400 |
|
|
|
789400 |
%install
|
|
|
789400 |
%mvn_install
|
|
|
789400 |
|
|
|
789400 |
%files -f .mfiles
|
|
|
789400 |
%doc LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
|
|
|
789400 |
|
|
|
789400 |
%files javadoc -f .mfiles-javadoc
|
|
|
789400 |
%doc LICENSE.txt NOTICE.txt
|
|
|
789400 |
|
|
|
789400 |
%changelog
|
|
|
056d09 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.2-3.tzdata2013c
|
|
|
056d09 |
- Mass rebuild 2013-12-27
|
|
|
056d09 |
|
|
|
789400 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-2.tzdata2013c
|
|
|
789400 |
- Rebuild to regenerate API documentation
|
|
|
789400 |
- Resolves: CVE-2013-1571
|
|
|
789400 |
|
|
|
789400 |
* Wed Jun 5 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-1.tzdata2013c
|
|
|
789400 |
- Update to latest upstream and tzdata
|
|
|
789400 |
- Install NOTICE.txt
|
|
|
789400 |
|
|
|
789400 |
* Tue Jun 4 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1-5.tzdata2012h
|
|
|
789400 |
- Enable testsuite
|
|
|
789400 |
- Update to lates packaging guidelines
|
|
|
789400 |
|
|
|
789400 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-4.tzdata2012h
|
|
|
789400 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
789400 |
|
|
|
789400 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.1-3.tzdata2012h
|
|
|
789400 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
789400 |
- Replace maven BuildRequires with maven-local
|
|
|
789400 |
|
|
|
789400 |
* Thu Nov 1 2012 Chris Spike <spike@fedoraproject.org> 2.1-2.tzdata2012h
|
|
|
789400 |
- New tzdata (2012h)
|
|
|
789400 |
|
|
|
789400 |
* Sat Oct 20 2012 Chris Spike <spike@fedoraproject.org> 2.1-1.tzdata2012g
|
|
|
789400 |
- Updated to 2.1
|
|
|
789400 |
- New tzdata (2012g)
|
|
|
789400 |
- Updated spec file according to latest java packaging guidelines
|
|
|
789400 |
|
|
|
789400 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-8.tzdata2011f
|
|
|
789400 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
789400 |
|
|
|
789400 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-7.tzdata2011f
|
|
|
789400 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
789400 |
|
|
|
789400 |
* Tue Nov 29 2011 Alexander Kurtakov <akurtako@redhat.com> 1.6.2-6.tzdata2011f
|
|
|
789400 |
- Adapt to current guidelines.
|
|
|
789400 |
|
|
|
789400 |
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 1.6.2-5.tzdata2011f
|
|
|
789400 |
- New tzdata (2011f)
|
|
|
789400 |
- Fixed build for maven 3
|
|
|
789400 |
- Cleaned up BRs
|
|
|
789400 |
|
|
|
789400 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4.tzdata2010n
|
|
|
789400 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
789400 |
|
|
|
789400 |
* Wed Oct 27 2010 Chris Spike <spike@fedoraproject.org> 1.6.2-3.tzdata2010n
|
|
|
789400 |
- New tzdata (2010n)
|
|
|
789400 |
|
|
|
789400 |
* Thu Sep 23 2010 Chris Spike <spike@fedoraproject.org> 1.6.2-2.tzdata2010l
|
|
|
789400 |
- Ignore test failures (tests fail in koji)
|
|
|
789400 |
|
|
|
789400 |
* Thu Sep 23 2010 Chris Spike <spike@fedoraproject.org> 1.6.2-1.tzdata2010l
|
|
|
789400 |
- New upstream version (1.6.2)
|
|
|
789400 |
- Removed dependency on main package for -javadoc subpackage
|
|
|
789400 |
- Replaced summary with latest version
|
|
|
789400 |
- Switched from ant to maven (no build.xml any more)
|
|
|
789400 |
- Added patch to remove maven toolchain from pom.xml
|
|
|
789400 |
|
|
|
789400 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3.tzdata2008i
|
|
|
789400 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
789400 |
|
|
|
789400 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2.tzdata2008i
|
|
|
789400 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
789400 |
|
|
|
789400 |
* Fri Dec 12 2008 Conrad Meyer <konrad@tylerc.org> - 1.6-1.tzdata2008i
|
|
|
789400 |
- New upstream version (1.6).
|
|
|
789400 |
|
|
|
789400 |
* Fri Oct 31 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-10.tzdata2008i
|
|
|
789400 |
- New tzdata.
|
|
|
789400 |
|
|
|
789400 |
* Mon Oct 13 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-7.tzdata2008g
|
|
|
789400 |
- New tzdata (2008g).
|
|
|
789400 |
|
|
|
789400 |
* Sat Aug 23 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-7.tzdata2008e
|
|
|
789400 |
- New version with new tzdata (2008e).
|
|
|
789400 |
|
|
|
789400 |
* Sat Jul 19 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-7.tzdata2008d
|
|
|
789400 |
- New version with new tzdata (2008d).
|
|
|
789400 |
|
|
|
789400 |
* Mon Jun 9 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-6.tzdata2008c
|
|
|
789400 |
- New version with new tzdata (2008c).
|
|
|
789400 |
|
|
|
789400 |
* Sun Apr 6 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-5.tzdata2008b
|
|
|
789400 |
- Don't compile GCJ bits yet as we hit some GCJ bug.
|
|
|
789400 |
|
|
|
789400 |
* Sat Apr 5 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-4.tzdata2008b
|
|
|
789400 |
- Update to tzdata2008b.
|
|
|
789400 |
- Use unversioned jar.
|
|
|
789400 |
- Some small things to comply with Java Packaging Guidelines.
|
|
|
789400 |
- GCJ support.
|
|
|
789400 |
|
|
|
789400 |
* Mon Mar 17 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-3.tzdata2008a
|
|
|
789400 |
- Many small changes from bz# 436239 comment 6.
|
|
|
789400 |
- Change -javadocs to -javadoc in accordance with java packaging
|
|
|
789400 |
guidelines draft.
|
|
|
789400 |
|
|
|
789400 |
* Sun Mar 16 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-2
|
|
|
789400 |
- Use system junit via Mamoru Tasaka's patch.
|
|
|
789400 |
|
|
|
789400 |
* Mon Mar 3 2008 Conrad Meyer <konrad@tylerc.org> - 1.5.2-1
|
|
|
789400 |
- Initial package.
|