17
0
OBS User unknown
2008-09-18 02:45:36 +00:00
committed by Git OBS Bridge
commit 44eee4fff1
6 changed files with 142 additions and 0 deletions

24
.gitattributes vendored Normal file
View File

@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild

3
cssutils-0.9.5b2.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c015149087af4589538c2b76b753118f2419e36dc2392b6cdfb7cc6b57ee39e9
size 891762

6
python-cssutils.changes Normal file
View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Mon Apr 28 17:50:55 CEST 2008 - pth@suse.de
- Initial package.

105
python-cssutils.spec Normal file
View File

@@ -0,0 +1,105 @@
#
# spec file for package python-cssutils (Version 0.9.5b2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: python-cssutils
BuildRequires: dos2unix python-devel python-setuptools
Version: 0.9.5b2
Release: 2
Summary: Cascading Style Sheets (CSS) parser and library for Python
Source: cssutils-%{version}.tar.bz2
Url: http://cthedot.de/cssutils
Group: Development/Libraries/Perl
License: LGPL v3 or later
Recommends: %{name}-doc >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%description
Cssutils are based upon and partly implement the following
specifications (DOM only, not any rendering facilities):
CSS 2.1 Rules and properties are defined here
CSS 2.1 Errata A few erratas, mainly the definition of CHARSET_SYM
tokens
MediaQueries MediaQueries are part of stylesheets.MediaList since
v0.9.4, used in @import and @media rules.
Namespaces Added in v0.9.1 and updated to definition in CSSOM in v0.9.4
Selectors The selector syntax defined here (and not in CSS 2.1) should
be parsable with cssutils (should mind though ;) )
DOM Level 2 Style CSS DOM for package css
DOM Level 2 Style Stylesheets DOM for package stylesheets
CSSOM A few details (mainly the NamespaceRule DOM) is taken from here.
Plan is to move implementation to the stuff defined here which is newer
but still no REC so might change in the future
Authors:
--------
Christof Hoeke
%package doc
License: LGPL v3 or later
Summary: Documentation and examples for cssutils
Group: Development/Libraries/Perl
%description doc
This package contains the HTML and TeX documentation for cssutils as
well as examples of how to use them.
Authors:
--------
Christof Hoeke
%prep
%setup -q -n cssutils-%{version}
find . -type f -print0| xargs -0 dos2unix
%build
export CFLAGS="%{optflags}"
python ./setup.py build
%install
python ./setup.py install --prefix=%{_prefix} --root="%{buildroot}" --record-rpm=INSTALLED_FILES
sed -i -e 's@/usr/share/man/man\([[:digit:]]\)/\(.\+\.[[:digit:]]\)$@%doc /usr/share/man/man\1/\2.gz@g' INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGELOG.txt docs/ LICENSE.txt README.txt COPYING.LESSER
%files doc
%defattr(-,root,root)
%doc doc/ examples/
%changelog
* Mon Apr 28 2008 pth@suse.de
- Initial package.

0
ready Normal file
View File