1 %define modname img_assist
2 Summary: Drupal Img_assist Module
3 Name: drupal-mod-%{modname}
8 Group: Applications/WWW
9 Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
10 # Source0-md5: 4b1c6d159005fee95ed40b6fd17085d4
11 URL: http://drupal.org/project/img_assist
12 Requires: drupal >= 4.6.0
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _moddir %{_datadir}/drupal/modules
19 This module generates an image icon next to the textarea fields of you
20 choice. Clicking the icon opens an image browsing window, displaying
21 all images that have been uploaded through image module, upload module
22 or img_assist. Images can be filtered by ownership or taxonomic terms
25 Img_assist can also be used when adding images from a rich-text
26 editor. This feature currently exists for TinyMCE. Support for
27 Htmlarea is also planned.
30 %setup -q -n %{modname}
31 rm -f LICENSE.txt # pure GPL
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_moddir}
37 install *.module $RPM_BUILD_ROOT%{_moddir}
39 install *.css *.js *.jpg $RPM_BUILD_ROOT%{_moddir}
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc *.txt img_assist.{mysql,pgsql}