rsyslog/rsyslog.spec

97 lines
2.5 KiB
RPMSpec

Name: rsyslog
Version: 8.10.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
* Mon Jun 08 2015 Automatic Build System <autodist@mambasoft.it> 8.10.0-1mamba
- automatic version update by autodist
* Fri Apr 10 2015 Automatic Build System <autodist@mambasoft.it> 8.9.0-1mamba
- automatic version update by autodist
* Fri Mar 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 8.8.0-1mamba
- package created using the webbuild interface