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

Revision 521, 1.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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.4
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.bz2
11License: modified BSD-style License
12Group: Development/Libraries
13URL: http://babel.edgewall.org/
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildArch: noarch
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21
22%description
23Babel is composed of two major parts:
24
25 * tools to build and work with gettext message catalogs
26 * a Python interface to the CLDR (Common Locale Data Repository),
27   providing access to various locale display names, localized number
28   and date formatting, etc.
29
30
31%prep
32%setup -q -n Babel-%{version}
33
34%build
35%{__python} setup.py build
36
37%install
38%{__rm} -rf ${RPM_BUILD_ROOT}
39%{__python} setup.py install --root=${RPM_BUILD_ROOT}
40
41
42%clean
43%{__rm} -rf ${RPM_BUILD_ROOT}
44
45
46%files
47%defattr(-,root,root)
48%doc COPYING ChangeLog README.txt contrib doc scripts
49%{_bindir}/pybabel
50%{python_sitelib}/Babel-*.egg-info
51%{python_sitelib}/babel
52
53%changelog
54* Wed Feb  3 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.4-2
55- rebuilt with python-2.6.4
56
57* Sun Apr  5 2009 IWAI, Masaharu <iwai@alib.jp> 0.9.4-1
58- initial release
59
Note: See TracBrowser for help on using the repository browser.