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

Annotation of /rpms/smeserver-durep/contribs7/smeserver-durep-1.3.0.spec

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


Revision 1.3 - (hide annotations) (download)
Tue Sep 11 05:28:07 2012 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-durep-1_3_0-4_el4_sme
Changes since 1.2: +21 -9 lines
* Tue Sep 11 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.sme
- fix do not copy files  and filelist
- patch df of plugged disk

1 unnilennium 1.3 # $Id: smeserver-durep-1.3.0.spec,v 1.2 2012/09/10 03:56:29 unnilennium Exp $
2 slords 1.1 # Authority: unnilennnium
3     # Name: JP Pialasse
4    
5     %define name smeserver-durep
6     Name: %{name}
7     %define version 1.3.0
8     Version: %{version}
9 unnilennium 1.3 %define release 4
10 slords 1.1 Release: %{release}%{?dist}
11     License: GPL
12     Source: %{name}-%{version}.tgz
13 unnilennium 1.3 Patch1: smeserver-durep-1.3.0-df.patch
14 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-buildroot
15     BuildRequires: e-smith-devtools
16     BuildArch: noarch
17     Group: Networking/Daemons
18     Summary: DUREP - Graphic Report for Disk Usage
19 unnilennium 1.2 Requires: perl(Data::Dumper)
20     Requires: perl(MLDBM) >= 1.21-4
21 slords 1.1
22     %changelog
23 unnilennium 1.3 * Tue Sep 11 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.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-3.sme
28     - dependencies resolution
29    
30     * Fri Aug 31 2012 JP Pialasse <test@pialasse.com> 1.3.0-2.sme
31 slords 1.1 - build error fix : prep setup
32    
33     * Wed Aug 15 2012 JP Pialasse <test@pialasse.com> 1.3.0-1.sme
34     - update from 1.03-02sn to comply with SME8 and SME7
35     - moved archives to /var/lib/durep
36     - moved web files to manager/html
37     - cleaned spec
38    
39     %description
40     DUREP is a Report Generator that creates graphical Output for the "du" command
41    
42     %prep
43     %setup
44 unnilennium 1.3 %patch1 -p1
45 slords 1.1
46     %install
47 unnilennium 1.3 /bin/rm -rf $RPM_BUILD_ROOT
48     (cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
49     /bin/rm -f %{name}-%{version}-filelist
50 slords 1.1 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
51 unnilennium 1.3
52 slords 1.1 %clean
53 unnilennium 1.3 /bin/rm -rf $RPM_BUILD_ROOT
54 slords 1.1
55     %files -f %{name}-%{version}-filelist
56     %defattr(-,root,root)
57    
58     #%attr(4750 root admin) "/etc/e-smith/web/functions/durep"
59     #%attr(0777 root root) "/etc/e-smith/web/panels/manager/cgi-bin/durep"
60     #%attr(0644 root root) "/usr/local/bin/durep"
61     #%dir %attr(0755 root root) "/usr/local/man"
62     #%dir %attr(0755 root root) "/usr/local/man/man1"
63     #%attr(0644 root root) "/usr/local/man/man1/durep.1"
64     #%dir %attr(0755 root root) "/usr/sbin"
65     #%attr(0644 root root) "/usr/sbin/durep.daily"
66     #%dir %attr(0755 root root) "/var/lib/durep"
67     #%dir %attr(0755 root root) "/etc/e-smith/web/panels/manager/html/durep"
68     #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/bar.png"
69     #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/durep.cgi"
70     #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/style.css"
71 unnilennium 1.3
72 slords 1.1 %pre -p /bin/sh
73 unnilennium 1.3
74 slords 1.1 %post -p /bin/sh
75     chmod 755 /usr/local/bin/durep
76     chmod 755 /usr/sbin/durep.daily
77     /sbin/e-smith/expand-template /etc/crontab
78     echo "Initial run of durep ... please wait."
79     /usr/sbin/durep.daily >/dev/null
80     /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
81 unnilennium 1.3
82 slords 1.1 %preun -p /bin/sh
83 unnilennium 1.3
84 slords 1.1 %postun -p /bin/sh
85     if [ "$1" = 0 ]; then
86     /sbin/e-smith/expand-template /etc/crontab
87     /etc/e-smith/events/actions/navigation-conf 2>/dev/null
88     fi
89    

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