1 |
# $Id: smeserver-durep.spec,v 1.2 2020/10/23 11:45:26 brianr Exp $ |
# $Id: smeserver-durep.spec,v 1.9 2022/05/18 23:58:44 jpp Exp $ |
2 |
# Authority: unnilennnium |
# Authority: unnilennnium |
3 |
# Name: JP Pialasse |
# Name: JP Pialasse |
4 |
|
|
6 |
Name: %{name} |
Name: %{name} |
7 |
%define version 1.5.0 |
%define version 1.5.0 |
8 |
Version: %{version} |
Version: %{version} |
9 |
%define release 6 |
%define release 13 |
10 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
11 |
License: GPL |
License: GPL |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: smeserver-durep-1.5.0-dfposix.patch |
Patch1: smeserver-durep-1.5.0-dfposix.patch |
16 |
Patch2: smeserver-durep-1.5.0-Add-creatlinks-to-alter-link-to-wrapper.patch |
Patch2: smeserver-durep-1.5.0-Add-creatlinks-to-alter-link-to-wrapper.patch |
17 |
Patch3: smeserver-durep-1.5.0-bz10893-noreboot.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
26 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
32 |
Obsoletes: smeserver-durep-saco |
Obsoletes: smeserver-durep-saco |
33 |
Obsoletes: e-smith-durep |
Obsoletes: e-smith-durep |
34 |
|
|
35 |
|
AutoReqProv: no |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-13.sme |
39 |
|
- add to core backup [SME: 12007] |
40 |
|
|
41 |
|
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-12.sme |
42 |
|
- allow access to user with userpanel [SME: 11975] |
43 |
|
|
44 |
|
* Sat Jan 08 2022 Michel Begue <mab974@misouk.com> 1.5.0-11.sme |
45 |
|
- fix wrong localisation directory [SME: 11841] |
46 |
|
|
47 |
|
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.5.0-10.sme |
48 |
|
- Add-class-to-div-for-AdminLTE [SME: 11835] |
49 |
|
|
50 |
|
* Thu Jun 03 2021 Michel Begue <mab974@gmail.com> 1.5.0-9.sme |
51 |
|
- first use with smeserver-manager [SME: 11618] |
52 |
|
|
53 |
|
* Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-8.sme |
54 |
|
- fix permissions of cgi inside spec file too |
55 |
|
|
56 |
|
* Thu Mar 04 2021 Michel Begue <mab974@gmail.com> 1.5.0-7.sme |
57 |
|
- fix permissions of cgi and data files |
58 |
|
|
59 |
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-6.sme |
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-6.sme |
60 |
- add smeserver-durep-update event [SME: 10893] |
- add smeserver-durep-update event [SME: 10893] |
61 |
make up spec file |
make up spec file |
106 |
%patch1 -p1 |
%patch1 -p1 |
107 |
%patch2 -p1 |
%patch2 -p1 |
108 |
%patch3 -p1 |
%patch3 -p1 |
109 |
|
%patch4 -p1 |
110 |
|
%patch5 -p1 |
111 |
|
%patch6 -p1 |
112 |
|
%patch7 -p1 |
113 |
|
%patch8 -p1 |
114 |
|
%patch9 -p1 |
115 |
|
|
116 |
%build |
%build |
117 |
perl createlinks |
perl createlinks |
121 |
(cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
122 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
123 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
124 |
--file "/usr/local/bin/durep" '%attr(0755,root,root)' \ |
--file "/usr/local/bin/durep" 'attr(0755,root,root)' \ |
125 |
--file "/usr/sbin/durep.daily" '%attr(0755,root,root)' \ |
--file "/usr/sbin/durep.daily" 'attr(0755,root,root)' \ |
126 |
|
--file '/etc/e-smith/web/panels/manager/html/durep/durep.cgi' 'attr(0750,root,admin)' \ |
127 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
128 |
|
|
129 |
|
|