]> git.pld-linux.org Git - packages/python-chardet.git/commitdiff
- initial revision auto/th/python-chardet-1_0-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 8 Dec 2007 00:08:15 +0000 (00:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-chardet.spec -> 1.1

python-chardet.spec [new file with mode: 0644]

diff --git a/python-chardet.spec b/python-chardet.spec
new file mode 100644 (file)
index 0000000..220bf8c
--- /dev/null
@@ -0,0 +1,49 @@
+%define                module  chardet
+
+Summary:       Character encoding auto-detection in Python
+Summary(pl.UTF-8):     Automatyczne wykrywanie kodowania znaków w pythonie
+Name:          python-%{module}
+Version:       1.0
+Release:       1
+License:       LGPL
+Group:         Development/Languages/Python
+Source0:       http://chardet.feedparser.org/download/%{module}-%{version}.tgz
+# Source0-md5: 29f69d097052a4eae3774382c234cf2b
+URL:           http://chardet.feedparser.org/
+BuildRequires: python >= 1:2.5
+BuildRequires: python-devel >= 1:2.5
+%pyrequires_eq python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Character encoding auto-detection in Python.
+As smart as your browser.
+
+%description -l pl.UTF-8
+Automatyczne wykrywanie kodowania znaków w pythonie.
+Tak zmyślne jak w twojej przeglądarce.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*
+%dir %{py_sitescriptdir}/chardet
+%{py_sitescriptdir}/chardet/*.py[co]
+%{py_sitescriptdir}/*.egg-info
This page took 0.086797 seconds and 4 git commands to generate.