]> git.pld-linux.org Git - packages/php-pear-XML_CSSML.git/blob - php-pear-XML_CSSML.spec
- pl description
[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 %description -l pl
31 Najlepszym sposobem na opisanie tej biblioteki jest sklasyfikowanie
32 jej jako system szablonów do generowania arkuszy CSS. Jest idealny do
33 przechowywania wszystkich CSS w jednym miejscu i pozwalania na
34 analizowanie ich w miarê potrzeby przy u¿yciu filtrów, zarówno
35 ogólnego, jak i dla przegl±darek - podanych w atrybucie znaczników
36 stylu. Biblioteka mo¿e polegaæ na rozszerzeniu peara libxslt (bêd±cego
37 czê¶ci± xmldom) lub rozszerzeniu xslt (bêd±cego czê¶ci± bibliotek
38 sablotron). Przyk³ad u¿ycia klasy mo¿na obejrzeæ pod adresem:
39 http://mojave.mojavelinux.com/forum/viewtopic.php?p=22#22
40
41 %prep
42 %setup -q -c
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}
47
48 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}_%{_subclass}
49 install %{_pearname}-%{version}/%{_subclass}/* $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}/
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc %{_pearname}-%{version}/docs/*
57 %dir %{php_pear_dir}/%{_class}_%{_subclass}
58 %dir %{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}
59 %{php_pear_dir}/%{_class}_%{_subclass}/*.php
60 %{php_pear_dir}/%{_class}_%{_subclass}/%{_subclass}/*
This page took 0.088732 seconds and 4 git commands to generate.