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
|
Summary: network monitoring application
|
||||||
Name: icinga2
|
Name: icinga2
|
||||||
Version: 0.0.1
|
Version: 0.0.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
@ -33,7 +33,25 @@ make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/icinga2
|
%{_sysconfdir}/%{name}
|
||||||
%{_datadir}/doc/icinga2
|
#%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
||||||
%{_libdir}/icinga2
|
%attr(755,-,-) %{_sysconfdir}/init.d/%{name}
|
||||||
%{_sysconfdir}/icinga2
|
%{_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