]> git.pld-linux.org Git - packages/drupal-mod-img_assist.git/blobdiff - drupal-mod-img_assist.spec
- public files moved to htdocs
[packages/drupal-mod-img_assist.git] / drupal-mod-img_assist.spec
index e03f0d4d03c0e5edf41d6cf6ef7d004ceddd7897..6e2aaf14e730e75caf5d0f3c810e8979f77990f7 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Drupal Img_assist Module
 Summary(pl):   Modu³ Img_assist dla Drupala
 Name:          drupal-mod-%{modname}
 Version:       4.6.0
-Release:       0.6
+Release:       0.7
 Epoch:         0
 License:       GPL
 Group:         Applications/WWW
@@ -17,6 +17,7 @@ BuildArch:    noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _moddir         %{_datadir}/drupal/modules
+%define                _htmldir        %{_datadir}/drupal/htdocs/modules
 
 %description
 This module generates an image icon next to the textarea fields of you
@@ -46,11 +47,10 @@ rm -f LICENSE.txt # pure GPL
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_moddir}
+install -d $RPM_BUILD_ROOT{%{_moddir},%{_htmldir}}
 
 install *.module $RPM_BUILD_ROOT%{_moddir}
-# FIXME directory
-install *.css *.js *.jpg $RPM_BUILD_ROOT%{_moddir}
+install *.css *.js *.jpg $RPM_BUILD_ROOT%{_htmldir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -59,7 +59,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc *.txt img_assist.{mysql,pgsql}
 %{_moddir}/*.module
-# TODO
-%{_moddir}/*.js
-%{_moddir}/*.css
-%{_moddir}/*.jpg
+%{_htmldir}/*.*
This page took 0.04275 seconds and 4 git commands to generate.