Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
webalizer
webalizer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webalizer.spec of Package webalizer
# # spec file for package webalizer (Version 2.21) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: webalizer BuildRequires: apache2-devel db-devel gd-devel libGeoIP-devel libapr-util1-devel libjpeg-devel libpng-devel mm pcre-devel xorg-x11 xorg-x11-devel %define editlvl 02 License: LGPLv2.1+ Group: Productivity/Networking/Web/Utilities Provides: webalize Obsoletes: webalize AutoReqProv: on Version: 2.21 Release: 11 Url: http://www.mrunix.net/webalizer/ Summary: A Web Server Log File Analysis Program Source: %{name}-%{version}-%{editlvl}-src.tar.bz2 Patch: %{name}-%{version}-%{editlvl}.diff Patch1: %{name}-%{version}-%{editlvl}-ia64.diff Patch3: %{name}-%{version}-%{editlvl}-maxagent.diff Patch4: %{name}-%{version}-%{editlvl}-configuration.diff Patch5: %{name}-%{version}-%{editlvl}-fclose.diff Patch6: %{name}-%{version}-%{editlvl}-define.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %define apache_serverroot %(/usr/sbin/apxs2 -q datadir 2>/dev/null || apxs -q PREFIX) %description Webalizer is a web server log file analysis program which produces usage statistics in HTML format for viewing with a browser. The results are presented in both columnar and graphical formats, which facilitates interpretation. Yearly, monthly, daily, and hourly usage statistics are presented, along with the ability to display usage by site, URL, referrer, user agent (browser) and country (user agent and referrer are only available if your web server produces Combined log format files). Webalizer supports CLF (common log format) log files, as well as Combined log formats as defined by NCSA and others, and variations of these which it attempts to handle intelligently. Authors: -------- Bradford L. Barrett <brad@usagl.net> %prep %setup -q -n %{name}-%{version}-%{editlvl} %patch %patch1 %patch3 %patch4 %patch5 %patch6 -p1 %build %{suse_update_config -f} autoconf CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ./configure --prefix=/usr \ --with-gdlib=%{_libdir} \ --with-gd=/usr/include/gd \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ --enable-dns \ --enable-bz2 \ --enable-geoip \ %{_target_cpu}-suse-linux make LIBNAME=%{_lib} %install install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -d -m 755 $RPM_BUILD_ROOT/etc install -d -m 755 $RPM_BUILD_ROOT/%{_mandir}/man1 make "DESTDIR=$RPM_BUILD_ROOT" install install -d -m 755 $RPM_BUILD_ROOT%{apache_serverroot}/htdocs/webalizer install -d -m 755 $RPM_BUILD_ROOT/var/lib/webalizer mv $RPM_BUILD_ROOT/%{_sysconfdir}/webalizer.conf.sample $RPM_BUILD_ROOT/%{_sysconfdir}/webalizer.conf %clean rm -rf $RPM_BUILD_ROOT %preun rm -f var/lib/webalizer/* %files %defattr(-,root,root) %config /etc/webalizer.conf %dir %{apache_serverroot}/htdocs/webalizer %doc %{_mandir}/man?/* %doc CHANGES COPYING Copyright README README.FIRST country-codes.txt /usr/bin/* /var/lib/webalizer %changelog
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