mirror of https://github.com/Icinga/icinga2.git
icinga2.spec: show some love for proper builds
- icinga2 binary location changed to sbin/ - new initscript - itl is installed into share/ - man pages in man/ - use name macro for every 'icinga2' occurence - add a changelog update to 0.0.2 release fixes #4050
This commit is contained in:
parent
d22e3767cd
commit
94b977ac24
28
icinga2.spec
28
icinga2.spec
|
@ -1,6 +1,6 @@
|
|||
Summary: network monitoring application
|
||||
Name: icinga2
|
||||
Version: 0.0.1
|
||||
Version: 0.0.2
|
||||
Release: 1%{?dist}
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
|
@ -33,7 +33,25 @@ make install DESTDIR=%{buildroot}
|
|||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/icinga2
|
||||
%{_datadir}/doc/icinga2
|
||||
%{_libdir}/icinga2
|
||||
%{_sysconfdir}/icinga2
|
||||
%{_sysconfdir}/%{name}
|
||||
#%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
||||
%attr(755,-,-) %{_sysconfdir}/init.d/%{name}
|
||||
%{_sbindir}/%{name}
|
||||
%{_libdir}/%{name}
|
||||
%{_datadir}/doc/%{name}
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/itl
|
||||
%{_mandir}/man8/%{name}.8.gz
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat May 04 2013 Michael Friedrich <michael.friedrich@netways.de> - 0.0.2-1
|
||||
- icinga2 binary in sbindir
|
||||
- new initscript in initdir
|
||||
- itl is installed into datadir
|
||||
- man pages in mandir
|
||||
- use name macro to avoid typos
|
||||
|
||||
* Fri Nov 19 2012 Gunnar Beutner <gunnar.beutner@netways.de> - 0.0.1-1
|
||||
- initial version
|
||||
|
|
Loading…
Reference in New Issue