1 |
# $Id: smeserver-BackupPC.spec,v 1.2 2013/11/12 18:11:30 vip-ire Exp $ |
# $Id: smeserver-BackupPC.spec,v 1.4 2017/05/03 19:35:41 unnilennium Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
Name: smeserver-BackupPC |
Name: smeserver-BackupPC |
6 |
Version: 0.2 |
Version: 0.2 |
7 |
Release: 1%{?dist} |
Release: 3%{?dist} |
8 |
Summary: BackupPC integration into SME server |
Summary: BackupPC integration into SME server |
9 |
|
|
10 |
Group: Applications/System |
Group: Applications/System |
11 |
License: GPL |
License: GPL |
12 |
URL: http://backuppc.sourceforge.net/ |
URL: http://backuppc.sourceforge.net/ |
13 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
14 |
|
Patch0: smeserver-BackupPC-0.2.bz10266.updatetktauth.patch |
15 |
|
|
16 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
BuildRoot: %{_tmppath}/%{name}-%{version} |
17 |
BuildArch: noarch |
BuildArch: noarch |
22 |
Requires: BackupPC >= 3.1.0 |
Requires: BackupPC >= 3.1.0 |
23 |
Requires: smeserver-remoteuseraccess |
Requires: smeserver-remoteuseraccess |
24 |
Requires: openssl |
Requires: openssl |
25 |
|
Requires: e-smith-manager >= 2.6.0-22 |
26 |
|
|
27 |
#Conflicts: smeserver-backuppc.fws |
#Conflicts: smeserver-backuppc.fws |
28 |
Obsoletes: smeserver-backuppc.fws |
Obsoletes: smeserver-backuppc.fws |
34 |
and easy to install and maintain. |
and easy to install and maintain. |
35 |
This package contains specific configuration for SME server |
This package contains specific configuration for SME server |
36 |
|
|
37 |
|
#---------------------------------------------------- |
38 |
|
|
39 |
|
%package -n smeserver-BackupPC4 |
40 |
|
Summary: BackupPC 4 integration into SME server |
41 |
|
Group: Email |
42 |
|
Requires: BackupPC4 |
43 |
|
Conflicts: smeserver-BackupPC |
44 |
|
|
45 |
|
%description -n smeserver-BackupPC4 |
46 |
|
BackupPC is a high-performance, enterprise-grade system for backing up Linux |
47 |
|
and WinXX PCs and laptops to a server's disk. BackupPC is highly configurable |
48 |
|
and easy to install and maintain. |
49 |
|
This package contains specific configuration for SME server |
50 |
|
|
51 |
|
#---------------------------------------------------- |
52 |
|
|
53 |
|
|
54 |
|
|
55 |
%changelog |
%changelog |
56 |
|
* Mon Nov 25 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.2-3.sme |
57 |
|
- initial build to install BackupPC4fix [SME: 10514] |
58 |
|
|
59 |
|
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.2-2.sme |
60 |
|
- update TKT auth parameter for SME 9.2 update [SME: 10266] |
61 |
|
|
62 |
* Tue Nov 12 2013 Daniel B. <daniel@firewall-services.com> 0.2-1.sme |
* Tue Nov 12 2013 Daniel B. <daniel@firewall-services.com> 0.2-1.sme |
63 |
- Rebuild for SME9 |
- Rebuild for SME9 |
64 |
|
|
137 |
|
|
138 |
%prep |
%prep |
139 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
140 |
|
%patch0 -p1 |
141 |
|
|
142 |
%build |
%build |
143 |
perl createlinks |
perl createlinks |
185 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
186 |
%defattr(-,root,root) |
%defattr(-,root,root) |
187 |
|
|
188 |
|
%files -n smeserver-BackupPC4 -f %{name}-%{version}-filelist |
189 |
|
%defattr(-,root,root,-) |
190 |
|
|
191 |
|
|
192 |
%pre |
%pre |
193 |
#%{_sbindir}/useradd -c "BackupPC User" -m -d /home/e-smith/files/users/backuppc -r -s /sbin/nologin backuppc >& /dev/null || : |
#%{_sbindir}/useradd -c "BackupPC User" -m -d /home/e-smith/files/users/backuppc -r -s /sbin/nologin backuppc >& /dev/null || : |
194 |
%{_sbindir}/usermod -m -d /var/lib/BackupPC backuppc >& /dev/null || : |
%{_sbindir}/usermod -m -d /var/lib/BackupPC backuppc >& /dev/null || : |