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

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

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


Revision 1.2 - (show annotations) (download)
Fri Aug 31 05:18:28 2012 UTC (12 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-durep-1_3_0-2_el5_sme
Changes since 1.1: +6 -3 lines
* Fri Aug 31 2012 JP Pialasse <test@pialasse.com> 1.3.0-2.sme
- build error fix

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

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