X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Smarty-plugin-gettext.spec;h=cad9be89269b949c9de4b589b330a1e1fa8a9452;hb=827d941963913e7cd6afca8f2846118ef2835250;hp=2aca49c0df3491fe7d6dfc360317019166fd1c99;hpb=9dec90086cdce963dd9b786914fa1fa60dbabaae;p=packages%2FSmarty-plugin-gettext.git
diff --git a/Smarty-plugin-gettext.spec b/Smarty-plugin-gettext.spec
index 2aca49c..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}
@@ -22,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
@@ -40,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