Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-cronolog-162
dba-cronolog-162.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-cronolog-162.spec of Package dba-cronolog-162
%define pkg_name cronolog %define real_vers 1.6.2 %define pkg_vers 162 %define prefix /DBA/%{pkg_name}/%{real_vers} %define maketest 0 Name: dba-%{pkg_name}-%{pkg_vers} Summary: Web log rotation program for Apache Release: 1 Version: %{real_vers} Group: Applications/System License: GPL 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 %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 %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 ./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 %{__ln_s} -f %{prefix}/bin/cronolog /usr/sbin/cronolog fi %files %defattr(-,root,root,-) %dir %{prefix} %{prefix}/* %changelog * Fri Jan 17 2014 Holger Manthey <holger.manthey@bertelsmann.de> - add symbolic link to /usr/sbin/cronolog * Fri Dec 20 2013 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