]> git.pld-linux.org Git - packages/Smarty-plugin-gettext.git/blame - Smarty-plugin-gettext.spec
- add improved tsmarty2c; rel 5
[packages/Smarty-plugin-gettext.git] / Smarty-plugin-gettext.spec
CommitLineData
d0e2a83a
ER
1%define subver b1
2%define rel 5
63723715 3Summary: Gettext support for Smarty
924f14f7 4Summary(pl.UTF-8): Obsługa gettexta dla systemu Smarty
63723715
ER
5Name: smarty-gettext
6Version: 1.0
d0e2a83a 7Release: 0.%{subver}.%{rel}
63723715
ER
8License: LGPL v2+
9Group: Development/Languages/PHP
d0e2a83a 10Source0: http://downloads.sourceforge.net/smarty-gettext/%{name}-%{version}%{subver}.tgz
63723715 11# Source0-md5: 3795d4ce1a391e8eace9bd2adb5b1abb
d0e2a83a
ER
12Source1: http://bazaar.launchpad.net/~eventum-developers/eventum/trunk/download/head%3A/tsmarty2c-20091105141507-sh36mrwjgo63hzxk-1/tsmarty2c
13# Source1-md5: 589fd057a8dec5ee9796849885bb93c4
63723715
ER
14URL: http://smarty.incutio.com/?page=SmartyGettext
15BuildRequires: sed >= 4.0
16Requires: Smarty >= 2.6.10-4
fcc99ad1 17Requires: php(gettext)
63723715
ER
18Requires: php-common
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%define _smartyplugindir %{_datadir}/php/Smarty/plugins
23
24%description
25smarty-gettext provides gettext support for Smarty, the popular PHP
26templating engine <http://smarty.php.net/>.
27
103be048
JR
28%description -l pl.UTF-8
29smarty-gettext dodaje obsługę gettexta do systemu Smarty - popularnego
30silnika szablonów dla PHP - <http://smarty.php.net/>.
6886e5dc 31
827d9419
ER
32%package devel
33Summary: Development tools for smarty-gettext
924f14f7 34Summary(pl.UTF-8): Narzędzia programistyczne dla pakietu smarty-gettext
827d9419
ER
35Group: Development
36# does not require base
37
38%description devel
39This package contains tsmarty2c program which can be used to extract
40gettext compatible strings.
41
103be048
JR
42%description devel -l pl.UTF-8
43Ten pakiet zawiera program tsmarty2c, którego można użyć do wyciągania
44łańcuchów kompatybilnych z gettextem.
0f19e515 45
63723715 46%prep
d0e2a83a 47%setup -q -n %{name}-%{version}%{subver}
63723715
ER
48
49%install
50rm -rf $RPM_BUILD_ROOT
51install -d $RPM_BUILD_ROOT{%{_smartyplugindir},%{_bindir}}
d0e2a83a
ER
52cp -a block.t.php $RPM_BUILD_ROOT%{_smartyplugindir}
53install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/tsmarty2c
63723715
ER
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc ChangeLog README
6886e5dc 61%{_smartyplugindir}/*.php
827d9419
ER
62
63%files devel
64%defattr(644,root,root,755)
65%attr(755,root,root) %{_bindir}/tsmarty2c
This page took 0.0779879999999999 seconds and 4 git commands to generate.