1 %include /usr/lib/rpm/macros.php
3 %define _subclass CSSML
4 %define _pearname %{_class}_%{_subclass}
5 Summary: %{_class}_%{_subclass} - methods for creating cascading style sheets (CSS)
6 Summary(pl): %{_class}_%{_subclass} - metody do tworzenia stylów kaskadowych (CSS)
7 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 URL: http://pear.php.net/
14 BuildRequires: rpm-php-pearprov
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The best way to describe this library is to classify it as a template
21 system for generating cascading style sheets (CSS). It is ideal for
22 storing all of the CSS in a single location and allowing it to be
23 parsed as needed at runtime (or from cache) using both general and
24 browser filters specified in the attribute for the style tags. It can
25 be driven with either the libxslt pear extenstion (part of xmldom) or
26 the xslt extension (part of the sablotron libraries). You may see an
27 example usage of this class at the follow url:
28 http://mojave.mojavelinux.com/forum/viewtopic.php?p=22#22
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}
37 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}_%{_subclass}
38 install %{_pearname}-%{version}/%{_subclass}/* $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}/
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc %{_pearname}-%{version}/docs/*
46 %dir %{php_pear_dir}/%{_class}_%{_subclass}
47 %dir %{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}
48 %{php_pear_dir}/%{_class}_%{_subclass}/*.php
49 %{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}/*