2018-08-21 11:33:08 +02:00
|
|
|
Name: BackupPC-server-scripts
|
2018-08-21 11:47:20 +02:00
|
|
|
Version: 0.1.4
|
2022-01-11 16:34:06 +01:00
|
|
|
Release: 3%{?dist}
|
2012-07-05 09:52:42 +02:00
|
|
|
Summary: Some scripts for a BackupPC server
|
|
|
|
|
|
|
|
Group: Applications/System
|
|
|
|
License: GNU GPL
|
|
|
|
URL: http://gitweb.firewall-services.com/?p=BackupPC-server-scripts;a=summary
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: BackupPC
|
|
|
|
Requires: winexe
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Provides some scripts to run a a BackupPC server.
|
|
|
|
Like pre-backup scripts for Windows boxes
|
|
|
|
|
|
|
|
%changelog
|
2022-01-11 16:34:06 +01:00
|
|
|
* Tue Jan 11 2022 Daniel Berteaud <dbd@ehtrace.com> 0.1.4-3
|
|
|
|
- Release bump
|
|
|
|
|
2021-12-09 11:05:49 +01:00
|
|
|
* Thu Dec 09 2021 Daniel Berteaud <dani@lapiole.org> 0.1.4-2
|
|
|
|
- Use ReleaseTagger (dani@lapiole.org)
|
|
|
|
|
2018-08-21 11:47:20 +02:00
|
|
|
* Tue Aug 21 2018 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1
|
2018-08-21 11:37:58 +02:00
|
|
|
- new package built with tito
|
|
|
|
- Default timeout is now 900
|
2015-09-17 11:00:26 +02:00
|
|
|
* Wed Sep 16 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1
|
|
|
|
- Adapt winexe commandline args so it works with winexe 1.1
|
|
|
|
|
2012-10-18 14:51:40 +02:00
|
|
|
* Thu Jul 5 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0
|
2012-07-05 09:52:42 +02:00
|
|
|
- initial release
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Install backup script
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_bindir}/
|
2013-04-04 11:34:29 +02:00
|
|
|
%{__install} -m 0755 scripts/win-* $RPM_BUILD_ROOT%{_bindir}/
|
|
|
|
|
|
|
|
# coreutils doesn't provides a timeout command in EL5
|
|
|
|
# So include the bash one
|
|
|
|
%if 0%{?rhel} == 5
|
|
|
|
%{__install} -m 0755 scripts/timeout $RPM_BUILD_ROOT%{_bindir}/
|
|
|
|
%endif
|
2012-07-05 09:52:42 +02:00
|
|
|
|
|
|
|
# Install conf
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/BackupPC
|
|
|
|
%{__install} -m 0640 conf/* $RPM_BUILD_ROOT%{_sysconfdir}/BackupPC/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/*
|
|
|
|
%config(noreplace) %attr(0640, root, backuppc) %{_sysconfdir}/BackupPC/*
|
|
|
|
|