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

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

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


Revision 1.9 - (hide annotations) (download)
Wed May 18 23:58:44 2022 UTC (2 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-durep-1_5_0-12_el7_sme
Changes since 1.8: +7 -2 lines
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-12.sme
- allow access to user with userpanel [SME: 11975]

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

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