nagios-rpm-macros/nagios-rpm-macros.spec

51 lines
1.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package nagios-rpm-macros
#
# 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.
# norootforbuild
Name: nagios-rpm-macros
Summary: RPM Macros for Nagios based packages
Version: 0.001
Release: 1
Url: http://en.opensuse.org/Nagios
License: LGPL
Group: System/Monitoring
Source0: macros.nagios
Source1: %{name}-README
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package provides rpm macros for building packages for
Nagios and/or Icinga.
%prep
%{__cp} %{S:1} README
%build
%install
install -Dm644 %{S:0} %{buildroot}%{_sysconfdir}/rpm/macros.nagios
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%doc README
%config %{_sysconfdir}/rpm/macros.nagios
%changelog