1 |
Summary: A rsync-based backup program for linux, adapted to Koozali SME server 10 |
Summary: A rsync-based backup program for linux, adapted to Koozali SME server 10 |
2 |
%define name smeserver-affa |
%define name smeserver-affa |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 3.3.0 |
%define version 3.3.1 |
5 |
%define release 1 |
%define release 3 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
Vendor: Michael Weinberger <mweinber AT users DOT sourceforge DOT net> //// adaptation to sme-server Arnaud Guillaume <smeserver-affa AT guedel DOT eu> |
Vendor: Michael Weinberger <mweinber AT users DOT sourceforge DOT net> //// adaptation to sme-server Arnaud Guillaume <smeserver-affa AT guedel DOT eu> |
16 |
AutoReq: no |
AutoReq: no |
17 |
|
|
18 |
Requires: e-smith-release >= 10 |
Requires: e-smith-release >= 10 |
19 |
|
Requires: smeserver-systemd-control |
20 |
Requires: openssh-clients |
Requires: openssh-clients |
21 |
Requires: perl-Config-IniFiles |
Requires: perl-Config-IniFiles |
22 |
Requires: perl-Filesys-DiskFree |
Requires: perl-Filesys-DiskFree |
26 |
Requires: perl-List-MoreUtils |
Requires: perl-List-MoreUtils |
27 |
Requires: rsync |
Requires: rsync |
28 |
|
|
29 |
#Patch1: smeserver-affa-something.patch |
Patch1: smeserver-affa-add-some-systemd-support.patch |
30 |
|
Patch2: smeserver-affa-change-host-domain.patch |
31 |
|
|
32 |
%description |
%description |
33 |
Affa is a rsync-based backup program for SMEServer + RPMCheck + Watchdog + rise. Documentation: http://affa.sf.net |
Affa is a rsync-based backup program for SMEServer + RPMCheck + Watchdog + rise. Documentation: http://affa.sf.net |
36 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
37 |
|
|
38 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
39 |
#%patch1 -p1 |
%patch1 -p1 |
40 |
|
%patch2 -p1 |
41 |
|
|
42 |
%build |
%build |
43 |
# perl createlinks << if required |
# perl createlinks << if required |
63 |
--file "/etc/sudoers.d/affa" "attr(0440,root,root)" \ |
--file "/etc/sudoers.d/affa" "attr(0440,root,root)" \ |
64 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
65 |
|
|
|
%files -f %{name}-%{version}-filelist |
|
|
|
|
66 |
# We could use this for docs I guess - we should standardise this sort of thing |
# We could use this for docs I guess - we should standardise this sort of thing |
67 |
#%doc README LICENSE README |
#%doc README LICENSE README |
68 |
|
echo "%doc LICENSE COPYING README WARRANTY" >> %{name}-%{version}-filelist |
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
%files -f %{name}-%{version}-filelist |
73 |
|
|
74 |
%clean |
%clean |
75 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
87 |
exit 0 |
exit 0 |
88 |
|
|
89 |
%changelog |
%changelog |
90 |
* Tue Mar 23 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.0-1.sme |
* Tue Sep 21 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-3.sme |
91 |
|
- Fix some syntax errors. Migrate to using HostName/DomainName |
92 |
|
|
93 |
|
* Tue Sep 21 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-2.sme |
94 |
|
- Add some systemd support [SME: 11024] |
95 |
|
|
96 |
|
* Mon Mar 29 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-1.sme |
97 |
|
- Fix Warranty [SME: 11500] |
98 |
|
- Fix Licence [SME: 11501] |
99 |
|
- Remove atalk [SME: 11503] |
100 |
|
|
101 |
|
* Tue Mar 23 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.0-1.sme |
102 |
- New version for Koozali SME v10 [SME: 11024] |
- New version for Koozali SME v10 [SME: 11024] |
103 |
- incorporated old patches |
- incorporated old patches |
104 |
- tidied up some old git files |
- tidied up some old git files |