]> git.pld-linux.org Git - packages/Smarty-plugin-gettext.git/blame - Smarty-plugin-gettext.spec
- rename to Smarty-plugin-gettext
[packages/Smarty-plugin-gettext.git] / Smarty-plugin-gettext.spec
CommitLineData
d0e2a83a 1%define subver b1
48ef24da
ER
2%define rel 6
3%include /usr/lib/rpm/macros.php
4%define php_min_version 5.2.1
63723715 5Summary: Gettext support for Smarty
924f14f7 6Summary(pl.UTF-8): Obsługa gettexta dla systemu Smarty
48ef24da 7Name: Smarty-plugin-gettext
63723715 8Version: 1.0
d0e2a83a 9Release: 0.%{subver}.%{rel}
63723715
ER
10License: LGPL v2+
11Group: Development/Languages/PHP
48ef24da 12Source0: http://downloads.sourceforge.net/smarty-gettext/smarty-gettext-%{version}%{subver}.tgz
63723715 13# Source0-md5: 3795d4ce1a391e8eace9bd2adb5b1abb
d0e2a83a
ER
14Source1: http://bazaar.launchpad.net/~eventum-developers/eventum/trunk/download/head%3A/tsmarty2c-20091105141507-sh36mrwjgo63hzxk-1/tsmarty2c
15# Source1-md5: 589fd057a8dec5ee9796849885bb93c4
63723715
ER
16URL: http://smarty.incutio.com/?page=SmartyGettext
17BuildRequires: sed >= 4.0
18Requires: Smarty >= 2.6.10-4
48ef24da
ER
19Requires: php-common >= 4:%{php_min_version}
20Requires: php-gettext
21Provides: smarty-gettext = %{version}-%{release}
22Obsoletes: smarty-gettext
23Obsoletes: smarty-gettext-devel
63723715
ER
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%define _smartyplugindir %{_datadir}/php/Smarty/plugins
28
29%description
30smarty-gettext provides gettext support for Smarty, the popular PHP
31templating engine <http://smarty.php.net/>.
32
103be048
JR
33%description -l pl.UTF-8
34smarty-gettext dodaje obsługę gettexta do systemu Smarty - popularnego
35silnika szablonów dla PHP - <http://smarty.php.net/>.
6886e5dc 36
63723715 37%prep
48ef24da 38%setup -q -n smarty-gettext-%{version}%{subver}
63723715
ER
39
40%install
41rm -rf $RPM_BUILD_ROOT
42install -d $RPM_BUILD_ROOT{%{_smartyplugindir},%{_bindir}}
d0e2a83a
ER
43cp -a block.t.php $RPM_BUILD_ROOT%{_smartyplugindir}
44install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/tsmarty2c
63723715
ER
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc ChangeLog README
827d9419 52%attr(755,root,root) %{_bindir}/tsmarty2c
48ef24da 53%{_smartyplugindir}/*.php
This page took 0.090326 seconds and 4 git commands to generate.