Search
j0ke.net Open Build Service
>
Projects
>
home:jg
>
managelogs
> managelogs.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File managelogs.spec of Package managelogs
# # This file allows to build source and binary RPM packages # # How to build : # - Run './configure' (without options) # - Then, run 'make rpm' # # Note: To generate debuginfo packages, you need to install the # redhat-rpm-config package first. # #============================================================================== # # build/managelogs.spec. Generated from managelogs.spec.in by configure. # Name: managelogs Summary: Log management software Version: 2.2.1 Release: 27.1 License: Apache Software License 2.0 (ASL 2.0) Source: managelogs-%{version}.tar.gz URL: http://managelogs.tekwire.net/ Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-root Packager: Francois Laupretre <francois@tekwire.net> AutoReqProv: no %if 0%{?suse_version} # ps needed for check (explicit dependency required on OBS for Suse flavors) BuildRequires: libapr1-devel zlib-devel libbz2-devel ps gcc make glibc-devel autoconf automake libtool Requires: libapr1 zlib bzip2 Group: Productivity/Networking/Web/Utilities # OBS needs rpmlintrc to ignore errors Source99: managelogs-rpmlintrc %else BuildRequires: apr-devel zlib-devel bzip2-devel Requires: apr zlib bzip2-libs Provides: managelogs Group: Applications/Internet %endif %description managelogs is a log management program for Apache. It rotates and purges the Apache log files based on different size limits and includes a lot of useful features. # Fake changelog info %changelog * Mon Jan 01 2010 Francois Laupretre <francois@tekwire.net> For changelog information, please consult http://managelogs.hg.sourceforge.net/hgweb/managelogs/managelogs/log %prep %setup -q # %__chmod 0644 ACKNOWLEDGEMENTS AUTHORS ChangeLog COPYING NEWS NOTICE README TODO %build # On OBS, run autotools because installed versions can be # incompatible with the version we ran to generate the distrib. # Unfortunately, OBS uses two different strings for the 'vendor' macro in_obs='' echo '%vendor' | grep '^obs://build.opensuse.org/' && in_obs=y [ '%vendor' = 'openSUSE Build Service' ] && in_obs=y if [ -n "$in_obs" ] ; then build/buildconf --verbose fi %configure %{?_without_zlib} %{?_without_bz2} make %{?_smp_mflags} %check make check %install rm -rf "%{buildroot}" mkdir "%{buildroot}" %makeinstall %clean rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc ACKNOWLEDGEMENTS AUTHORS ChangeLog COPYING NEWS NOTICE README TODO doc/managelogs.8.htm %{_bindir}/managelogs %{_libdir}/liblogmanager.* %{_includedir}/logmanager.h %{_mandir}/man8/managelogs.*