rsyslog/rsyslog.spec

91 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: rsyslog
Version: 8.8.0
Release: 1mamba
Summary: A rocket-fast system for log processing.
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.rsyslog.com/
Source: http://www.rsyslog.com/files/download/rsyslog/rsyslog-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcap-devel
BuildRequires: libdw-devel
BuildRequires: libestr-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libjson-c-devel
BuildRequires: liblogging-devel
BuildRequires: liblzma-devel
BuildRequires: libpcre-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libsystemd-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Rsyslog is a rocket-fast system for log processing.
It offers high-performance, great security features and a modular design.
While it started as a regular syslogd, rsyslog has evolved into a kind of swiss army knife of logging, being able to accept inputs from a wide variety of sources, transform them, and output to the results to diverse destinations.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%systemd_post rsyslog
:
%preun
%systemd_preun rsyslog
:
%postun
%systemd_postun_with_restart rsyslog
:
%files
%defattr(-,root,root)
%{_sbindir}/rsyslogd
%{_mandir}/man5/rsyslog.conf.5*
%{_mandir}/man8/rsyslogd.8*
%{_unitdir}/rsyslog.service
%doc AUTHORS COPYING COPYING.LESSER
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_libdir}/rsyslog
%{_libdir}/rsyslog/*.so
%{_libdir}/rsyslog/*.la
#%doc ChangeLog NEWS README README.md
%changelog
* Fri Mar 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 8.8.0-1mamba
- package created using the webbuild interface