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