/[smecontribs]/rpms/smeserver-durep/contribs8/smeserver-durep-1.3.0.spec
ViewVC logotype

Diff of /rpms/smeserver-durep/contribs8/smeserver-durep-1.3.0.spec

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

Revision 1.4 by unnilennium, Mon Sep 10 03:52:38 2012 UTC Revision 1.5 by unnilennium, Tue Sep 11 05:40:56 2012 UTC
# Line 6  Line 6 
6  Name:          %{name}  Name:          %{name}
7  %define version 1.3.0  %define version 1.3.0
8  Version:       %{version}  Version:       %{version}
9  %define release 4  %define release 5
10  Release:       %{release}%{?dist}  Release:       %{release}%{?dist}
11  License:       GPL  License:       GPL
12  Source:  %{name}-%{version}.tgz  Source:  %{name}-%{version}.tgz
13    Patch1: smeserver-durep-1.3.0-df.patch
14  BuildRoot: /var/tmp/%{name}-%{version}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-buildroot
15  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
16  BuildArch: noarch  BuildArch: noarch
# Line 19  Requires:      perl(Data::Dumper) Line 20  Requires:      perl(Data::Dumper)
20  Requires:      perl(MLDBM) >= 1.21-4  Requires:      perl(MLDBM) >= 1.21-4
21    
22  %changelog  %changelog
23    * Mon Sep 10 2012 JP Pialasse <test@pialasse.com> 1.3.0-5.sme
24    - fix do not copy files  and filelist
25    - patch df of plugged disk
26    
27  * Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.sme  * Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.sme
28  - dependencies resolution  - dependencies resolution
29    
# Line 35  Requires:      perl(MLDBM) >= 1.21-4 Line 40  Requires:      perl(MLDBM) >= 1.21-4
40  DUREP is a  Report Generator that creates graphical Output for the "du" command  DUREP is a  Report Generator that creates graphical Output for the "du" command
41    
42  %prep  %prep
   
43  %setup  %setup
44    %patch1 -p1
45    
46  %install  %install
47  rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
48  ( find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root;  /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
49  rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
50  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
51    
52    
53  %clean  %clean
54  rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
55    
56  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
57  %defattr(-,root,root)  %defattr(-,root,root)
# Line 63  rm -rf $RPM_BUILD_ROOT Line 70  rm -rf $RPM_BUILD_ROOT
70  #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/bar.png"  #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/bar.png"
71  #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/durep.cgi"  #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/durep.cgi"
72  #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/style.css"  #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/style.css"
73    
74  %pre -p /bin/sh  %pre -p /bin/sh
75    
76  %post -p /bin/sh  %post -p /bin/sh
77  chmod 755 /usr/local/bin/durep  chmod 755 /usr/local/bin/durep
78  chmod 755 /usr/sbin/durep.daily  chmod 755 /usr/sbin/durep.daily
# Line 71  chmod 755 /usr/sbin/durep.daily Line 80  chmod 755 /usr/sbin/durep.daily
80  echo "Initial run of durep ... please wait."  echo "Initial run of durep ... please wait."
81  /usr/sbin/durep.daily >/dev/null  /usr/sbin/durep.daily >/dev/null
82  /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1  /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
83    
84  %preun -p /bin/sh  %preun -p /bin/sh
85    
86  %postun -p /bin/sh  %postun -p /bin/sh
87  if [ "$1" = 0 ]; then  if [ "$1" = 0 ]; then
88      /sbin/e-smith/expand-template /etc/crontab      /sbin/e-smith/expand-template /etc/crontab


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