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

Contents of /rpms/smeserver-durep/contribs10/smeserver-durep.spec

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


Revision 1.3 - (show annotations) (download)
Mon Feb 22 19:02:29 2021 UTC (3 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-durep-1_5_0-6_el7_sme
Changes since 1.2: +12 -28 lines
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-6.sme
- add smeserver-durep-update event [SME: 10893]
  make up spec file

1 # $Id: smeserver-durep.spec,v 1.2 2020/10/23 11:45:26 brianr Exp $
2 # Authority: unnilennnium
3 # Name: JP Pialasse
4
5 %define name smeserver-durep
6 Name: %{name}
7 %define version 1.5.0
8 Version: %{version}
9 %define release 6
10 Release: %{release}%{?dist}
11 License: GPL
12 Source: %{name}-%{version}.tar.gz
13
14 Patch0: smeserver-durep-1.5.0-bz10118-more_paths.patch
15 Patch1: smeserver-durep-1.5.0-dfposix.patch
16 Patch2: smeserver-durep-1.5.0-Add-creatlinks-to-alter-link-to-wrapper.patch
17 Patch3: smeserver-durep-1.5.0-bz10893-noreboot.patch
18
19 BuildRoot: /var/tmp/%{name}-%{version}-buildroot
20 BuildRequires: e-smith-devtools
21 BuildArch: noarch
22 Group: Networking/Daemons
23 Summary: DUREP - Graphic Report for Disk Usage
24 Requires: perl(Data::Dumper)
25 Requires: perl(MLDBM) >= 1.21-4
26 Obsoletes: smeserver-durep-saco
27 Obsoletes: e-smith-durep
28
29
30 %changelog
31 * Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-6.sme
32 - add smeserver-durep-update event [SME: 10893]
33 make up spec file
34
35 * Fri Oct 23 2020 Brian Read <brianr@bjsystems.co.uk> 1.5.0-5.sme
36 - Initial import to SME10 tree [SME: 10893]
37 - Add in link to wrapper in createlinks
38
39 * Sat Dec 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-4.sme
40 - output all mounted points with df on one line using Posix
41
42 * Sat Feb 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-3.sme
43 - add hability to stat more directories [SME: 10118]
44 - add status enabled or disabled
45
46 * Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme
47 - Initial release to contribs9
48
49 * Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-1.sme
50 - Initial release to sme9
51
52 * Thu Sep 13 2012 JP Pialasse <test@pialasse.com> 1.3.0-6.sme
53 - add Obsoletes smeserver-durep-saco e-smith-durep [SME 7108]
54 - TODO cleaning spec file post and filelist chmod
55
56 * Mon Sep 10 2012 JP Pialasse <test@pialasse.com> 1.3.0-5.sme
57 - fix do not copy files and filelist [SME 7098]
58 - patch df of plugged disk
59
60 * Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.sme
61 - dependencies resolution
62
63 * Fri Aug 31 2012 JP Pialasse <test@pialasse.com> 1.3.0-3.sme
64 - build error fix : prep setup
65
66 * Wed Aug 15 2012 JP Pialasse <test@pialasse.com> 1.3.0-1.sme
67 - update from 1.03-02sn to comply with SME8 and SME7
68 - moved archives to /var/lib/durep
69 - moved web files to manager/html
70 - cleaned spec
71
72 %description
73 DUREP is a Report Generator that creates graphical Output for the "du" command
74
75 %prep
76 %setup
77 %patch0 -p1
78 %patch1 -p1
79 %patch2 -p1
80 %patch3 -p1
81
82 %build
83 perl createlinks
84
85 %install
86 /bin/rm -rf $RPM_BUILD_ROOT
87 (cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
88 /bin/rm -f %{name}-%{version}-filelist
89 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
90 --file "/usr/local/bin/durep" '%attr(0755,root,root)' \
91 --file "/usr/sbin/durep.daily" '%attr(0755,root,root)' \
92 > %{name}-%{version}-filelist
93
94
95 %clean
96 /bin/rm -rf $RPM_BUILD_ROOT
97
98 %files -f %{name}-%{version}-filelist
99 %defattr(-,root,root)
100
101 %pre -p /bin/sh
102
103 %post -p /bin/sh
104
105 %preun -p /bin/sh
106
107 %postun -p /bin/sh
108

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