From 88a108b543d2fb1de10473653fb1026d3d7b130d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 10 Apr 2013 19:11:25 +0200 Subject: [PATCH 1/1] - initial --- ftss.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ftss.spec diff --git a/ftss.spec b/ftss.spec new file mode 100644 index 0000000..4c2ad3b --- /dev/null +++ b/ftss.spec @@ -0,0 +1,43 @@ +Summary: Apache server-status viewer +Name: ftss +Version: 0.9.3 +Release: 1 +License: GPL v2 +Group: Networking/Admin +Source0: http://fabletech.com/ftss-download/%{name}-%{version}.tar.gz +# Source0-md5: 2a8a364a87e1b9f310e3b068e2f20fe5 +URL: http://fabletech.com/ftss +BuildRequires: apache-devel +BuildRequires: apr-devel +BuildRequires: apr-util-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _sbindir /sbin + +%description +Apache server-status viewer from "name based" shared memory segment +setup in apache for the scoreboard. + +%prep +%setup -q + +%build +%configure \ + CFLAGS="%{rpmcppflags} $(%{_bindir}/apu-1-config --includes)" \ + --with-apr-config=%{_bindir}/apr-1-config + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README +%attr(755,root,root) %{_sbindir}/ftss -- 2.43.0