File insserv.spec of Package insserv.import4270

# spec file for package insserv
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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 via

# norootforbuild

Name:           insserv
License:        GPLv2+
Group:          System/Base
Provides:       aaa_base:/sbin/insserv
AutoReqProv:    on
Version:        1.14.0
Release:        20.<RELEASE24>
Summary:        A Program to Arrange Initialization Scripts
Source1:        insserv.conf
Patch:          insserv-%{version}.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%global         _sysconfdir /etc
%global         _sbindir    /sbin

Insserv enables an installed system init script (boot script) by
reading the comment header of the script and calculating the
dependencies between all scripts.

    Dr. Werner Fink <>


# remove -DOSCBUILD if all packages are fixed
make %{?_smp_mflags} INITDIR=%{_sysconfdir}/init.d INSCONF=%{_sysconfdir}/insserv.conf

make install DESTDIR=%{buildroot} INITDIR=%{_sysconfdir}/init.d INSCONF=%{_sysconfdir}/insserv.conf
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/
mkdir -p %{buildroot}%{_datadir}/insserv/overrides

%config %{_sysconfdir}/insserv.conf
%dir %{_datadir}/insserv
%dir %{_datadir}/insserv/overrides

openSUSE Build Service is sponsored by