]> git.pld-linux.org Git - packages/drupal-mod-img_assist.git/blob - drupal-mod-img_assist.spec
- pl
[packages/drupal-mod-img_assist.git] / drupal-mod-img_assist.spec
1 %define         modname img_assist
2 Summary:        Drupal Img_assist Module
3 Summary(pl):    Modu³ Img_assist dla Drupala
4 Name:           drupal-mod-%{modname}
5 Version:        4.6.0
6 Release:        0.3
7 Epoch:          0
8 License:        GPL
9 Group:          Applications/WWW
10 Source0:        http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
11 # Source0-md5:  4b1c6d159005fee95ed40b6fd17085d4
12 URL:            http://drupal.org/project/img_assist
13 Requires:       drupal >= 4.6.0
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _moddir         %{_datadir}/drupal/modules
18
19 %description
20 This module generates an image icon next to the textarea fields of you
21 choice. Clicking the icon opens an image browsing window, displaying
22 all images that have been uploaded through image module, upload module
23 or img_assist. Images can be filtered by ownership or taxonomic terms
24 (categories). 
25
26 Img_assist can also be used when adding images from a rich-text
27 editor. This feature currently exists for TinyMCE. Support for
28 Htmlarea is also planned.
29
30 %description -l pl
31 Ten modu³ generuje ikony przy wybranych polach tekstowych. Klikniêcie
32 ikony otwiera okno przegl±dania obrazków, wy¶wietlaj±c wszystkie
33 obrazki umieszczone poprzez modu³ image, modu³ upload albo img_assist.
34 Obrazki mog± byæ filtrowane po w³a¶cicielu lub warunkach
35 systematycznych (kategoriach).
36
37 Img_assist mo¿na tak¿e u¿ywaæ do dodawania obrazków z edytora
38 rich-tekstu. Ta opcja aktualnie istnieje dla TinyMCE. Planowana jest
39 tak¿e obs³uga Htmlarea.
40
41 %prep
42 %setup -q -n %{modname}
43 rm -f LICENSE.txt # pure GPL
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_moddir}
48
49 install *.module $RPM_BUILD_ROOT%{_moddir}
50 # FIXME directory
51 install *.css *.js *.jpg $RPM_BUILD_ROOT%{_moddir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc *.txt img_assist.{mysql,pgsql}
59 %{_moddir}/*.module
60 # TODO
61 %{_moddir}/*.js
62 %{_moddir}/*.css
63 %{_moddir}/*.jpg
This page took 0.094569 seconds and 4 git commands to generate.