# $Id: smeserver-print-monitor.spec,v 1.1 2009/11/05 22:19:25 slords Exp $ # Authority: dungog # Name: Stephen Noble %define name smeserver-print-monitor %define version 0.0.7 %define release 1 Summary: SME Server print monitor Name: %{name} Version: %{version} Release: %{release}%{?dist} License: Freely distributable Group: Apache/php/caching Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/e-smith-buildroot BuildRequires: e-smith-devtools BuildArchitectures: noarch Requires: smeserver-release >= 7 Obsoletes: smeserver-lprng-monitor Provides: AutoReqProv: no %changelog * Fri Sep 18 2009 Stephen Noble 0.0.7-1.sme - build for sme contribs - rename smeserver-lprng-monitor %description Print monitoring for SME Server %prep %setup %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --file '/usr/local/lprng/info/lpinfo.ph' 'attr(755,root,root)' \ --file '/usr/local/lprng/bin/lpinfo' 'attr(755,root,root)' \ --file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lpc_suid' 'attr(4755,root,root)' \ --file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lpq_nt' 'attr(4755,root,root)' \ --file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lprm_suid' 'attr(4755,root,root)' \ --file '/var/www/html/LPRng/admin/cgi-bin/suid.ph' 'attr(4755,root,root)' \ --file '/var/www/html/LPRng/cgi-bin/lpinfo' 'attr(755,root,root)' \ --file '/var/www/html/LPRng/cgi-bin/lpinfo_lprm' 'attr(755,root,root)' \ > %{name}-%{version}-filelist echo "%doc " >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)