source: projects/specs/trunk/p/python-babel/python-babel-vl.spec @ 8154

Revision 8154, 1.7 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%{!?python_sitelib:     %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3%define ver 0.9.6
4%define rel 3
5
6Summary: A collection of tools for internationalizing Python applications
7Name: python-babel
8Version: %{ver}
9Release: %{rel}%{?_dist_release}
10Source0: http://ftp.edgewall.com/pub/babel/Babel-%{version}.tar.gz
11License: modified BSD-style License
12Group: Development/Libraries
13URL: http://babel.edgewall.org/
14
15BuildRequires: python-setuptools
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildArch: noarch
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23
24%description
25Babel is composed of two major parts:
26
27 * tools to build and work with gettext message catalogs
28 * a Python interface to the CLDR (Common Locale Data Repository),
29   providing access to various locale display names, localized number
30   and date formatting, etc.
31
32
33%prep
34%setup -q -n Babel-%{version}
35
36%build
37%{__python} setup.py build
38
39%install
40%{__rm} -rf ${RPM_BUILD_ROOT}
41%{__python} setup.py install --root=${RPM_BUILD_ROOT}
42
43
44%clean
45%{__rm} -rf ${RPM_BUILD_ROOT}
46
47
48%files
49%defattr(-,root,root)
50%doc COPYING ChangeLog README.txt contrib doc scripts
51%{_bindir}/pybabel
52%{python_sitelib}/Babel-*.egg-info
53%{python_sitelib}/babel
54
55%changelog
56* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-3
57- rebuild with VineSeed environment
58
59* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-2
60- rebuild with python-2.7.2
61- add BuildRequires: python-setuptools
62
63* Sun Oct 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.6-1
64- new upstream release
65
66* Wed Feb  3 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.4-2
67- rebuilt with python-2.6.4
68
69* Sun Apr  5 2009 IWAI, Masaharu <iwai@alib.jp> 0.9.4-1
70- initial release
71
Note: See TracBrowser for help on using the repository browser.