diff --git a/README.md b/README.md index e69d6a4..30c10bb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # rsyslog +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. + diff --git a/rsyslog.spec b/rsyslog.spec new file mode 100644 index 0000000..81529b8 --- /dev/null +++ b/rsyslog.spec @@ -0,0 +1,90 @@ +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 +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 8.8.0-1mamba +- package created using the webbuild interface