/[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.5 by michel, Thu Nov 19 04:55:50 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.4 2020/11/12 17:00:21 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 5
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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17  Requires: e-smith-base, LPRng  Requires: e-smith-base, LPRng
18  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 27  e-smith server and gateway software - LP
27  Add printing features, using the LPRng package.  Add printing features, using the LPRng package.
28    
29  %changelog  %changelog
30    * Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme
31    - Remove init.d/supervise/lpd link [SME: 11006]
32    
33    * Wed Nov 11 2020 Michel Begue <mab974@gmail.com> 2.6.0-4.sme
34    - keep runit service for systemd [SME: 11006]
35    - fix update event name [SME: 11007]
36    
37  * 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
38  - from service to systemd [SME: 11006]  - from service to systemd [SME: 11006]
39  - add lpd-update event [SME: 11007]  - add lpd-update event [SME: 11007]
# Line 499  Add printing features, using the LPRng p Line 508  Add printing features, using the LPRng p
508    merged configuration/services hash to esmith::cgi    merged configuration/services hash to esmith::cgi
509    functions.    functions.
510    
511  * Thu Oct 06 2000 Tony Clayton <tonyc@e-smith.com>  * Fri Oct 06 2000 Tony Clayton <tonyc@e-smith.com>
512  - Fixed require dependency (was e-smith-lib >= 1.0-21)  - Fixed require dependency (was e-smith-lib >= 1.0-21)
513    
514  * 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 516  Add printing features, using the LPRng p
516    for now in e-smith-base.    for now in e-smith-base.
517  - Added require dependency for e-smith-lib.  - Added require dependency for e-smith-lib.
518    
519  * Tue Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com>  * Wed Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com>
520  - Changed restart action to use serviceControl(restart).  - Changed restart action to use serviceControl(restart).
521    
522  * Tue Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com>  * Wed Oct 04 2000 Adrian Chung <adrian.chung@e-smith.com>
523  - Changed so that templates are only expanded if service is enabled.  - Changed so that templates are only expanded if service is enabled.
524    
525  * 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 559  Add printing features, using the LPRng p
559  %prep  %prep
560  %setup  %setup
561  %patch0 -p1  %patch0 -p1
562    %patch1 -p1
563    %patch2 -p1
564    
565  %build  %build
566  perl createlinks  perl createlinks
# Line 557  perl createlinks Line 568  perl createlinks
568    
569  %install  %install
570  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
571  (cd root ; find . -depth -print | egrep -v "var\/service" | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
572  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
573  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
574        --file /var/service/lpd/run 'attr(0755,root,root)' \
575      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
576  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
577    
# Line 571  rm -rf $RPM_BUILD_ROOT Line 583  rm -rf $RPM_BUILD_ROOT
583    
584  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
585  %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