]> git.pld-linux.org Git - packages/drupal-mod-img_assist.git/blobdiff - drupal-mod-img_assist.spec
- tabs in preamble
[packages/drupal-mod-img_assist.git] / drupal-mod-img_assist.spec
index 78c97037becfb3378a2d22e8fd4a32add5c6d8c7..133ac4e1f74b77cabc781106b1078cefe284f37e 100644 (file)
@@ -1,14 +1,13 @@
 %define                modname img_assist
 Summary:       Drupal Img_assist Module
-Summary(pl):   Modu³ Img_assist dla Drupala
+Summary(pl.UTF-8):     Moduł Img_assist dla Drupala
 Name:          drupal-mod-%{modname}
 Version:       4.6.0
-Release:       0.10
-Epoch:         0
+Release:       0.17
 License:       GPL
 Group:         Applications/WWW
 Source0:       http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
-# Source0-md5: 4b1c6d159005fee95ed40b6fd17085d4
+# Source0-md5: 4a38eb192ea4e1276ee6043067271003
 URL:           http://drupal.org/project/img_assist
 BuildRequires: rpmbuild(macros) >= 1.194
 Requires:      drupal >= 4.6.0
@@ -16,8 +15,10 @@ Requires:    drupal-mod-image
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _moddir         %{_datadir}/drupal/modules
-%define                _htmldir        %{_datadir}/drupal/htdocs/modules
+%define                _drupaldir      %{_datadir}/drupal
+%define                _moddir         %{_drupaldir}/modules
+%define                _htdocs         %{_drupaldir}/htdocs
+%define                _htmlmoddir     %{_htdocs}/modules
 
 %description
 This module generates an image icon next to the textarea fields of you
@@ -30,16 +31,16 @@ Img_assist can also be used when adding images from a rich-text
 editor. This feature currently exists for TinyMCE. Support for
 Htmlarea is also planned.
 
-%description -l pl
-Ten modu³ generuje ikony przy wybranych polach tekstowych. Klikniêcie
-ikony otwiera okno przegl±dania obrazków, wy¶wietlaj±c wszystkie
-obrazki umieszczone poprzez modu³ image, modu³ upload albo img_assist.
-Obrazki mog± byæ filtrowane po w³a¶cicielu lub warunkach
+%description -l pl.UTF-8
+Ten moduł generuje ikony przy wybranych polach tekstowych. Kliknięcie
+ikony otwiera okno przeglądania obrazków, wyświetlając wszystkie
+obrazki umieszczone poprzez moduł image, moduł upload albo img_assist.
+Obrazki mogą być filtrowane po właścicielu lub warunkach
 systematycznych (kategoriach).
 
-Img_assist mo¿na tak¿e u¿ywaæ do dodawania obrazków z edytora
+Img_assist można także używać do dodawania obrazków z edytora
 rich-tekstu. Ta opcja aktualnie istnieje dla TinyMCE. Planowana jest
-tak¿e obs³uga Htmlarea.
+także obsługa Htmlarea.
 
 %prep
 %setup -q -n %{modname}
@@ -47,10 +48,10 @@ rm -f LICENSE.txt # pure GPL
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_moddir},%{_htmldir}}
+install -d $RPM_BUILD_ROOT{%{_moddir},%{_htmlmoddir}}
 
 install *.module $RPM_BUILD_ROOT%{_moddir}
-install *.css *.js *.jpg $RPM_BUILD_ROOT%{_htmldir}
+install *.css *.js *.jpg $RPM_BUILD_ROOT%{_htmlmoddir}
 ln -s ../htdocs/modules/directory.js $RPM_BUILD_ROOT%{_moddir}
 ln -s ../htdocs/modules/properties.js $RPM_BUILD_ROOT%{_moddir}
 
@@ -70,4 +71,4 @@ fi
 %doc *.txt img_assist.{mysql,pgsql}
 %{_moddir}/*.module
 %{_moddir}/*.js
-%{_htmldir}/*.*
+%{_htmlmoddir}/*.*
This page took 0.134234 seconds and 4 git commands to generate.