/[smeserver]/rpms/e-smith-LPRng/sme10/e-smith-LPRng.spec
ViewVC logotype

Diff of /rpms/e-smith-LPRng/sme10/e-smith-LPRng.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by michel, Tue Sep 22 10:04:13 2020 UTC Revision 1.6 by michel, Thu Dec 10 09:26:41 2020 UTC
# Line 1  Line 1 
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.5 2020/11/19 04:55:50 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 6
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
# Line 25  e-smith server and gateway software - LP Line 28  e-smith server and gateway software - LP
28  Add printing features, using the LPRng package.  Add printing features, using the LPRng package.
29    
30  %changelog  %changelog
31    * Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme
32    - Add 'Requires:runit.service' [SME: 11245]
33    - Add a fragment for lpd in 49-koozali.preset [SME: 11006]
34    
35    * Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme
36    - Remove init.d/supervise/lpd link [SME: 11006]
37    
38    * Wed Nov 11 2020 Michel Begue <mab974@gmail.com> 2.6.0-4.sme
39    - keep runit service for systemd [SME: 11006]
40    - fix update event name [SME: 11007]
41    
42  * 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
43  - from service to systemd [SME: 11006]  - from service to systemd [SME: 11006]
44  - add lpd-update event [SME: 11007]  - add lpd-update event [SME: 11007]
# Line 499  Add printing features, using the LPRng p Line 513  Add printing features, using the LPRng p
513    merged configuration/services hash to esmith::cgi    merged configuration/services hash to esmith::cgi
514    functions.    functions.
515    
516  * Thu Oct 06 2000 Tony Clayton <tonyc@e-smith.com>  * Fri Oct 06 2000 Tony Clayton <tonyc@e-smith.com>
517  - Fixed require dependency (was e-smith-lib >= 1.0-21)  - Fixed require dependency (was e-smith-lib >= 1.0-21)
518    
519  * Fri Oct 06 2000 Adrian Chung <adrian.chung@e-smith.com>  * Fri Oct 06 2000 Adrian Chung <adrian.chung@e-smith.com>
# Line 507  Add printing features, using the LPRng p Line 521  Add printing features, using the LPRng p
521    for now in e-smith-base.    for now in e-smith-base.
522  - Added require dependency for e-smith-lib.  - Added require dependency for e-smith-lib.
523    
524  * Tue Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com>  * Wed Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com>
525  - Changed restart action to use serviceControl(restart).  - Changed restart action to use serviceControl(restart).
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 so that templates are only expanded if service is enabled.  - Changed so that templates are only expanded if service is enabled.
529    
530  * Tue Oct 03 2000 Charlie Brady <charlieb@e-smith.com>  * Tue Oct 03 2000 Charlie Brady <charlieb@e-smith.com>
# Line 550  Add printing features, using the LPRng p Line 564  Add printing features, using the LPRng p
564  %prep  %prep
565  %setup  %setup
566  %patch0 -p1  %patch0 -p1
567    %patch1 -p1
568    %patch2 -p1
569    %patch3 -p1
570    
571  %build  %build
572  perl createlinks  perl createlinks
# Line 557  perl createlinks Line 574  perl createlinks
574    
575  %install  %install
576  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
577  (cd root ; find . -depth -print | egrep -v "var\/service" | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
578  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
579  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
580        --file /var/service/lpd/run 'attr(0755,root,root)' \
581      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
582  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
583    
# Line 571  rm -rf $RPM_BUILD_ROOT Line 589  rm -rf $RPM_BUILD_ROOT
589    
590  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
591  %defattr(-,root,root)  %defattr(-,root,root)
 %attr(0755,root,root) /usr/lib/systemd/systemd-lpd  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed