/[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.2 by unnilennium, Fri Aug 31 05:18:28 2012 UTC Revision 1.6 by unnilennium, Thu Jun 20 20:51:28 2013 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 2  %define release 6
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
17  Group:         Networking/Daemons  Group:         Networking/Daemons
18  Summary:       DUREP - Graphic Report for Disk Usage  Summary:       DUREP - Graphic Report for Disk Usage
19  Requires:      Perl(Dumper)  Requires:      perl(Data::Dumper)
20  Requires:      Perl(MLDBM) >= 1.21-4  Requires:      perl(MLDBM) >= 1.21-4
21    Obsoletes:    smeserver-durep-saco
22    Obsoletes:      e-smith-durep
23    
24    
25  %changelog  %changelog
26  * Fri Aug 31 2012 JP Pialasse <test@pialasse.com> 1.3.0-2.sme  * Thu Sep 13 2012 JP Pialasse <test@pialasse.com> 1.3.0-6.sme
27  - build error fix  - add Obsoletes smeserver-durep-saco e-smith-durep [SME 7108]
28    - TODO cleaning spec file post and filelist chmod
29    
30    * Mon Sep 10 2012 JP Pialasse <test@pialasse.com> 1.3.0-5.sme
31    - fix do not copy files  and filelist [SME 7098]
32    - patch df of plugged disk
33    
34    * Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.sme
35    - dependencies resolution
36    
37    * Fri Aug 31 2012 JP Pialasse <test@pialasse.com> 1.3.0-3.sme
38    - build error fix : prep setup
39    
40  * Wed Aug 15 2012 JP Pialasse <test@pialasse.com> 1.3.0-1.sme  * Wed Aug 15 2012 JP Pialasse <test@pialasse.com> 1.3.0-1.sme
41  - update from 1.03-02sn to comply with SME8 and SME7  - update from 1.03-02sn to comply with SME8 and SME7
# Line 31  Requires:      Perl(MLDBM) >= 1.21-4 Line 46  Requires:      Perl(MLDBM) >= 1.21-4
46  %description  %description
47  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
48    
49    %prep
50    %setup
51    %patch1 -p1
52    
53  %install  %install
54  rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
55  ( find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root;  /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
56  rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
57  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
58    
59    
60  %clean  %clean
61  rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
62    
63  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
64  %defattr(-,root,root)  %defattr(-,root,root)
# Line 57  rm -rf $RPM_BUILD_ROOT Line 77  rm -rf $RPM_BUILD_ROOT
77  #%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"
78  #%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"
79  #%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"
80    
81  %pre -p /bin/sh  %pre -p /bin/sh
82    
83  %post -p /bin/sh  %post -p /bin/sh
84  chmod 755 /usr/local/bin/durep  chmod 755 /usr/local/bin/durep
85  chmod 755 /usr/sbin/durep.daily  chmod 755 /usr/sbin/durep.daily
# Line 65  chmod 755 /usr/sbin/durep.daily Line 87  chmod 755 /usr/sbin/durep.daily
87  echo "Initial run of durep ... please wait."  echo "Initial run of durep ... please wait."
88  /usr/sbin/durep.daily >/dev/null  /usr/sbin/durep.daily >/dev/null
89  /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1  /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
90    
91  %preun -p /bin/sh  %preun -p /bin/sh
92    
93  %postun -p /bin/sh  %postun -p /bin/sh
94  if [ "$1" = 0 ]; then  if [ "$1" = 0 ]; then
95      /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