/[smecontribs]/rpms/smeserver-mailsorting/contribs7/smeserver-mailsorting.spec
ViewVC logotype

Diff of /rpms/smeserver-mailsorting/contribs7/smeserver-mailsorting.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4 by dungog, Tue Dec 25 06:30:34 2007 UTC Revision 1.16 by slords, Wed Apr 2 15:03:57 2008 UTC
# Line 1  Line 1 
1    # $Id$
2    # Authority: dungog
3    # Name: Stephen Noble
4    
5  Summary: Lets users configure procmail or maildrop rules.  Summary: Lets users configure procmail or maildrop rules.
6  %define name smeserver-mailsorting  %define name smeserver-mailsorting
7  Name: %{name}  Name: %{name}
8  %define version 1.2  %define version 1.2
9  %define release 10  %define release 17
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 11  Group: SMEserver/addon Line 15  Group: SMEserver/addon
15  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
16  Patch0: smeserver-mailsorting-1.2-maildropdups.patch  Patch0: smeserver-mailsorting-1.2-maildropdups.patch
17  Patch1: smeserver-mailsorting-1.2-esLocale.patch  Patch1: smeserver-mailsorting-1.2-esLocale.patch
18  #Patch2: smeserver-mailsorting-1.2-french.patch  Patch2: smeserver-mailsorting-1.2-frLocale3.patch
19    Patch3: smeserver-mailsorting-1.2-pootle.patch
20    Patch4: smeserver-mailsorting-1.2-locale-2008-03-11.patch
21    Patch5: smeserver-mailsorting-1.2-locale-2008-03-14.patch
22    Patch6: smeserver-mailsorting-1.2-geekmode.patch
23    Patch7: smeserver-mailsorting-1.2-locale-2008-04-01.patch
24  BuildArchitectures: noarch  BuildArchitectures: noarch
25  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
26  Requires:  e-smith-release >= 7.0,  Requires:  e-smith-release >= 7.0,
27  Requires: perl-Unicode-IMAPUtf7  Requires: perl-Unicode-IMAPUtf7
28    Requires: e-smith-formmagick >= 1.4.0-10
29  #Requires:  smeserver-userpanel, userpanel causes endless problems  #Requires:  smeserver-userpanel, userpanel causes endless problems
30  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
31  AutoReqProv: no  AutoReqProv: no
# Line 25  SME Server enhancement to enable procmai Line 35  SME Server enhancement to enable procmai
35  Optionally provides user panels where users can create mail rules for themselves  Optionally provides user panels where users can create mail rules for themselves
36    
37  %changelog  %changelog
38  #* Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-10  * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-17
39  #- add french translation, thanks Sylvain Gomez  - Update to UTF-8 translations
40    
41    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-16
42    - block generation of procmail/maildrop rules [SME: 4051]
43    
44    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-15
45    - update locale 2008-03-14
46    
47    * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.2-14
48    - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
49    
50    * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-13
51    - Add 2008-03-11 locale patch
52    
53    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-12
54    - prepare en lexicons for pootle translations
55    
56    * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11
57    - french translation fix
58    
59    * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-10
60    - add french translation, thanks Sylvain Gomez
61    
62  * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.2-9  * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.2-9
63  - add spanish translation, thanks Normando Hall [SME 3503]  - add spanish translation, thanks Normando Hall [SME 3503]
# Line 107  Optionally provides user panels where us Line 138  Optionally provides user panels where us
138  %setup  %setup
139  %patch0 -p1  %patch0 -p1
140  %patch1 -p1  %patch1 -p1
141  #%patch2 -p1  %patch2 -p1
142    %patch3 -p1
143    %patch4 -p1
144    %patch5 -p1
145    %patch6 -p1
146    %patch7 -p1
147    
148  %build  %build
149  perl createlinks  perl createlinks
150    
151    LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
152    for lexicon in $LEXICONS
153    do
154        /sbin/e-smith/validate-lexicon $lexicon
155    done
156    
157  %install  %install
158  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
159  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
# Line 129  rm -rf %{name}-%{version} Line 171  rm -rf %{name}-%{version}
171  %post  %post
172  #new installs  #new installs
173  if [ $1 = 1 ] ; then  if [ $1 = 1 ] ; then
   
  /etc/e-smith/events/actions/navigation-conf 2>/dev/null  
   
  echo ' '  
  echo 'to enable procmail or maildrop for all users'  
  echo 'for Procmail'  
  echo "config setprop qmail FilterType procmail"  
  echo 'or for maildrop'  
  echo "config setprop qmail FilterType maildrop"  
  echo 'then'  
  echo 'signal-event mailsorting-conf'  
174   echo ' '   echo ' '
175     echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration'
176  fi  fi
177    
178  #upgrades (and new installs)  #upgrades (and new installs)
179  /bin/touch /home/e-smith/db/processmail  /bin/touch /home/e-smith/db/processmail
180  /sbin/e-smith/signal-event mailsorting-conf  /sbin/e-smith/signal-event mailsorting-conf
181  /sbin/e-smith/signal-event conf-userpanel  if [ -d /etc/e-smith/events/conf-userpanel ] ; then
182       /sbin/e-smith/signal-event conf-userpanel
183    fi
184    
185  %postun  %postun
186  #uninstall  #uninstall


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed