Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-cronolog-164
dba-cronolog-164.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-cronolog-164.spec of Package dba-cronolog-164
%define pkg_name cronolog %define real_vers 1.6.4 %define pkg_vers 164 %define prefix /DBA/%{pkg_name}/%{real_vers} %define maketest 0 %define auto269 1 Name: dba-%{pkg_name}-%{pkg_vers} Summary: Cronolog web log rotation program version 1.6.4 Release: 1 Version: %{real_vers} Group: Applications/System License: GPL-3.0-or-later URL: http://cronolog.org/ Packager: Holger Manthey <holger.manthey@bertelsmann.de> Source: http://cronolog.org/download/%{pkg_name}-%{real_vers}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake autoconf libtool m4 patch %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %if 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600 || 0%{?fedora_version} BuildRequires: perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed) %endif %if 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 %define auto269 0 %endif %if %{auto269} BuildRequires: dba-m4-1417 dba-autoconf-269 %define autodir /DBA/autoconf/2.69 %endif %description cronolog is a simple filter program that reads log file entries from standard input and writes each entry to the output file specified by a filename template and the current date and time. When the expanded filename changes, the current file is closed and a new one opened. cronolog is intended to be used in conjunction with a Web server, such as Apache, to split the access log into daily or monthly logs. %prep %setup -q -n %{pkg_name}-%{real_vers} %build %if %{auto269} export PATH=%{autodir}/bin:$PATH %endif ./autoregen.sh ./configure \ --prefix=%{prefix} %{__make} %check %if %maketest %{__make} check %endif %install %{__mkdir_p} %{buildroot}%{prefix} make %{?_smp_mflags} DESTDIR=%{buildroot} install %{__mv} %{buildroot}%{prefix}/sbin %{buildroot}%{prefix}/bin %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %post if [ -e /usr/sbin/cronolog ]; then %{__rm} -f /usr/sbin/cronolog fi %{__ln_s} -f %{prefix}/bin/cronolog /usr/sbin/cronolog %files %defattr(-,root,root,-) %dir %{prefix} %{prefix}/* %changelog * Fri Jan 23 2015 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor