]> git.pld-linux.org Git - packages/python-chardet.git/blame - python-chardet.spec
- initial revision
[packages/python-chardet.git] / python-chardet.spec
CommitLineData
764b2389
JR
1%define module chardet
2
3Summary: Character encoding auto-detection in Python
4Summary(pl.UTF-8): Automatyczne wykrywanie kodowania znaków w pythonie
5Name: python-%{module}
6Version: 1.0
7Release: 1
8License: LGPL
9Group: Development/Languages/Python
10Source0: http://chardet.feedparser.org/download/%{module}-%{version}.tgz
11# Source0-md5: 29f69d097052a4eae3774382c234cf2b
12URL: http://chardet.feedparser.org/
13BuildRequires: python >= 1:2.5
14BuildRequires: python-devel >= 1:2.5
15%pyrequires_eq python-modules
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Character encoding auto-detection in Python.
20As smart as your browser.
21
22%description -l pl.UTF-8
23Automatyczne wykrywanie kodowania znaków w pythonie.
24Tak zmyślne jak w twojej przeglądarce.
25
26%prep
27%setup -q -n %{module}-%{version}
28
29%build
30python setup.py build
31
32%install
33rm -rf $RPM_BUILD_ROOT
34
35python setup.py install \
36 --root=$RPM_BUILD_ROOT \
37 --optimize=2
38
39%py_postclean
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%doc docs/*
47%dir %{py_sitescriptdir}/chardet
48%{py_sitescriptdir}/chardet/*.py[co]
49%{py_sitescriptdir}/*.egg-info
This page took 0.103524 seconds and 4 git commands to generate.