Name: rotate-logs Version: 0.0.0 Release: 0.n0i.1.svn1873985%{?dist} Summary: Piped logging program to rotate logs License: Apache License, Version 2.0 URL: https://httpd.apache.org/ Source0: http://svn.apache.org/repos/asf/httpd/httpd/trunk/support/rotatelogs.c BuildRequires: pkg-config BuildRequires: apr-devel %description rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature. It supports rotation based on a time interval or maximum size of the log. This package uses a different name (for both package and binary!) in order to avoid conflict with Red Hat / Fedora httpd bundle. If you use Apache's web server, do not use this package, install httpd. %prep %setup -c -T %{__cp} %SOURCE0 . %build %{__cc} %{optflags} $(pkg-config --cflags --libs apr-1) -o %{name} rotatelogs.c %install %{__install} -m 0755 -D %{name} %{buildroot}%{_bindir}/%{name} %files %defattr(-, root, root) %{_bindir}/%{name} %changelog * Fri Dec 25 2020 Marius FERARU - 0.0.0-0.n0i.1.svn1873985 - package current SVN revision