SPECS: python-chardet.spec (NEW) - initial revision
baggins
baggins at pld-linux.org
Sat Dec 8 01:08:21 CET 2007
Author: baggins Date: Sat Dec 8 00:08:21 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
SPECS:
python-chardet.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-chardet.spec
diff -u /dev/null SPECS/python-chardet.spec:1.1
--- /dev/null Sat Dec 8 01:08:21 2007
+++ SPECS/python-chardet.spec Sat Dec 8 01:08:15 2007
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%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
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007-12-08 00:08:15 baggins
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list