SPECS: drupal-mod-image.spec - public files moved to htdocs - po f...

glen glen at pld-linux.org
Tue Jul 5 19:48:32 CEST 2005


Author: glen                         Date: Tue Jul  5 17:48:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- public files moved to htdocs
- po files moved to modules/po/%{modname}
- update-image.php is upgrade script, moved to %doc
- .pot moved to %doc as it's template for translations

---- Files affected:
SPECS:
   drupal-mod-image.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/drupal-mod-image.spec
diff -u SPECS/drupal-mod-image.spec:1.2 SPECS/drupal-mod-image.spec:1.3
--- SPECS/drupal-mod-image.spec:1.2	Tue Jul  5 19:14:05 2005
+++ SPECS/drupal-mod-image.spec	Tue Jul  5 19:48:27 2005
@@ -3,7 +3,7 @@
 Summary:	Drupal Image Module
 Name:		drupal-mod-%{modname}
 Version:	4.6.0
-Release:	0.7
+Release:	0.14
 Epoch:		0
 License:	GPL
 Group:		Applications/WWW
@@ -16,7 +16,8 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_moddir		%{_datadir}/drupal/modules
-%define		_podir		%{_datadir}/drupal/po/%{modname}
+%define		_htmldir	%{_datadir}/drupal/htdocs/modules
+%define		_podir		%{_moddir}/po/%{modname}
 
 %description
 This module allow users with proper permissions to upload images into
@@ -31,12 +32,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_moddir},%{_podir}}
+install -d $RPM_BUILD_ROOT{%{_moddir},%{_podir},%{_htmldir}}
 
 install *.module $RPM_BUILD_ROOT%{_moddir}
-install *.inc *.module *.php $RPM_BUILD_ROOT%{_moddir}
-# FIXME. not in public dir
-install *.css $RPM_BUILD_ROOT%{_moddir}
+install *.inc *.module $RPM_BUILD_ROOT%{_moddir}
+install *.css $RPM_BUILD_ROOT%{_htmldir}
 cp -a po/*.po $RPM_BUILD_ROOT%{_podir}
 
 %clean
@@ -53,13 +53,11 @@
 
 %files
 %defattr(644,root,root,755)
-%doc *.txt
+%doc *.txt po/*.pot *.php
 %{_moddir}/*.module
 %{_moddir}/*.inc
-%{_moddir}/*.php
 %{_podir}
-# TODO
-%{_moddir}/*.css
+%{_htmldir}/*.css
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +65,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/07/05 17:48:27  glen
+- public files moved to htdocs
+- po files moved to modules/po/%{modname}
+- update-image.php is upgrade script, moved to %doc
+- .pot moved to %doc as it's template for translations
+
 Revision 1.2  2005/07/05 17:14:05  glen
 - include .po files in drupal/po/ dir
 
================================================================

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




More information about the pld-cvs-commit mailing list