]> git.pld-linux.org Git - packages/Smarty-plugin-gettext.git/blobdiff - Smarty-plugin-gettext.spec
- converted to UTF-8
[packages/Smarty-plugin-gettext.git] / Smarty-plugin-gettext.spec
index ba3529e3d6690cc7dbe87fe2d464534940fdc92f..7fb4fa8ac445025842b5aed646126ea6b4367c1c 100644 (file)
@@ -1,7 +1,7 @@
 %define                _beta b1
-%define                _rel 1
+%define                _rel 3
 Summary:       Gettext support for Smarty
-Summary(pl):   Obs³uga gettexta dla systemu Smarty
+Summary(pl.UTF-8):   Obsługa gettexta dla systemu Smarty
 Name:          smarty-gettext
 Version:       1.0
 Release:       0.%{_beta}.%{_rel}
@@ -12,8 +12,8 @@ Source0:      http://dl.sourceforge.net/smarty-gettext/%{name}-%{version}%{_beta}.tgz
 URL:           http://smarty.incutio.com/?page=SmartyGettext
 BuildRequires: sed >= 4.0
 Requires:      Smarty >= 2.6.10-4
+Requires:      php(gettext)
 Requires:      php-common
-Requires:      php-gettext
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,9 +23,23 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 smarty-gettext provides gettext support for Smarty, the popular PHP
 templating engine <http://smarty.php.net/>.
 
-%description -l pl
-smarty-gettext dodaje obs³ugê gettexta do systemu Smarty - popularnego
-silnika szablonów dla PHP - <http://smarty.php.net/>.
+%description -l pl.UTF-8
+smarty-gettext dodaje obsługę gettexta do systemu Smarty - popularnego
+silnika szablonów dla PHP - <http://smarty.php.net/>.
+
+%package devel
+Summary:       Development tools for smarty-gettext
+Summary(pl.UTF-8):   Narzędzia programistyczne dla pakietu smarty-gettext
+Group:         Development
+# does not require base
+
+%description devel
+This package contains tsmarty2c program which can be used to extract
+gettext compatible strings.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera program tsmarty2c, którego można użyć do wyciągania
+łańcuchów kompatybilnych z gettextem.
 
 %prep
 %setup -q -n %{name}-%{version}%{_beta}
@@ -44,5 +58,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
This page took 0.102812 seconds and 4 git commands to generate.