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 2 |
%define release 3 |
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 |
Patch0: smeserver-smeadmin-1.6-bz11062-initial-import.patch |
17 |
|
Patch1: smeserver-smeadmin-1.6-locale-2021-08-24.patch |
18 |
|
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
AutoReqProv: no |
AutoReqProv: no |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Tue Aug 24 2021 Terry Fage <terry.fage@gmail.com> 1.6-3.sme |
38 |
|
- apply locale 2021-08-24 patch |
39 |
|
|
40 |
* Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-2.sme |
* Thu Mar 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-2.sme |
41 |
- fix mysql not migrating sme9admind [SME: ] |
- fix mysql not migrating sme9admind [SME: 11062] |
42 |
- fix config db sme9admind not migrated to smeadmind |
- fix config db sme9admind not migrated to smeadmind |
43 |
- fix /var/lib/sme9admin not migrated |
- fix /var/lib/sme9admin not migrated |
44 |
- add smeserver-smeadmin-update event |
- add smeserver-smeadmin-update event |
45 |
- TODO fix services diplayed multiple times |
- fix services diplayed multiple times [SME: 11455] |
46 |
- TODO make systemd unit |
- systemd unit |
47 |
- TODO review new logs locations |
- review new logs locations |
48 |
- TODO check calls to sysvinit |
- check calls to sysvinit |
49 |
|
- TODO implement new VPNs stats |
50 |
|
|
51 |
* 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 |
52 |
- Move to SME10, rename to smeadmin [SME: 11040, 11062] |
- Move to SME10, rename to smeadmin [SME: 11040, 11062] |
167 |
%prep |
%prep |
168 |
%setup |
%setup |
169 |
%patch0 -p1 |
%patch0 -p1 |
170 |
|
%patch1 -p1 |
171 |
|
|
172 |
%build |
%build |
173 |
perl createlinks |
perl createlinks |
186 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
187 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
188 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
189 |
|grep -v '/etc/e-smith/sql/init/smeadmin'\ |
--file /usr/bin/smeadmind 'attr(755,root,root)' \ |
190 |
|grep -v '/usr/bin/smeadmind'\ |
--file /usr/share/doc/smeserver-smeadmin/add_ds_to_rrd.pl 'attr(755,root,root)' \ |
191 |
|grep -v '/usr/share/doc/smeserver-smeadmin/add_ds_to_rrd.pl'> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
192 |
|
|
193 |
%clean |
%clean |
194 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
197 |
|
|
198 |
%preun |
%preun |
199 |
|
|
|
|
|
200 |
%post |
%post |
201 |
|
|
202 |
%postun |
%postun |
203 |
|
|
204 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
205 |
%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 |
|