forked from markfeit/drop-in
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrop-in.spec
47 lines (32 loc) · 771 Bytes
/
drop-in.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
44
45
46
47
#
# RPM Spec for drop-in
#
Name: drop-in
Version: 1.3
Release: 1%{?dist}
Summary: Drop and add blocks of text in files
BuildArch: noarch
License: Apache 2.0
Group: Utilities/Text
Vendor: Mark Feit <mfeit@notonthe.net>
URL: https://github.com/markfeit/drop-in
Source0: %{name}-%{version}.tar.gz
Provides: %{name} = %{version}-%{release}
Requires: perl >= 5.0
%description
Drop-in adds, replaces or removes blocks of text in text files. This
is useful for maintaining configurations that are in a single file
instead of a Red Hat .d-style directory.
%prep
%setup -q
%build
make \
BINDIR=$RPM_BUILD_ROOT/%{_bindir} \
MANDIR=$RPM_BUILD_ROOT/%{_mandir} \
install
%clean
make clean
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*