]> git.pld-linux.org Git - packages/php-pear-Translation.git/commitdiff
- initial release - STBR php-pear-Translation-1_2-1
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 10 Oct 2002 17:20:59 +0000 (17:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-Translation.spec -> 1.1

php-pear-Translation.spec [new file with mode: 0644]

diff --git a/php-pear-Translation.spec b/php-pear-Translation.spec
new file mode 100644 (file)
index 0000000..f581f47
--- /dev/null
@@ -0,0 +1,42 @@
+%include       /usr/lib/rpm/macros.php
+%define                _class          Translation
+%define                _pearname       %{_class}
+Summary:       %{_pearname} - class for creating multilingual websites
+Summary(pl):   %{_pearname} - klasa do tworzenia wielojêzycznych portali
+Name:          php-pear-%{_pearname}
+Version:       1.2
+Release:       1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
+URL:           http://pear.php.net/
+BuildRequires: rpm-php-pearprov
+Requires:      php-pear
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Class allows to store and retrieve all the strings on multilingual
+site in the database. Class connects to any database using PHP PEAR
+extension. The object should be created for every page. While creation
+all the strings connected with specific page and the strings connected
+with all the pages on the site are loaded into variable, so access to
+them is quite fast and does not overload database server connection.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+
+install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_pearname}-%{version}/doc/*
+%dir %{php_pear_dir}/%{_class}
+%{php_pear_dir}/%{_class}/*.php
This page took 0.16125 seconds and 4 git commands to generate.