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 4 |
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 |
|
Patch2: smeserver-smeadmin-1.6-locale-2021-09-08.patch |
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
AutoReqProv: no |
AutoReqProv: no |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.6-4.sme |
39 |
|
- apply locale 2021-09-08 patch |
40 |
|
|
41 |
|
* Tue Aug 24 2021 Terry Fage <terry.fage@gmail.com> 1.6-3.sme |
42 |
|
- apply locale 2021-08-24 patch |
43 |
|
|
44 |
* 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 |
45 |
- fix mysql not migrating sme9admind [SME: ] |
- fix mysql not migrating sme9admind [SME: 11062] |
46 |
- fix config db sme9admind not migrated to smeadmind |
- fix config db sme9admind not migrated to smeadmind |
47 |
- fix /var/lib/sme9admin not migrated |
- fix /var/lib/sme9admin not migrated |
48 |
- add smeserver-smeadmin-update event |
- add smeserver-smeadmin-update event |
49 |
- TODO fix services diplayed multiple times |
- fix services diplayed multiple times [SME: 11455] |
50 |
- TODO make systemd unit |
- systemd unit |
51 |
- TODO review new logs locations |
- review new logs locations |
52 |
- TODO check calls to sysvinit |
- check calls to sysvinit |
53 |
|
- TODO implement new VPNs stats |
54 |
|
|
55 |
* 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 |
56 |
- Move to SME10, rename to smeadmin [SME: 11040, 11062] |
- Move to SME10, rename to smeadmin [SME: 11040, 11062] |
171 |
%prep |
%prep |
172 |
%setup |
%setup |
173 |
%patch0 -p1 |
%patch0 -p1 |
174 |
|
%patch1 -p1 |
175 |
|
%patch2 -p1 |
176 |
|
|
177 |
%build |
%build |
178 |
perl createlinks |
perl createlinks |
191 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
192 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
193 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
194 |
|grep -v '/etc/e-smith/sql/init/smeadmin'\ |
--file /usr/bin/smeadmind 'attr(755,root,root)' \ |
195 |
|grep -v '/usr/bin/smeadmind'\ |
--file /usr/share/doc/smeserver-smeadmin/add_ds_to_rrd.pl 'attr(755,root,root)' \ |
196 |
|grep -v '/usr/share/doc/smeserver-smeadmin/add_ds_to_rrd.pl'> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
197 |
|
|
198 |
%clean |
%clean |
199 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
202 |
|
|
203 |
%preun |
%preun |
204 |
|
|
|
|
|
205 |
%post |
%post |
206 |
|
|
207 |
%postun |
%postun |
208 |
|
|
209 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
210 |
%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 |
|