1 |
# $Id: smeserver-durep.spec,v 1.3 2021/02/22 19:02:29 jpp Exp $ |
# $Id: smeserver-durep.spec,v 1.5 2021/03/04 20:55:47 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 7 |
%define release 9 |
10 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
11 |
License: GPL |
License: GPL |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
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 |
Patch4: smeserver-durep-1.5.0-permissions.patch |
19 |
|
Patch5: smeserver-durep-1.5.0-manager2.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
28 |
Obsoletes: smeserver-durep-saco |
Obsoletes: smeserver-durep-saco |
29 |
Obsoletes: e-smith-durep |
Obsoletes: e-smith-durep |
30 |
|
|
31 |
|
AutoReqProv: no |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Thu Jun 03 2021 Michel Begue <mab974@gmail.com> 1.5.0-9.sme |
35 |
|
- first use with smeserver-manager [SME: 11618] |
36 |
|
|
37 |
|
* Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-8.sme |
38 |
|
- fix permissions of cgi inside spec file too |
39 |
|
|
40 |
* Thu Mar 04 2021 Michel Begue <mab974@gmail.com> 1.5.0-7.sme |
* Thu Mar 04 2021 Michel Begue <mab974@gmail.com> 1.5.0-7.sme |
41 |
- fix permissions of cgi and data files |
- fix permissions of cgi and data files |
42 |
|
|
91 |
%patch2 -p1 |
%patch2 -p1 |
92 |
%patch3 -p1 |
%patch3 -p1 |
93 |
%patch4 -p1 |
%patch4 -p1 |
94 |
|
%patch5 -p1 |
95 |
|
|
96 |
%build |
%build |
97 |
perl createlinks |
perl createlinks |
101 |
(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) |
102 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
103 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
104 |
--file "/usr/local/bin/durep" '%attr(0755,root,root)' \ |
--file "/usr/local/bin/durep" 'attr(0755,root,root)' \ |
105 |
--file "/usr/sbin/durep.daily" '%attr(0755,root,root)' \ |
--file "/usr/sbin/durep.daily" 'attr(0755,root,root)' \ |
106 |
|
--file '/etc/e-smith/web/panels/manager/html/durep/durep.cgi' 'attr(0750,root,admin)' \ |
107 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
108 |
|
|
109 |
|
|