--- rpms/smeserver-BackupPC/contribs9/smeserver-BackupPC.spec 2017/05/03 19:35:41 1.4 +++ rpms/smeserver-BackupPC/contribs9/smeserver-BackupPC.spec 2019/11/26 04:10:47 1.5 @@ -1,10 +1,10 @@ -# $Id: smeserver-BackupPC.spec,v 1.3 2013/11/12 18:29:18 vip-ire 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: 2%{?dist} +Release: 3%{?dist} Summary: BackupPC integration into SME server Group: Applications/System @@ -34,8 +34,28 @@ 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] @@ -165,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 || :