]> git.pld-linux.org Git - packages/python-cssutils.git/blame - python-cssutils.spec
- updated to 0.9.5.1
[packages/python-cssutils.git] / python-cssutils.spec
CommitLineData
326d111c 1%define module cssutils
326d111c 2Summary: A CSS Cascading Style Sheets library for Python
839fb13e 3Summary(pl.UTF-8): Biblioteka CSS (Cascading Style Sheets) dla Pythona
326d111c 4Name: python-%{module}
ab760d3b 5Version: 0.9.5.1
6Release: 1
326d111c
AF
7License: LGPL v2.1
8Group: Libraries/Python
ab760d3b 9Source0: http://cheeseshop.python.org/packages/source/c/cssutils/%{module}-%{version}.zip
10# Source0-md5: b5ee33892918c6589017cfb318db8190
326d111c
AF
11URL: http://cthedot.de/cssutils/
12BuildRequires: python-devel >= 1:2.5
52e73fa6 13BuildRequires: python-setuptools
ce56d868 14BuildRequires: rpm-pythonprov
326d111c
AF
15BuildRequires: rpmbuild(macros) >= 1.174
16%pyrequires_eq python-modules
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20A Python package to parse and build CSS Cascading Style Sheets. Partly
ce56d868
JB
21implements the DOM Level 2 Stylesheets and DOM Level 2 CSS interfaces.
22
fc31ca58 23%description -l pl.UTF-8
ce56d868 24Pakiet Pythona do analizy i tworzenia CSS (Cascading Style Sheets).
fc31ca58 25Częściowo implementuje interfejsy DOM Level 2 Stylesheets oraz DOM
ce56d868 26Level 2 CSS.
326d111c
AF
27
28%prep
ab760d3b 29%setup -q -n %{module}-%{version}
326d111c
AF
30
31%build
32python setup.py build
33
34%install
35rm -rf $RPM_BUILD_ROOT
36
37python setup.py install \
38 --single-version-externally-managed \
39 --optimize=2 \
40 --root $RPM_BUILD_ROOT
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc README.txt
ce56d868 48%attr(755,root,root) %{_bindir}/cssparse
326d111c
AF
49%dir %{py_sitescriptdir}/cssutils
50%dir %{py_sitescriptdir}/cssutils/css
51%dir %{py_sitescriptdir}/cssutils/stylesheets
326d111c
AF
52%attr(755,root,root) %{py_sitescriptdir}/cssutils/*.py[co]
53%attr(755,root,root) %{py_sitescriptdir}/cssutils/css/*.py[co]
54%attr(755,root,root) %{py_sitescriptdir}/cssutils/stylesheets/*.py[co]
326d111c 55%{py_sitescriptdir}/*.egg-info
This page took 0.045809 seconds and 4 git commands to generate.