source: projects/specs/branches/6/p/python-babel/python-babel-vl.spec @ 5795

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

rebuild package

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