1 |
brianr |
1.2 |
# $Id: smeserver-print-monitor.spec,v 1.1 2020/10/29 10:06:06 brianr Exp $ |
2 |
brianr |
1.1 |
# Authority: dungog |
3 |
|
|
# Name: Stephen Noble |
4 |
|
|
|
5 |
|
|
%define name smeserver-print-monitor |
6 |
|
|
%define version 0.0.7 |
7 |
brianr |
1.2 |
%define release 4 |
8 |
brianr |
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 |
|
|
Patch0: smeserver-print-monitor-0.0.7-auth.patch |
16 |
|
|
BuildRoot: /var/tmp/e-smith-buildroot |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
Requires: smeserver-release >= 7 |
20 |
|
|
Obsoletes: smeserver-lprng-monitor |
21 |
|
|
Provides: AutoReqProv: no |
22 |
|
|
|
23 |
|
|
%changelog |
24 |
brianr |
1.2 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.0.7-4.sme |
25 |
|
|
- Initial import to SME10 [SME: 11067] |
26 |
|
|
|
27 |
brianr |
1.1 |
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.0.7-3.sme |
28 |
|
|
- fix missing AuthBasicProvider external |
29 |
|
|
- thank you to Anne aka Ecureuil for providing the fix and testing. |
30 |
|
|
|
31 |
|
|
* Fri Sep 18 2009 Stephen Noble <support@dungog.net> 0.0.7-1.sme |
32 |
|
|
- build for sme contribs |
33 |
|
|
- rename smeserver-lprng-monitor |
34 |
|
|
|
35 |
|
|
%description |
36 |
|
|
Print monitoring for SME Server |
37 |
|
|
|
38 |
|
|
%prep |
39 |
|
|
%setup |
40 |
|
|
%patch0 -p1 |
41 |
|
|
|
42 |
|
|
%build |
43 |
|
|
perl createlinks |
44 |
|
|
|
45 |
|
|
%install |
46 |
|
|
rm -rf $RPM_BUILD_ROOT |
47 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
48 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
49 |
|
|
--file '/usr/local/lprng/info/lpinfo.ph' 'attr(755,root,root)' \ |
50 |
|
|
--file '/usr/local/lprng/bin/lpinfo' 'attr(755,root,root)' \ |
51 |
|
|
--file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lpc_suid' 'attr(4755,root,root)' \ |
52 |
|
|
--file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lpq_nt' 'attr(4755,root,root)' \ |
53 |
|
|
--file '/var/www/html/LPRng/admin/cgi-bin/lpinfo_lprm_suid' 'attr(4755,root,root)' \ |
54 |
|
|
--file '/var/www/html/LPRng/admin/cgi-bin/suid.ph' 'attr(4755,root,root)' \ |
55 |
|
|
--file '/var/www/html/LPRng/cgi-bin/lpinfo' 'attr(755,root,root)' \ |
56 |
|
|
--file '/var/www/html/LPRng/cgi-bin/lpinfo_lprm' 'attr(755,root,root)' \ |
57 |
|
|
> %{name}-%{version}-filelist |
58 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
59 |
|
|
|
60 |
|
|
%clean |
61 |
|
|
rm -rf $RPM_BUILD_ROOT |
62 |
|
|
|
63 |
|
|
%files -f %{name}-%{version}-filelist |
64 |
|
|
%defattr(-,root,root) |