--- rpms/smeserver-BackupPC/contribs9/smeserver-BackupPC.spec 2013/11/12 18:10:54 1.1 +++ rpms/smeserver-BackupPC/contribs9/smeserver-BackupPC.spec 2019/11/26 04:10:47 1.5 @@ -1,16 +1,17 @@ -# $Id: smeserver-BackupPC.spec,v 1.1 2013/02/07 02:18:15 unnilennium Exp $ +# $Id: smeserver-BackupPC.spec,v 1.4 2017/05/03 19:35:41 unnilennium Exp $ # Authority: vip-ire # Name: Daniel Berteaud Name: smeserver-BackupPC Version: 0.2 -Release: 12%{?dist} +Release: 3%{?dist} Summary: BackupPC integration into SME server Group: Applications/System License: GPL URL: http://backuppc.sourceforge.net/ -Source: %{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.xz +Patch0: smeserver-BackupPC-0.2.bz10266.updatetktauth.patch BuildRoot: %{_tmppath}/%{name}-%{version} BuildArch: noarch @@ -21,6 +22,7 @@ Requires: mod_auth_tkt Requires: BackupPC >= 3.1.0 Requires: smeserver-remoteuseraccess Requires: openssl +Requires: e-smith-manager >= 2.6.0-22 #Conflicts: smeserver-backuppc.fws Obsoletes: smeserver-backuppc.fws @@ -32,8 +34,31 @@ and WinXX PCs and laptops to a server's and easy to install and maintain. This package contains specific configuration for SME server +#---------------------------------------------------- + +%package -n smeserver-BackupPC4 +Summary: BackupPC 4 integration into SME server +Group: Email +Requires: BackupPC4 +Conflicts: smeserver-BackupPC + +%description -n smeserver-BackupPC4 +BackupPC is a high-performance, enterprise-grade system for backing up Linux +and WinXX PCs and laptops to a server's disk. BackupPC is highly configurable +and easy to install and maintain. +This package contains specific configuration for SME server + +#---------------------------------------------------- + + %changelog +* Mon Nov 25 2019 Jean-Philipe Pialasse 0.2-3.sme +- initial build to install BackupPC4fix [SME: 10514] + +* Wed May 03 2017 Jean-Philipe Pialasse 0.2-2.sme +- update TKT auth parameter for SME 9.2 update [SME: 10266] + * Tue Nov 12 2013 Daniel B. 0.2-1.sme - Rebuild for SME9 @@ -112,6 +137,7 @@ This package contains specific configura %prep %setup -q -n %{name}-%{version} +%patch0 -p1 %build perl createlinks @@ -159,6 +185,10 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root) +%files -n smeserver-BackupPC4 -f %{name}-%{version}-filelist +%defattr(-,root,root,-) + + %pre #%{_sbindir}/useradd -c "BackupPC User" -m -d /home/e-smith/files/users/backuppc -r -s /sbin/nologin backuppc >& /dev/null || : %{_sbindir}/usermod -m -d /var/lib/BackupPC backuppc >& /dev/null || :