SPECS: drupal-mod-img_assist.spec - %banner for table creation hel...
glen
glen at pld-linux.org
Tue Jul 5 21:28:26 CEST 2005
Author: glen Date: Tue Jul 5 19:28:26 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- %banner for table creation help
- need .js files inside modules dir from htdocs (symlink them)
---- Files affected:
SPECS:
drupal-mod-img_assist.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/drupal-mod-img_assist.spec
diff -u SPECS/drupal-mod-img_assist.spec:1.4 SPECS/drupal-mod-img_assist.spec:1.5
--- SPECS/drupal-mod-img_assist.spec:1.4 Tue Jul 5 19:47:02 2005
+++ SPECS/drupal-mod-img_assist.spec Tue Jul 5 21:28:21 2005
@@ -4,13 +4,14 @@
Summary(pl): Moduł Img_assist dla Drupala
Name: drupal-mod-%{modname}
Version: 4.6.0
-Release: 0.7
+Release: 0.9
Epoch: 0
License: GPL
Group: Applications/WWW
Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
# Source0-md5: 4b1c6d159005fee95ed40b6fd17085d4
URL: http://drupal.org/project/img_assist
+BuildRequires: rpmbuild(macros) >= 1.194
Requires: drupal >= 4.6.0
Requires: drupal-mod-image
Requires: drupal-mod-upload
@@ -52,14 +53,25 @@
install *.module $RPM_BUILD_ROOT%{_moddir}
install *.css *.js *.jpg $RPM_BUILD_ROOT%{_htmldir}
+ln -s ../htdocs/modules/directory.js $RPM_BUILD_ROOT%{_moddir}
+ln -s ../htdocs/modules/properties.js $RPM_BUILD_ROOT%{_moddir}
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+if [ "$1" = 1 ]; then
+%banner -e %{name} <<EOF
+To create tables needed for Drupal Img Assist module, issue these commands:
+zcat %{_docdir}/%{name}-%{version}/%{modname}.mysql.gz | mysql drupal
+EOF
+fi
+
%files
%defattr(644,root,root,755)
%doc *.txt img_assist.{mysql,pgsql}
%{_moddir}/*.module
+%{_moddir}/*.js
%{_htmldir}/*.*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -68,6 +80,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2005/07/05 19:28:21 glen
+- %banner for table creation help
+- need .js files inside modules dir from htdocs (symlink them)
+
Revision 1.4 2005/07/05 17:47:02 glen
- public files moved to htdocs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/drupal-mod-img_assist.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list