7 |
%define name smeserver-smeadmin |
%define name smeserver-smeadmin |
8 |
Name: %{name} |
Name: %{name} |
9 |
%define version 1.6 |
%define version 1.6 |
10 |
%define release 1 |
%define release 5 |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: GPL |
License: GPL |
14 |
Group: Networking/Daemons |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
|
Patch0: smeserver-smeadmin-1.6-bz11062-initial-import.patch |
17 |
|
Patch1: smeserver-smeadmin-1.6-locale-2021-08-24.patch |
18 |
|
Patch2: smeserver-smeadmin-1.6-locale-2021-09-08.patch |
19 |
|
Patch3: smeserver-smeadmin-1.6-bz10761_real_ssh_port.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
AutoReqProv: no |
AutoReqProv: no |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Mon Jul 18 2022 Michel Begue <mab974@misouk.com> 1.6-5.sme |
40 |
|
- get real ssh port from configuration db. [SME: 10761] |
41 |
|
|
42 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.6-4.sme |
43 |
|
- apply locale 2021-09-08 patch |
44 |
|
|
45 |
|
* Tue Aug 24 2021 Terry Fage <terry.fage@gmail.com> 1.6-3.sme |
46 |
|
- apply locale 2021-08-24 patch |
47 |
|
|
48 |
|
* Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-2.sme |
49 |
|
- fix mysql not migrating sme9admind [SME: 11062] |
50 |
|
- fix config db sme9admind not migrated to smeadmind |
51 |
|
- fix /var/lib/sme9admin not migrated |
52 |
|
- add smeserver-smeadmin-update event |
53 |
|
- fix services diplayed multiple times [SME: 11455] |
54 |
|
- systemd unit |
55 |
|
- review new logs locations |
56 |
|
- check calls to sysvinit |
57 |
|
- TODO implement new VPNs stats |
58 |
|
|
59 |
* Thu Oct 15 2020 Brian Read <brianr@bjsystems.co.uk> 1.6-1 |
* Thu Oct 15 2020 Brian Read <brianr@bjsystems.co.uk> 1.6-1 |
60 |
- Move to SME10, rename to smeadmin [SME: 11040] |
- Move to SME10, rename to smeadmin [SME: 11040, 11062] |
61 |
|
|
62 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.5-30.sme |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.5-30.sme |
63 |
- apply locale 2019-12-07 patch |
- apply locale 2019-12-07 patch |
174 |
|
|
175 |
%prep |
%prep |
176 |
%setup |
%setup |
177 |
|
%patch0 -p1 |
178 |
|
%patch1 -p1 |
179 |
|
%patch2 -p1 |
180 |
|
%patch3 -p1 |
181 |
|
|
182 |
%build |
%build |
183 |
perl createlinks |
perl createlinks |
196 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
197 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
198 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
199 |
|grep -v '/etc/e-smith/sql/init/smeadmin'\ |
--file /usr/bin/smeadmind 'attr(755,root,root)' \ |
200 |
|grep -v '/usr/bin/smeadmind'\ |
--file /usr/share/doc/smeserver-smeadmin/add_ds_to_rrd.pl 'attr(755,root,root)' \ |
201 |
|grep -v '/usr/share/doc/smeserver-smeadmin/add_ds_to_rrd.pl'> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
202 |
|
|
203 |
%clean |
%clean |
204 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
207 |
|
|
208 |
%preun |
%preun |
209 |
|
|
|
|
|
210 |
%post |
%post |
211 |
|
|
212 |
%postun |
%postun |
213 |
|
|
214 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
215 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
%attr(755,root,root) /etc/e-smith/sql/init/smeadmin |
|
|
%attr(755,root,root) /usr/bin/smeadmind |
|
|
%attr(755,root,root) /usr/share/doc/smeserver-smeadmin/add_ds_to_rrd.pl |
|