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

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

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

Revision 1.4 by vip-ire, Sun Feb 7 10:54:50 2016 UTC Revision 1.5 by unnilennium, Wed Mar 23 12:58:14 2016 UTC
# Line 1  Line 1 
1  # $Id: e-smith-apache.spec,v 1.1 2016/02/04 18:31:20 vip-ire Exp $  # $Id: e-smith-apache.spec,v 1.4 2016/02/07 10:54:50 vip-ire Exp $
2    
3  Summary: e-smith server and gateway - apache module  Summary: e-smith server and gateway - apache module
4  %define name e-smith-apache  %define name e-smith-apache
5  Name: %{name}  Name: %{name}
6  %define version 2.6.0  %define version 2.6.0
7  %define release 1  %define release 2
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: e-smith-apache-2.6.0-httpd24.patch
14  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15  BuildArchitectures: noarch  BuildArchitectures: noarch
16  Requires: e-smith-base >= 4.15.1  Requires: e-smith-base >= 4.15.1
# Line 28  BuildRequires: e-smith-devtools >= 1.11. Line 29  BuildRequires: e-smith-devtools >= 1.11.
29  %description  %description
30  e-smith server and gateway software - apache module.  e-smith server and gateway software - apache module.
31    
32    %prep
33    %setup
34    %patch0 -p1
35    
36    %build
37    perl createlinks
38    
39    %install
40    rm -rf $RPM_BUILD_ROOT
41    (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
42    
43    /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
44        --dir /var/service/httpd-e-smith 'attr(01755,root,root)' \
45        --file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \
46        --file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \
47        > e-smith-%{version}-filelist
48    
49    echo "%doc COPYING"          >> e-smith-%{version}-filelist
50    
51    %clean
52    rm -rf $RPM_BUILD_ROOT
53    
54    %files -f e-smith-%{version}-filelist
55    %defattr(-,root,root)
56    
57    
58  %changelog  %changelog
59    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
60    - fix syntax preventing httpd to launch [SME: 9364]
61    - moved changelog at end of file
62    
63  * Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme  * Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme
64  - Roll new stream for sme10  - Roll new stream for sme10
65    
# Line 595  e-smith server and gateway software - ap Line 626  e-smith server and gateway software - ap
626  - [0.1.0-01]  - [0.1.0-01]
627  - Initial release, split out from e-smith-base [markk 6428]  - Initial release, split out from e-smith-base [markk 6428]
628    
 %prep  
 %setup  
   
 %build  
 perl createlinks  
   
 %install  
 rm -rf $RPM_BUILD_ROOT  
 (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  
   
 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  
     --dir /var/service/httpd-e-smith 'attr(01755,root,root)' \  
     --file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \  
     --file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \  
     > e-smith-%{version}-filelist  
   
 echo "%doc COPYING"          >> e-smith-%{version}-filelist  
   
 %clean  
 rm -rf $RPM_BUILD_ROOT  
   
 %files -f e-smith-%{version}-filelist  
 %defattr(-,root,root)  


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