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

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

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

Revision 1.1 by slords, Tue Feb 26 01:05:31 2008 UTC Revision 1.4 by mweinber, Fri Feb 29 09:39:25 2008 UTC
# Line 2  Summary: Makes the SME server a dedicate Line 2  Summary: Makes the SME server a dedicate
2  %define name smeserver-affa  %define name smeserver-affa
3  Name: %{name}  Name: %{name}
4  %define version 0.9.0  %define version 0.9.0
5  %define release 1  %define release 4
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GNU GPL (GNU General Public License)  License: GNU GPL (GNU General Public License)
# Line 14  AutoReq: no Line 14  AutoReq: no
14  Requires: smeserver-release >= 7  Requires: smeserver-release >= 7
15  Requires: perl-Filesys-DiskFree  Requires: perl-Filesys-DiskFree
16  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
17    Patch0: smeserver-affa-0.9.0-debugsshquiet.patch
18    Patch1: smeserver-affa-0.9.0-defaultRemoteHostName.patch
19    
20  %description  %description
21  Main purpose ist to make the SME server a dedicated rsync based backup server.  Main purpose ist to make the SME server a dedicated rsync based backup server.
22  Also providing functions to backup to USB disks or SMB shares in SOHO environments.  Also providing functions to backup to USB disks or SMB shares in SOHO environments.
23    
24  %changelog  %changelog
25    * Fri Feb 29 2008 Michael Weinberger 0.9.0-4
26      set localhost as default remoteHostName in /etc/e-smith/templates//etc/cron.d/affa/00jobs
27    
28    * Wed Feb 27 2008 Michael Weinberger 0.9.0-3
29      removed %post from spec file
30    
31    * Sat Feb 02 2008 Michael Weinberger 0.9.0-2
32      Bugfix: Report db was not deleted in deleteJob()
33      don't use -q on ssh commands with Debug=yes
34    
35  * Fri Feb 1 2008 Shad L. Lords <slords@mail.com> 0.9.0-1  * Fri Feb 1 2008 Shad L. Lords <slords@mail.com> 0.9.0-1
36  - Fix specfile for building in new buildsystem  - Fix specfile for building in new buildsystem
37    
# Line 285  Also providing functions to backup to US Line 297  Also providing functions to backup to US
297    
298  %prep  %prep
299  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
300    %patch0 -p1
301    %patch1 -p1
302    
303  %build  %build
304    
# Line 295  rm -f %{name}-%{version}-filelist Line 309  rm -f %{name}-%{version}-filelist
309    
310  perl createlinks $RPM_BUILD_ROOT  perl createlinks $RPM_BUILD_ROOT
311    
312    # Set version String
313    cp -a $RPM_BUILD_ROOT/sbin/e-smith/affa $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp
314    VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'`
315    sed -e "s/_VERSIONSTRING_/$VERSIONSTRING/" < $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp > $RPM_BUILD_ROOT/sbin/e-smith/affa
316    rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp
317    
318  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
319    
320  find $RPM_BUILD_ROOT -depth -type f -print |\  find $RPM_BUILD_ROOT -depth -type f -print |\
# Line 311  find $RPM_BUILD_ROOT -depth -type l -pri Line 331  find $RPM_BUILD_ROOT -depth -type l -pri
331  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
332  exit 0  exit 0
333    
 %post  
 /sbin/e-smith/db affa get AffaGlobalDisable > /dev/null || /sbin/e-smith/affa --make-cronjobs > /dev/null  
334    
335  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
336  %defattr(-,root,root)  %defattr(-,root,root)


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