/[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.11 - (show annotations) (download)
Sat Jul 30 17:58:14 2022 UTC (2 years, 4 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-durep-1_5_0-14_el7_sme
Changes since 1.10: +9 -6 lines
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.5.0-14.sme
- Re-build and link to latest devtools [SME: 11997]

1 # $Id: smeserver-durep.spec,v 1.10 2022/07/22 05:59:21 jpp 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 14
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 Patch4: smeserver-durep-1.5.0-permissions.patch
19 Patch5: smeserver-durep-1.5.0-manager2.patch
20 Patch6: smeserver-durep-1.5.0-Add-class-to-div-for-AdminLTE.patch
21 Patch7: smeserver-durep-1.5.0-bz11841_localisation_dir.patch
22 Patch8: smeserver-durep-1.5.0-bz11975.patch
23 Patch9: smeserver-durep-1.5.0-bz12007-backup.patch
24
25 BuildRoot: /var/tmp/%{name}-%{version}-buildroot
26 BuildRequires: e-smith-devtools
27 BuildArch: noarch
28 Group: Networking/Daemons
29 Summary: DUREP - Graphic Report for Disk Usage
30 Requires: perl(Data::Dumper)
31 Requires: perl(MLDBM) >= 1.21-4
32 Obsoletes: smeserver-durep-saco
33 Obsoletes: e-smith-durep
34
35 AutoReqProv: no
36
37 %changelog
38 * Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.5.0-14.sme
39 - Re-build and link to latest devtools [SME: 11997]
40
41 * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-13.sme
42 - add to core backup [SME: 12007]
43
44 * Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-12.sme
45 - allow access to user with userpanel [SME: 11975]
46
47 * Sat Jan 08 2022 Michel Begue <mab974@misouk.com> 1.5.0-11.sme
48 - Re-build and link to latest devtools wrong localisation directory [SME: 11841]
49
50 * Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.5.0-10.sme
51 - Add-class-to-div-for-AdminLTE [SME: 11835]
52
53 * Thu Jun 03 2021 Michel Begue <mab974@gmail.com> 1.5.0-9.sme
54 - first use with smeserver-manager [SME: 11618]
55
56 * Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-8.sme
57 - Re-build and link to latest devtools permissions of cgi inside spec file too
58
59 * Thu Mar 04 2021 Michel Begue <mab974@gmail.com> 1.5.0-7.sme
60 - Re-build and link to latest devtools permissions of cgi and data files
61
62 * Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-6.sme
63 - add smeserver-durep-update event [SME: 10893]
64 make up spec file
65
66 * Fri Oct 23 2020 Brian Read <brianr@bjsystems.co.uk> 1.5.0-5.sme
67 - Initial import to SME10 tree [SME: 10893]
68 - Add in link to wrapper in createlinks
69
70 * Sat Dec 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-4.sme
71 - output all mounted points with df on one line using Posix
72
73 * Sat Feb 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-3.sme
74 - add hability to stat more directories [SME: 10118]
75 - add status enabled or disabled
76
77 * Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme
78 - Initial release to contribs9
79
80 * Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-1.sme
81 - Initial release to sme9
82
83 * Thu Sep 13 2012 JP Pialasse <test@pialasse.com> 1.3.0-6.sme
84 - add Obsoletes smeserver-durep-saco e-smith-durep [SME 7108]
85 - TODO cleaning spec file post and filelist chmod
86
87 * Mon Sep 10 2012 JP Pialasse <test@pialasse.com> 1.3.0-5.sme
88 - Re-build and link to latest devtools do not copy files and filelist [SME 7098]
89 - patch df of plugged disk
90
91 * Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.sme
92 - dependencies resolution
93
94 * Fri Aug 31 2012 JP Pialasse <test@pialasse.com> 1.3.0-3.sme
95 - build error fix : prep setup
96
97 * Wed Aug 15 2012 JP Pialasse <test@pialasse.com> 1.3.0-1.sme
98 - update from 1.03-02sn to comply with SME8 and SME7
99 - moved archives to /var/lib/durep
100 - moved web files to manager/html
101 - cleaned spec
102
103 %description
104 DUREP is a Report Generator that creates graphical Output for the "du" command
105
106 %prep
107 %setup
108 %patch0 -p1
109 %patch1 -p1
110 %patch2 -p1
111 %patch3 -p1
112 %patch4 -p1
113 %patch5 -p1
114 %patch6 -p1
115 %patch7 -p1
116 %patch8 -p1
117 %patch9 -p1
118
119 %build
120 perl createlinks
121
122 %install
123 /bin/rm -rf $RPM_BUILD_ROOT
124 (cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
125 /bin/rm -f %{name}-%{version}-filelist
126 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
127 --file "/usr/local/bin/durep" 'attr(0755,root,root)' \
128 --file "/usr/sbin/durep.daily" 'attr(0755,root,root)' \
129 --file '/etc/e-smith/web/panels/manager/html/durep/durep.cgi' 'attr(0750,root,admin)' \
130 > %{name}-%{version}-filelist
131
132
133 %clean
134 /bin/rm -rf $RPM_BUILD_ROOT
135
136 %files -f %{name}-%{version}-filelist
137 %defattr(-,root,root)
138
139 %pre -p /bin/sh
140
141 %post -p /bin/sh
142
143 %preun -p /bin/sh
144
145 %postun -p /bin/sh
146

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