source: projects/specs/trunk/p/pytz/pytz-vl.spec @ 8897

Revision 8897, 3.9 KB checked in by kudoh, 10 years ago (diff)

new upstream and rebuilt

Line 
1%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name: pytz
4Version: 2014.4
5Release: 1%{?_dist_release}
6Summary: World Timezone Definitions for Python
7Summary(ja): Python 用の世界タイムゾーン定義
8
9Group: Development/Languages
10License: MIT
11URL: http://pytz.sourceforge.net/
12Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.bz2
13Patch0: tzdata
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17BuildArch: noarch
18BuildRequires: python-devel
19
20Requires: tzdata
21
22%description
23pytz brings the Olson tz database into Python. This library allows accurate
24and cross platform timezone calculations using Python 2.3 or higher. It
25also solves the issue of ambiguous times at the end of daylight savings,
26which you can read more about in the Python Library Reference
27(datetime.tzinfo).
28
29Amost all (over 540) of the Olson timezones are supported.
30
31%prep
32%setup -q
33%patch0 -p1
34
35%build
36%{__python} setup.py build
37
38
39%install
40rm -rf $RPM_BUILD_ROOT
41%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
42chmod +x $RPM_BUILD_ROOT%{python_sitelib}/pytz/*.py
43rm -rf  $RPM_BUILD_ROOT%{python_sitelib}/pytz/zoneinfo
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48
49%files
50%defattr(-,root,root,-)
51%doc CHANGES.txt LICENSE.txt README.txt
52%{python_sitelib}/pytz/
53%{python_sitelib}/*.egg-info
54
55%changelog
56* Sat Aug 09 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2014.4-1
57- initial build for VineSeed
58
59* Tue Jun 26 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2012c-1
60- initial build for VineSeed
61
62* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2010h-5
63- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
64
65* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2010h-4
66- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
67
68* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2010h-3
69- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
70
71* Mon Jun 28 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 2010h-2
72- Define => global
73
74* Tue Apr 27 2010 Jon Ciesla <limb@jcomserv.net> - 2010h-1
75- Update to current version, BZ 573252.
76
77* Mon Feb 01 2010 Jon Ciesla <limb@jcomserv.net> - 2009i-7
78- Corrected Source0 URL, BZ 560168.
79
80* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008i-6
81- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
82
83* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008i-5
84- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
85
86* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2008i-4
87- Rebuild for Python 2.6
88
89* Tue Nov 18 2008 Jef Spaleta <jspaleta at fedoraproject dot org> 2008i-3
90- Apply patch correctly.
91
92* Thu Nov 13 2008 Jef Spaleta <jspaleta at fedoraproject dot org> 2008i-2
93- Updated tzdata patch from Petr Machata bug 471014
94
95* Tue Nov 11 2008 Jef Spaleta <jspaleta at fedoraproject dot org> 2008i-1
96- Update to latest, now using timezone files provided by tzdata package
97
98* Fri Jan 04 2008 Jef Spaleta <jspaleta@gmail.com> 2006p-3
99- Fix for egg-info file creation
100
101* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> 2006p-2
102- Bump for rebuild against python 2.5 and change BR to python-devel accordingly
103
104* Fri Dec  8 2006 Orion Poplawski <orion@cora.nwra.com> 2006p-1
105- Update to 2006p
106
107* Thu Sep  7 2006 Orion Poplawski <orion@cora.nwra.com> 2006g-1
108- Update to 2006g
109
110* Mon Feb 13 2006 Orion Poplawski <orion@cora.nwra.com> 2005r-2
111- Rebuild for gcc/glibc changes
112
113* Tue Jan  3 2006 Orion Poplawski <orion@cora.nwra.com> 2005r-1
114- Update to 2005r
115
116* Thu Dec 22 2005 Orion Poplawski <orion@cora.nwra.com> 2005m-1
117- Update to 2005m
118
119* Fri Jul 22 2005 Orion Poplawski <orion@cora.nwra.com> 2005i-2
120- Remove -O1 from install command
121
122* Tue Jul 05 2005 Orion Poplawski <orion@cora.nwra.com> 2005i-1
123- Initial Fedora Extras package
Note: See TracBrowser for help on using the repository browser.