X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Smarty-plugin-gettext.spec;h=cad9be89269b949c9de4b589b330a1e1fa8a9452;hb=827d941963913e7cd6afca8f2846118ef2835250;hp=2368c33ad7fabca9fe816db0e8ed54a4ee52bfb4;hpb=637237159ccc875b988ff318f32e42a3eb1cf56e;p=packages%2FSmarty-plugin-gettext.git
diff --git a/Smarty-plugin-gettext.spec b/Smarty-plugin-gettext.spec
index 2368c33..cad9be8 100644
--- a/Smarty-plugin-gettext.spec
+++ b/Smarty-plugin-gettext.spec
@@ -1,6 +1,7 @@
%define _beta b1
-%define _rel 1
+%define _rel 2
Summary: Gettext support for Smarty
+Summary(pl): Obs³uga gettexta dla systemu Smarty
Name: smarty-gettext
Version: 1.0
Release: 0.%{_beta}.%{_rel}
@@ -12,6 +13,7 @@ URL: http://smarty.incutio.com/?page=SmartyGettext
BuildRequires: sed >= 4.0
Requires: Smarty >= 2.6.10-4
Requires: php-common
+Requires: php-gettext
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,6 +23,19 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
smarty-gettext provides gettext support for Smarty, the popular PHP
templating engine .
+%description -l pl
+smarty-gettext dodaje obs³ugê gettexta do systemu Smarty - popularnego
+silnika szablonów dla PHP - .
+
+%package devel
+Summary: Development tools for smarty-gettext
+Group: Development
+# does not require base
+
+%description devel
+This package contains tsmarty2c program which can be used to extract
+gettext compatible strings.
+
%prep
%setup -q -n %{name}-%{version}%{_beta}
%{__sed} -i -e '1s,#!.*php,#!%{_bindir}/php,' tsmarty2c.php
@@ -39,4 +54,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc ChangeLog README
%{_smartyplugindir}/*.php
+
+%files devel
+%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/tsmarty2c