Author: areq                         Date: Fri Oct 17 14:53:33 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- raw PLD spec

---- Files affected:
SPECS:
   free-sa.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/free-sa.spec
diff -u /dev/null SPECS/free-sa.spec:1.1
--- /dev/null   Fri Oct 17 16:53:33 2008
+++ SPECS/free-sa.spec  Fri Oct 17 16:53:27 2008
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Name:          free-sa
+Version:       1.4.5
+Release:       0.1
+Summary:       Squid report generator per user/ip/name
+URL:           http://free-sa.sourceforge.net/
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: c3089bf4ce85636e12bc5d2098c2b8cf
+Patch0:                %name-global.mk.patch
+License:       GPL
+Group:          Networking
+
+%description
+Free-SA is statistic analyzer for daemons log files similar to SARG.
+Its main advantages over SARG are much better speed (7x-20x times),
+more reports support, crossplatform work and W3C compliance of
+generated HTML/CSS reports code.
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+%{__make} \
+       CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       PREFIX=$RPM_BUILD_ROOT/usr
+
+%{__make} -C themes install \
+       WWWDIR=$RPM_BUILD_ROOT%{_datadir}/%{name}
+
+install -d $RPM_BUILD_ROOT%{_mandir}
+install -d $RPM_BUILD_ROOT%_sysconfdir/%{name}
+
+mv $RPM_BUILD_ROOT/usr/man/* $RPM_BUILD_ROOT/%{_mandir}/
+rm -rf $RPM_BUILD_ROOT%{_prefix}/{man,share/doc} 
+install etc/free-sa.conf.sample.in 
$RPM_BUILD_ROOT/%_sysconfdir/%{name}/%{name}.conf
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING ChangeLog FAQ INSTALL README THANKS
+%config(noreplace) %_sysconfdir/%{name}/*
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}/*
+%{_mandir}/man[15]/*
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/10/17 14:53:27  areq
+- raw PLD spec
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to