]> git.pld-linux.org Git - packages/php-pear-Translation.git/blob - php-pear-Translation.spec
- 1.2.3 - bugfix stable release - STBR to Ra updates
[packages/php-pear-Translation.git] / php-pear-Translation.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Translation
3 %define         _status         stable
4 %define         _pearname       %{_class}
5 Summary:        %{_pearname} - class for creating multilingual websites
6 Summary(pl):    %{_pearname} - klasa do tworzenia wielojêzycznych portali
7 Name:           php-pear-%{_pearname}
8 Version:        1.2.3
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 >= 4.0.2-98
15 Requires:       php-pear
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Class allows to store and retrieve all the strings on multilingual
21 site in the database. Class connects to any database using PHP PEAR
22 extension. The object should be created for every page. While creation
23 all the strings connected with specific page and the strings connected
24 with all the pages on the site are loaded into variable, so access to
25 them is quite fast and does not overload database server connection.
26
27 This class has in PEAR status: %{_status}.
28
29 %description -l pl
30 Klasa ta pozwala na przechowywanie wszystkich ³añcuchów znaków dla
31 wielojêzycznych serwisów w bazie danych i odczytywanie ich. Klasa
32 ³±czy siê z dowoln± baz± u¿ywaj±c rozszerzenia PHP PEAR. Obiekt mo¿e
33 byæ tworzony dla ka¿dej strony. Od utworzenia wszystkie ³añcuchy
34 powi±zane z dan± stron±, a tak¿e ³añcuchy powi±zane ze wszystkimi
35 stronami z serwisu s± wczytywane do zmiennej, wiêc dostêp do nich
36 jest szybki i nie przeci±¿a po³±czenia z serwerem baz danych.
37
38 Ta klasa ma w PEAR status: %{_status}.
39
40 %prep
41 %setup -q -c
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
46
47 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc %{_pearname}-%{version}/doc/*
55 %dir %{php_pear_dir}/%{_class}
56 %{php_pear_dir}/%{_class}/*.php
This page took 1.688532 seconds and 3 git commands to generate.