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