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.6 2020/12/10 09:26:41 michel 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 7 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
Requires: e-smith-base, LPRng |
Requires: e-smith-base, LPRng |
19 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
28 |
Add printing features, using the LPRng package. |
Add printing features, using the LPRng package. |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Fri Feb 12 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
32 |
|
- remove /usr/lib/systemd/system-preset/80-koozali-LPRng.preset [SME: 10958] |
33 |
|
|
34 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme |
35 |
|
- Add 'Requires:runit.service' [SME: 11245] |
36 |
|
- Add a fragment for lpd in 49-koozali.preset [SME: 11006] |
37 |
|
|
38 |
|
* Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme |
39 |
|
- Remove init.d/supervise/lpd link [SME: 11006] |
40 |
|
|
41 |
|
* Wed Nov 11 2020 Michel Begue <mab974@gmail.com> 2.6.0-4.sme |
42 |
|
- keep runit service for systemd [SME: 11006] |
43 |
|
- fix update event name [SME: 11007] |
44 |
|
|
45 |
* 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 |
46 |
- from service to systemd [SME: 11006] |
- from service to systemd [SME: 11006] |
47 |
- add lpd-update event [SME: 11007] |
- add lpd-update event [SME: 11007] |
516 |
merged configuration/services hash to esmith::cgi |
merged configuration/services hash to esmith::cgi |
517 |
functions. |
functions. |
518 |
|
|
519 |
* Thu Oct 06 2000 Tony Clayton <tonyc@e-smith.com> |
* Fri Oct 06 2000 Tony Clayton <tonyc@e-smith.com> |
520 |
- Fixed require dependency (was e-smith-lib >= 1.0-21) |
- Fixed require dependency (was e-smith-lib >= 1.0-21) |
521 |
|
|
522 |
* Fri Oct 06 2000 Adrian Chung <adrian.chung@e-smith.com> |
* Fri Oct 06 2000 Adrian Chung <adrian.chung@e-smith.com> |
524 |
for now in e-smith-base. |
for now in e-smith-base. |
525 |
- Added require dependency for e-smith-lib. |
- Added require dependency for e-smith-lib. |
526 |
|
|
527 |
* Tue Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com> |
* Wed Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com> |
528 |
- Changed restart action to use serviceControl(restart). |
- Changed restart action to use serviceControl(restart). |
529 |
|
|
530 |
* Tue Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com> |
* Wed Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com> |
531 |
- Changed so that templates are only expanded if service is enabled. |
- Changed so that templates are only expanded if service is enabled. |
532 |
|
|
533 |
* Tue Oct 03 2000 Charlie Brady <charlieb@e-smith.com> |
* Tue Oct 03 2000 Charlie Brady <charlieb@e-smith.com> |
567 |
%prep |
%prep |
568 |
%setup |
%setup |
569 |
%patch0 -p1 |
%patch0 -p1 |
570 |
|
%patch1 -p1 |
571 |
|
%patch2 -p1 |
572 |
|
%patch3 -p1 |
573 |
|
|
574 |
%build |
%build |
575 |
perl createlinks |
perl createlinks |
577 |
|
|
578 |
%install |
%install |
579 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
580 |
(cd root ; find . -depth -print | egrep -v "var\/service" | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
581 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
582 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
583 |
|
--file /var/service/lpd/run 'attr(0755,root,root)' \ |
584 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
585 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
586 |
|
|
592 |
|
|
593 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
594 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
%attr(0755,root,root) /usr/lib/systemd/systemd-lpd |
|