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