]> git.pld-linux.org Git - packages/apachetop.git/blobdiff - apachetop.spec
- release 10 (by relup.sh)
[packages/apachetop.git] / apachetop.spec
index b60da86a5d946fad0cb06fb5c354f19433a09f67..2345f15e74e697ab68c0c5c762547ee69038b69b 100644 (file)
@@ -2,16 +2,18 @@
 # TODO: fam support is broken (it always needs running & working fam)
 #
 Summary:       Apache top-like display
-Summary(pl.UTF-8):   Podobny do topa program pokazujący pracę Apache'a
+Summary(pl.UTF-8):     Podobny do topa program pokazujący pracę Apache'a
 Name:          apachetop
 Version:       0.12.6
-Release:       1
+Release:       10
 Epoch:         1
 License:       BSD
 Group:         Networking/Utilities
 Source0:       http://www.webta.org/apachetop/%{name}-%{version}.tar.gz
 # Source0-md5: 604283ac4bbbddd98fc9b1f11381657e
-Patch0:                %{name}-log_location.patch
+Patch0:                %{name}-debian.patch
+Patch1:                %{name}-log_location.patch
+Patch2:                %{name}-maxpath.patch
 URL:           http://www.webta.org/projects/apachetop/
 BuildRequires: ncurses-devel
 BuildRequires: pcre-devel
@@ -31,15 +33,21 @@ najbardziej popularne URL-e, itp.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 sed -i -e 's#fam#fambroken#g' configure*
 
 %build
-%configure
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --with-logfile=/var/log/httpd/access_log
 
 %{__make} \
        CXX="%{__cxx}" \
-       CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses -pthread"
+       CXXFLAGS="%{rpmcflags} %{rpmcppflags} -I/usr/include/ncurses -pthread"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.03218 seconds and 4 git commands to generate.