SPECS: drupal-mod-img_assist.spec - public files moved to htdocs

glen glen at pld-linux.org
Tue Jul 5 19:47:07 CEST 2005


Author: glen                         Date: Tue Jul  5 17:47:07 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- public files moved to htdocs

---- Files affected:
SPECS:
   drupal-mod-img_assist.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/drupal-mod-img_assist.spec
diff -u SPECS/drupal-mod-img_assist.spec:1.3 SPECS/drupal-mod-img_assist.spec:1.4
--- SPECS/drupal-mod-img_assist.spec:1.3	Tue Jul  5 17:07:07 2005
+++ SPECS/drupal-mod-img_assist.spec	Tue Jul  5 19:47:02 2005
@@ -4,7 +4,7 @@
 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
@@ -18,6 +18,7 @@
 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
@@ -47,11 +48,10 @@
 
 %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
@@ -60,10 +60,7 @@
 %defattr(644,root,root,755)
 %doc *.txt img_assist.{mysql,pgsql}
 %{_moddir}/*.module
-# TODO
-%{_moddir}/*.js
-%{_moddir}/*.css
-%{_moddir}/*.jpg
+%{_htmldir}/*.*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/07/05 17:47:02  glen
+- public files moved to htdocs
+
 Revision 1.3  2005/07/05 15:07:07  glen
 - requires image and upload drupal modules
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal-mod-img_assist.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list