X-Git-Url: http://git.pld-linux.org/?p=packages%2FSmarty-plugin-gettext.git;a=blobdiff_plain;f=Smarty-plugin-gettext.spec;fp=Smarty-plugin-gettext.spec;h=cad9be89269b949c9de4b589b330a1e1fa8a9452;hp=ba3529e3d6690cc7dbe87fe2d464534940fdc92f;hb=827d941963913e7cd6afca8f2846118ef2835250;hpb=6886e5dc9f742e18b0331a54addcc35c81b03fbe diff --git a/Smarty-plugin-gettext.spec b/Smarty-plugin-gettext.spec index ba3529e..cad9be8 100644 --- a/Smarty-plugin-gettext.spec +++ b/Smarty-plugin-gettext.spec @@ -1,5 +1,5 @@ %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 @@ -27,6 +27,15 @@ templating engine . 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 @@ -44,5 +53,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ChangeLog README -%attr(755,root,root) %{_bindir}/tsmarty2c %{_smartyplugindir}/*.php + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/tsmarty2c