]> git.pld-linux.org Git - packages/python-encutils.git/commitdiff
- initial PLD release auto/th/python-encutils-0_8_3-1
authorluzik <luzik@pld-linux.org>
Sun, 31 Aug 2008 15:39:28 +0000 (15:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-encutils.spec -> 1.1

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

diff --git a/python-encutils.spec b/python-encutils.spec
new file mode 100644 (file)
index 0000000..d2e0a8d
--- /dev/null
@@ -0,0 +1,49 @@
+%define                module  encutils
+Summary:       A collection of helper functions to detect encodings of text files
+Summary(pl.UTF-8):     Kolekcja funkcji wykrywającej kodowanie plików tekstowych
+Name:          python-%{module}
+Version:       0.8.3
+Release:       1
+License:       LGPL v2.1
+Group:         Libraries/Python
+Source0:       http://cheeseshop.python.org/packages/source/e/encutils/%{module}-%{version}.zip
+# Source0-md5: 691785da7babf1af4c051977a4c97a1f
+URL:           http://cthedot.de/encutils/
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.174
+%pyrequires_eq python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A collection of helper functions to detect encodings of text files
+(like HTML, XHTML, XML, CSS, etc.) retrieved via HTTP, file or string.
+
+%description -l pl.UTF-8
+Kolekcja funkcji wykrywającej kodowanie plików tekstowych (HTML,
+XHTML, XML, CSS, etc.) pobranych przez HTTP, plik lub ciąg znaków.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+        --single-version-externally-managed \
+       --optimize=2 \
+       --root $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%dir %{py_sitescriptdir}/encutils
+%attr(755,root,root) %{py_sitescriptdir}/encutils/*.py[co]
+%{py_sitescriptdir}/*.egg-info
This page took 0.082885 seconds and 4 git commands to generate.