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