]> git.pld-linux.org Git - packages/php-pear-Translation.git/blob - php-pear-Translation.spec
- tabs in preamble
[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.UTF-8):      %{_pearname} - klasa do tworzenia wielojęzycznych portali
8 Name:           php-pear-%{_pearname}
9 Version:        1.2.6pl1
10 Release:        4
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:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 BuildRequires:  rpmbuild(macros) >= 1.300
19 Requires:       php-pear
20 Requires:       php-pear-DB
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Class allows to store and retrieve all the strings on multilingual
26 site in the database. Class connects to any database using PHP PEAR
27 extension. The object should be created for every page. While creation
28 all the strings connected with specific page and the strings connected
29 with all the pages on the site are loaded into variable, so access to
30 them is quite fast and does not overload database server connection.
31
32 In PEAR status of this package is: %{_status}.
33
34 %description -l pl.UTF-8
35 Klasa ta pozwala na przechowywanie wszystkich łańcuchów znaków dla
36 wielojęzycznych serwisów w bazie danych i odczytywanie ich. Klasa
37 łączy się z dowolną bazą używając rozszerzenia PHP PEAR. Obiekt może
38 być tworzony dla każdej strony. Od utworzenia wszystkie łańcuchy
39 powiązane z daną stroną, a także łańcuchy powiązane ze wszystkimi
40 stronami z serwisu są wczytywane do zmiennej, więc dostęp do nich jest
41 szybki i nie przeciąża połączenia z serwerem baz danych.
42
43 Ta klasa ma w PEAR status: %{_status}.
44
45 %prep
46 %pear_package_setup
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
51 %pear_package_install
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc install.log
59 %doc docs/%{_pearname}/docs/*
60 %dir %{php_pear_dir}/%{_class}
61 %{php_pear_dir}/.registry/*.reg
62 %{php_pear_dir}/%{_class}/*.php
This page took 0.106926 seconds and 3 git commands to generate.