]> git.pld-linux.org Git - packages/php-pear-Translation.git/blob - php-pear-Translation.spec
e6b19750d759b053e6ac85b5c798f4ff1dbacc52
[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.5
9 Release:        1
10 License:        PHP 2.02
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5:  919b48b77a8ae37ee6e54816539a3a2e
14 URL:            http://pear.php.net/package/%{_pearname}/
15 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
16 Requires:       php-pear
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Class allows to store and retrieve all the strings on multilingual
22 site in the database. Class connects to any database using PHP PEAR
23 extension. The object should be created for every page. While creation
24 all the strings connected with specific page and the strings connected
25 with all the pages on the site are loaded into variable, so access to
26 them is quite fast and does not overload database server connection.
27
28 This class has in PEAR status: %{_status}.
29
30 %description -l pl
31 Klasa ta pozwala na przechowywanie wszystkich ³añcuchów znaków dla
32 wielojêzycznych serwisów w bazie danych i odczytywanie ich. Klasa
33 ³±czy siê z dowoln± baz± u¿ywaj±c rozszerzenia PHP PEAR. Obiekt mo¿e
34 byæ tworzony dla ka¿dej strony. Od utworzenia wszystkie ³añcuchy
35 powi±zane z dan± stron±, a tak¿e ³añcuchy powi±zane ze wszystkimi
36 stronami z serwisu s± wczytywane do zmiennej, wiêc dostêp do nich jest
37 szybki i nie przeci±¿a po³±czenia z serwerem baz danych.
38
39 Ta klasa ma w PEAR status: %{_status}.
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}
47
48 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc %{_pearname}-%{version}/doc/*
56 %dir %{php_pear_dir}/%{_class}
57 %{php_pear_dir}/%{_class}/*.php
This page took 0.059897 seconds and 2 git commands to generate.