]> git.pld-linux.org Git - packages/php-pear-Translation.git/blame - php-pear-Translation.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Translation.git] / php-pear-Translation.spec
CommitLineData
9a266148 1%define _class Translation
010bafd1 2%define _status stable
9a266148 3%define _pearname %{_class}
9417244b 4
9a266148 5Summary: %{_pearname} - class for creating multilingual websites
ae59de2e 6Summary(pl.UTF-8): %{_pearname} - klasa do tworzenia wielojęzycznych portali
9a266148 7Name: php-pear-%{_pearname}
c11ee108 8Version: 1.2.6pl1
4acf3875 9Release: 5
9a266148
PG
10License: PHP 2.02
11Group: Development/Languages/PHP
12Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
c11ee108 13# Source0-md5: 096296bfe322e4ba250f79bb885ac022
a939f413 14URL: http://pear.php.net/package/Translation/
dcb60e7f 15BuildRequires: php-pear-PEAR
c10d559c 16BuildRequires: rpm-php-pearprov >= 4.4.2-11
714bad8d 17BuildRequires: rpmbuild(macros) >= 1.300
9a266148 18Requires: php-pear
66e37b7f 19Requires: php-pear-DB
9a266148
PG
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Class allows to store and retrieve all the strings on multilingual
25site in the database. Class connects to any database using PHP PEAR
26extension. The object should be created for every page. While creation
27all the strings connected with specific page and the strings connected
28with all the pages on the site are loaded into variable, so access to
29them is quite fast and does not overload database server connection.
30
4a367bc7 31In PEAR status of this package is: %{_status}.
010bafd1 32
5ad82413
JR
33%description -l pl.UTF-8
34Klasa ta pozwala na przechowywanie wszystkich łańcuchów znaków dla
35wielojęzycznych serwisów w bazie danych i odczytywanie ich. Klasa
36łączy się z dowolną bazą używając rozszerzenia PHP PEAR. Obiekt może
37być tworzony dla każdej strony. Od utworzenia wszystkie łańcuchy
38powiązane z daną stroną, a także łańcuchy powiązane ze wszystkimi
39stronami z serwisu są wczytywane do zmiennej, więc dostęp do nich jest
40szybki i nie przeciąża połączenia z serwerem baz danych.
f0ebb744 41
010bafd1
PG
42Ta klasa ma w PEAR status: %{_status}.
43
9a266148 44%prep
c10d559c 45%pear_package_setup
9a266148
PG
46
47%install
48rm -rf $RPM_BUILD_ROOT
c10d559c
ER
49install -d $RPM_BUILD_ROOT%{php_pear_dir}
50%pear_package_install
9a266148
PG
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
c10d559c
ER
57%doc install.log
58%doc docs/%{_pearname}/docs/*
9a266148 59%dir %{php_pear_dir}/%{_class}
c10d559c 60%{php_pear_dir}/.registry/*.reg
9a266148 61%{php_pear_dir}/%{_class}/*.php
This page took 0.060705 seconds and 5 git commands to generate.