/[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.6 - (hide annotations) (download)
Thu Jun 20 20:51:28 2013 UTC (11 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
Prep for import

1 unnilennium 1.6 # $Id: smeserver-durep-1.3.0.spec,v 1.5 2012/09/12 23:25:32 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.5 %define release 6
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 unnilennium 1.5 Obsoletes: smeserver-durep-saco
22     Obsoletes: e-smith-durep
23    
24 slords 1.1
25     %changelog
26 unnilennium 1.5 * Wed Sep 12 2012 JP Pialasse <test@pialasse.com> 1.3.0-6.sme
27 unnilennium 1.6 - add Obsoletes smeserver-durep-saco e-smith-durep [SME 7107]
28 unnilennium 1.5
29 unnilennium 1.4 * Tue Sep 11 2012 JP Pialasse <test@pialasse.com> 1.3.0-5.sme
30 unnilennium 1.6 - fix do not copy files and filelist [SME 7006]
31 unnilennium 1.4 - corrected patch to df of plugged disk
32 unnilennium 1.3
33     * Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3.0-3.sme
34     - dependencies resolution
35    
36     * Fri Aug 31 2012 JP Pialasse <test@pialasse.com> 1.3.0-2.sme
37 slords 1.1 - build error fix : prep setup
38    
39     * Wed Aug 15 2012 JP Pialasse <test@pialasse.com> 1.3.0-1.sme
40     - update from 1.03-02sn to comply with SME8 and SME7
41     - moved archives to /var/lib/durep
42     - moved web files to manager/html
43     - cleaned spec
44    
45     %description
46     DUREP is a Report Generator that creates graphical Output for the "du" command
47    
48     %prep
49     %setup
50 unnilennium 1.3 %patch1 -p1
51 slords 1.1
52     %install
53 unnilennium 1.3 /bin/rm -rf $RPM_BUILD_ROOT
54     (cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
55     /bin/rm -f %{name}-%{version}-filelist
56 slords 1.1 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
57 unnilennium 1.3
58 slords 1.1 %clean
59 unnilennium 1.3 /bin/rm -rf $RPM_BUILD_ROOT
60 slords 1.1
61     %files -f %{name}-%{version}-filelist
62     %defattr(-,root,root)
63    
64     #%attr(4750 root admin) "/etc/e-smith/web/functions/durep"
65     #%attr(0777 root root) "/etc/e-smith/web/panels/manager/cgi-bin/durep"
66     #%attr(0644 root root) "/usr/local/bin/durep"
67     #%dir %attr(0755 root root) "/usr/local/man"
68     #%dir %attr(0755 root root) "/usr/local/man/man1"
69     #%attr(0644 root root) "/usr/local/man/man1/durep.1"
70     #%dir %attr(0755 root root) "/usr/sbin"
71     #%attr(0644 root root) "/usr/sbin/durep.daily"
72     #%dir %attr(0755 root root) "/var/lib/durep"
73     #%dir %attr(0755 root root) "/etc/e-smith/web/panels/manager/html/durep"
74     #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/bar.png"
75     #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/durep.cgi"
76     #%attr(0644 root root) "/etc/e-smith/web/panels/manager/html/durep/style.css"
77 unnilennium 1.3
78 slords 1.1 %pre -p /bin/sh
79 unnilennium 1.3
80 slords 1.1 %post -p /bin/sh
81     chmod 755 /usr/local/bin/durep
82     chmod 755 /usr/sbin/durep.daily
83     /sbin/e-smith/expand-template /etc/crontab
84     echo "Initial run of durep ... please wait."
85     /usr/sbin/durep.daily >/dev/null
86     /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
87 unnilennium 1.3
88 slords 1.1 %preun -p /bin/sh
89 unnilennium 1.3
90 slords 1.1 %postun -p /bin/sh
91     if [ "$1" = 0 ]; then
92     /sbin/e-smith/expand-template /etc/crontab
93     /etc/e-smith/events/actions/navigation-conf 2>/dev/null
94     fi
95    

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