1 |
# $Id: e-smith-LPRng.spec,v 1.1 2013/02/13 15:43:24 slords Exp $ |
# $Id: e-smith-LPRng.spec,v 1.2 2016/05/12 21:07:16 vip-ire 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 1 |
%define release 3 |
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 |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
Requires: e-smith-base, LPRng |
Requires: e-smith-base, LPRng |
16 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
17 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
BuildRequires: grep |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
25 |
Add printing features, using the LPRng package. |
Add printing features, using the LPRng package. |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Sat Sep 05 2020 Michel Begue <mab974@gmail.com> 2.6.0-3.sme |
29 |
|
- from service to systemd [SME: 11006] |
30 |
|
- add lpd-update event [SME: 11007] |
31 |
|
|
32 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
33 |
|
- Rebuild for [SME: 9393] |
34 |
|
|
35 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
36 |
- Initial release to sme10 |
- Initial release to sme10 |
37 |
|
|
549 |
|
|
550 |
%prep |
%prep |
551 |
%setup |
%setup |
552 |
|
%patch0 -p1 |
553 |
|
|
554 |
%build |
%build |
555 |
perl createlinks |
perl createlinks |
557 |
|
|
558 |
%install |
%install |
559 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
560 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | egrep -v "var\/service" | cpio -dump $RPM_BUILD_ROOT) |
561 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
562 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
--file /var/service/lpd/run 'attr(0755,root,root)' \ |
|
563 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
564 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
565 |
|
|
571 |
|
|
572 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
573 |
%defattr(-,root,root) |
%defattr(-,root,root) |
574 |
|
%attr(0755,root,root) /usr/lib/systemd/systemd-lpd |