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