1 |
# $Id: smeserver-durep.spec,v 1.2 2020/10/23 11:45:26 brianr Exp $ |
# $Id: smeserver-durep.spec,v 1.4 2021/03/04 10:17:00 michel 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 8 |
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 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
29 |
|
|
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-8.sme |
33 |
|
- fix permissions of cgi inside spec file too |
34 |
|
|
35 |
|
* Thu Mar 04 2021 Michel Begue <mab974@gmail.com> 1.5.0-7.sme |
36 |
|
- fix permissions of cgi and data files |
37 |
|
|
38 |
* 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 |
39 |
- add smeserver-durep-update event [SME: 10893] |
- add smeserver-durep-update event [SME: 10893] |
40 |
make up spec file |
make up spec file |
85 |
%patch1 -p1 |
%patch1 -p1 |
86 |
%patch2 -p1 |
%patch2 -p1 |
87 |
%patch3 -p1 |
%patch3 -p1 |
88 |
|
%patch4 -p1 |
89 |
|
|
90 |
%build |
%build |
91 |
perl createlinks |
perl createlinks |
95 |
(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) |
96 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
97 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
98 |
--file "/usr/local/bin/durep" '%attr(0755,root,root)' \ |
--file "/usr/local/bin/durep" 'attr(0755,root,root)' \ |
99 |
--file "/usr/sbin/durep.daily" '%attr(0755,root,root)' \ |
--file "/usr/sbin/durep.daily" 'attr(0755,root,root)' \ |
100 |
|
--file '/etc/e-smith/web/panels/manager/html/durep/durep.cgi' 'attr(0750,root,admin)' \ |
101 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
102 |
|
|
103 |
|
|