1 |
unnilennium |
1.2 |
# $Id: smeserver-print-monitor.spec,v 1.1 2016/06/13 15:21:48 unnilennium Exp $ |
2 |
unnilennium |
1.1 |
# Authority: dungog |
3 |
|
|
# Name: Stephen Noble |
4 |
|
|
|
5 |
|
|
%define name smeserver-print-monitor |
6 |
|
|
%define version 0.0.7 |
7 |
unnilennium |
1.2 |
%define release 2 |
8 |
unnilennium |
1.1 |
Summary: SME Server print monitor |
9 |
|
|
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: Freely distributable |
13 |
|
|
Group: Apache/php/caching |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
BuildRoot: /var/tmp/e-smith-buildroot |
16 |
|
|
BuildRequires: e-smith-devtools |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
Requires: smeserver-release >= 7 |
19 |
|
|
Obsoletes: smeserver-lprng-monitor |
20 |
|
|
Provides: AutoReqProv: no |
21 |
|
|
|
22 |
|
|
%changelog |
23 |
unnilennium |
1.2 |
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.0.7-2.sme |
24 |
|
|
- fix missing AuthBasicProvider external |
25 |
|
|
- thank you to Anne aka Ecureuil for providing the fix and testing. |
26 |
|
|
|
27 |
unnilennium |
1.1 |
* Fri Sep 18 2009 Stephen Noble <support@dungog.net> 0.0.7-1.sme |
28 |
|
|
- build for sme contribs |
29 |
|
|
- rename smeserver-lprng-monitor |
30 |
|
|
|
31 |
|
|
%description |
32 |
|
|
Print monitoring for SME Server |
33 |
|
|
|
34 |
|
|
%prep |
35 |
|
|
%setup |
36 |
|
|
|
37 |
|
|
%build |
38 |
|
|
perl createlinks |
39 |
|
|
|
40 |
|
|
%install |
41 |
|
|
rm -rf $RPM_BUILD_ROOT |
42 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
43 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
44 |
|
|
--file '/usr/local/lprng/info/lpinfo.ph' 'attr(755,root,root)' \ |
45 |
|
|
--file '/usr/local/lprng/bin/lpinfo' 'attr(755,root,root)' \ |
46 |
|
|
--file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lpc_suid' 'attr(4755,root,root)' \ |
47 |
|
|
--file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lpq_nt' 'attr(4755,root,root)' \ |
48 |
|
|
--file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lprm_suid' 'attr(4755,root,root)' \ |
49 |
|
|
--file '/var/www/html/LPRng/admin/cgi-bin/suid.ph' 'attr(4755,root,root)' \ |
50 |
|
|
--file '/var/www/html/LPRng/cgi-bin/lpinfo' 'attr(755,root,root)' \ |
51 |
|
|
--file '/var/www/html/LPRng/cgi-bin/lpinfo_lprm' 'attr(755,root,root)' \ |
52 |
|
|
> %{name}-%{version}-filelist |
53 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
54 |
|
|
|
55 |
|
|
%clean |
56 |
|
|
rm -rf $RPM_BUILD_ROOT |
57 |
|
|
|
58 |
|
|
%files -f %{name}-%{version}-filelist |
59 |
|
|
%defattr(-,root,root) |