-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathapt-dater-host.spec
43 lines (32 loc) · 1.2 KB
/
apt-dater-host.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Name: apt-dater-host
Version: 1.0.1
Release: 1%{?dist}
BuildArch: noarch
Summary: Host helper application for apt-dater
License: GPL2
URL: https://github.com/DE-IBH/apt-dater-host/
Source0: https://github.com/DE-IBH/apt-dater-host/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
%description
Host helper application for apt-dater, a terminal-based remote package update
manager. apt-dater provides an easy to use ncurses frontend for managing package
updates on a large number of remote hosts using SSH. It supports Debian-based
managed hosts as well as OpenSUSE and CentOS based systems.
%prep
%autosetup
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}/
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
install yum/apt-dater-host $RPM_BUILD_ROOT/%{_bindir}/
install yum/apt-dater-host.conf $RPM_BUILD_ROOT/%{_sysconfdir}/
install man/apt-dater-host.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
%files
%doc README
%{_bindir}/apt-dater-host
%config %{_sysconfdir}/apt-dater-host.conf
%{_mandir}/man1/apt-dater-host.1*
%changelog
* Sat Dec 3 2016 Mike Gerber <[email protected]>
- First package