File invis-rp-dnsserver.spec of Package invis-rp-dnsserver

#
# spec file for package invis-rp-dnsserver
#
# Copyright (c) 2019 Stefan Schaefer -- invis-server.org
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments to stefan@invis-server.org
#

%define basename invis-rp-dnsserver
Name:		invis-rp-dnsserver
Version:	0.14

Release:	0
License:	GPL-3.0
Summary:	invis Rootpack - Toolbox for Web and Mailhosting
Url:		http://www.invis-server.org
Group:		Productivity/Networking/Other
Source:		%name-%version.tar.gz

BuildRequires:	cron invis-rp-common bind

Requires:	cron invis-rp-common bind

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:    noarch

%description
The invis rootpack toolbox - is a small collection of simple scripts to manage web-, mail- and dns-servers for hosting.

%prep
%setup -q

%build

%install
mkdir -p %{buildroot}
mv * %{buildroot}
find %{buildroot} -name ".gitignore" -exec rm -f {} \;

%pre

%post

%files
%defattr(-,root,root)
%dir %{_sysconfdir}/rootpack/templates/bind
%config %{_sysconfdir}/rootpack/templates/bind/*.template
%config(noreplace) %{_sysconfdir}/named.zones.include
%dir /var/lib/rootpack/bind/
%config /var/lib/rootpack/bind/named.conf.extension

%attr(0755,root,root) %{_bindir}/*

%dir %doc %{_defaultdocdir}/%{basename}
%doc %doc %{_defaultdocdir}/%{basename}/*

%changelog
openSUSE Build Service is sponsored by