1 |
# $Id: e-smith-LPRng.spec,v 1.2 2016/05/12 21:07:16 vip-ire Exp $ |
# $Id: e-smith-LPRng.spec,v 1.7 2021/02/13 04:46:05 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - LPRng module |
Summary: e-smith server and gateway - LPRng module |
4 |
%define name e-smith-LPRng |
%define name e-smith-LPRng |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 3 |
%define release 8 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: %{name}-%{version}-bz11006_systemd.patch |
Patch0: %{name}-%{version}-bz11006_systemd.patch |
14 |
|
Patch1: %{name}-%{version}-bz11006_systemd_bis.patch |
15 |
|
Patch2: %{name}-%{version}-remove_lpd_link_.patch |
16 |
|
Patch3: %{name}-%{version}-bz11006_LPRng_preset-bz11245_runit_required.patch |
17 |
|
Patch4: e-smith-LPRng-2.6.0-bz12106-untainting.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
Requires: e-smith-base, LPRng |
Requires: e-smith-base, LPRng |
20 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
29 |
Add printing features, using the LPRng package. |
Add printing features, using the LPRng package. |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Sun Jul 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
33 |
|
- untainting port cleanly [SME: 12106] |
34 |
|
|
35 |
|
* Fri Feb 12 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
36 |
|
- remove /usr/lib/systemd/system-preset/80-koozali-LPRng.preset [SME: 10958] |
37 |
|
|
38 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme |
39 |
|
- Add 'Requires:runit.service' [SME: 11245] |
40 |
|
- Add a fragment for lpd in 49-koozali.preset [SME: 11006] |
41 |
|
|
42 |
|
* Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme |
43 |
|
- Remove init.d/supervise/lpd link [SME: 11006] |
44 |
|
|
45 |
|
* Wed Nov 11 2020 Michel Begue <mab974@gmail.com> 2.6.0-4.sme |
46 |
|
- keep runit service for systemd [SME: 11006] |
47 |
|
- fix update event name [SME: 11007] |
48 |
|
|
49 |
* Sat Sep 05 2020 Michel Begue <mab974@gmail.com> 2.6.0-3.sme |
* Sat Sep 05 2020 Michel Begue <mab974@gmail.com> 2.6.0-3.sme |
50 |
- from service to systemd [SME: 11006] |
- from service to systemd [SME: 11006] |
51 |
- add lpd-update event [SME: 11007] |
- add lpd-update event [SME: 11007] |
520 |
merged configuration/services hash to esmith::cgi |
merged configuration/services hash to esmith::cgi |
521 |
functions. |
functions. |
522 |
|
|
523 |
* Thu Oct 06 2000 Tony Clayton <tonyc@e-smith.com> |
* Fri Oct 06 2000 Tony Clayton <tonyc@e-smith.com> |
524 |
- Fixed require dependency (was e-smith-lib >= 1.0-21) |
- Fixed require dependency (was e-smith-lib >= 1.0-21) |
525 |
|
|
526 |
* Fri Oct 06 2000 Adrian Chung <adrian.chung@e-smith.com> |
* Fri Oct 06 2000 Adrian Chung <adrian.chung@e-smith.com> |
528 |
for now in e-smith-base. |
for now in e-smith-base. |
529 |
- Added require dependency for e-smith-lib. |
- Added require dependency for e-smith-lib. |
530 |
|
|
531 |
* Tue Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com> |
* Wed Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com> |
532 |
- Changed restart action to use serviceControl(restart). |
- Changed restart action to use serviceControl(restart). |
533 |
|
|
534 |
* Tue Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com> |
* Wed Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com> |
535 |
- Changed so that templates are only expanded if service is enabled. |
- Changed so that templates are only expanded if service is enabled. |
536 |
|
|
537 |
* Tue Oct 03 2000 Charlie Brady <charlieb@e-smith.com> |
* Tue Oct 03 2000 Charlie Brady <charlieb@e-smith.com> |
571 |
%prep |
%prep |
572 |
%setup |
%setup |
573 |
%patch0 -p1 |
%patch0 -p1 |
574 |
|
%patch1 -p1 |
575 |
|
%patch2 -p1 |
576 |
|
%patch3 -p1 |
577 |
|
%patch4 -p1 |
578 |
|
|
579 |
%build |
%build |
580 |
perl createlinks |
perl createlinks |
582 |
|
|
583 |
%install |
%install |
584 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
585 |
(cd root ; find . -depth -print | egrep -v "var\/service" | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
586 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
587 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
588 |
|
--file /var/service/lpd/run 'attr(0755,root,root)' \ |
589 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
590 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
591 |
|
|
597 |
|
|
598 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
599 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
%attr(0755,root,root) /usr/lib/systemd/systemd-lpd |
|