]> git.pld-linux.org Git - packages/php-pear-XML_CSSML.git/blob - php-pear-XML_CSSML.spec
- initial release (translation needed)
[packages/php-pear-XML_CSSML.git] / php-pear-XML_CSSML.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          XML
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}
8 Version:        1.1
9 Release:        1
10 License:        PHP 2.02
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
15 Requires:       php-pear
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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
29
30 %prep
31 %setup -q -c
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}
36
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}/
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
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}/*
This page took 0.039025 seconds and 4 git commands to generate.