]> git.pld-linux.org Git - packages/drupal-mod-img_assist.git/blob - drupal-mod-img_assist.spec
- drupal module
[packages/drupal-mod-img_assist.git] / drupal-mod-img_assist.spec
1 %define         modname img_assist
2 Summary:        Drupal Img_assist Module
3 Name:           drupal-mod-%{modname}
4 Version:        4.6.0
5 Release:        0.3
6 Epoch:          0
7 License:        GPL
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
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _moddir         %{_datadir}/drupal/modules
17
18 %description
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
23 (categories). 
24
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.
28
29 %prep
30 %setup -q -n %{modname}
31 rm -f LICENSE.txt # pure GPL
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_moddir}
36
37 install *.module $RPM_BUILD_ROOT%{_moddir}
38 # FIXME directory
39 install *.css *.js *.jpg $RPM_BUILD_ROOT%{_moddir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc *.txt img_assist.{mysql,pgsql}
47 %{_moddir}/*.module
48 # TODO
49 %{_moddir}/*.js
50 %{_moddir}/*.css
51 %{_moddir}/*.jpg
This page took 0.065818 seconds and 4 git commands to generate.