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

Revision 5701, 1.6 KB checked in by Takemikaduchi, 12 years ago (diff)

python-2.7.2

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 2
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 Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-2
57- rebuild with python-2.7.2
58- add BuildRequires: python-setuptools
59
60* Sun Oct 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.6-1
61- new upstream release
62
63* Wed Feb  3 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.4-2
64- rebuilt with python-2.6.4
65
66* Sun Apr  5 2009 IWAI, Masaharu <iwai@alib.jp> 0.9.4-1
67- initial release
68
Note: See TracBrowser for help on using the repository browser.