/[smecontribs]/rpms/smeserver-isoqlog/contribs10/smeserver-isoqlog.spec
ViewVC logotype

Diff of /rpms/smeserver-isoqlog/contribs10/smeserver-isoqlog.spec

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

Revision 1.3 by jpp, Fri Jul 29 05:44:21 2022 UTC Revision 1.7 by jpp, Mon Aug 1 02:49:45 2022 UTC
# Line 2  Summary: Isoqlog on SME Line 2  Summary: Isoqlog on SME
2  %define name smeserver-isoqlog  %define name smeserver-isoqlog
3  Name: %{name}  Name: %{name}
4  %define version 2.2.1  %define version 2.2.1
5  %define release 5  %define release 7
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
# Line 14  Patch2: smeserver-isoqlog-2.2.1-domcreat Line 14  Patch2: smeserver-isoqlog-2.2.1-domcreat
14  Patch3: smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch  Patch3: smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch
15  Patch4: smeserver-isoqlog-2.2.1-bz12010-backup.patch  Patch4: smeserver-isoqlog-2.2.1-bz12010-backup.patch
16  Patch5: smeserver-isoqlog-2.2.1-bz12049-24syntax.patch  Patch5: smeserver-isoqlog-2.2.1-bz12049-24syntax.patch
17    Patch6: smeserver-isoqlog-2.2.1-systemd.patch
18    
19  Packager: Peter Schubert <psc@@s-a-c-o.de>  Packager: Peter Schubert <psc@@s-a-c-o.de>
20  BuildRoot: /var/tmp/%{name}-%{version}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-buildroot
21  BuildArchitectures: noarch  BuildArchitectures: noarch
22  Requires: e-smith-release => 7.5  Requires: e-smith-release => 10.0
23    Requires: e-smith-apache >= 2.6.0-19
24  Requires: isoqlog => 2.2.1  Requires: isoqlog => 2.2.1
25  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
26    
27  AutoReqProv: no  AutoReqProv: no
28    
29  %changelog  %changelog
30    * Sun Jul 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-7.sme
31    - use httpd 2.4 access syntax [SME: 12049]
32      add Requires e-smith-apache >= 2.6.0-19
33    
34    * Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.2.1-6.sme
35    - Re-build and link to latest devtools [SME: 11997]
36    
37  * Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-5.sme  * Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-5.sme
38  - add to core backup [SME: 12010]  - add to core backup [SME: 12010]
39  - use httpd 2.4 access syntax [SME: 12049]  - use httpd 2.4 access syntax [SME: 12049]
40    - systemd enabled [SME: 11061]
41    - update event [SME: 11061]
42    - update httpd.conf needed modules [SME: 11061]
43    
44  * Wed Feb 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.1-4.sme  * Wed Feb 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.1-4.sme
45  - new tkt options [SME: 1509]  - new tkt options [SME: 1509]
# Line 36  AutoReqProv: no Line 48  AutoReqProv: no
48  - added  expand template to events domain-create  [SME: 7713]  - added  expand template to events domain-create  [SME: 7713]
49    
50  * Thu Jun 27 2013 JP Pialasse <test@pialasse.com> 2.2.1-2.sme  * Thu Jun 27 2013 JP Pialasse <test@pialasse.com> 2.2.1-2.sme
51  - fix missing domain [SME: 7713]  - Re-build and link to latest devtools missing domain [SME: 7713]
52  - added expand template to events  - added expand template to events
53  - patch1  - patch1
54    
# Line 44  AutoReqProv: no Line 56  AutoReqProv: no
56  - webserver conf path and file missing fix  - webserver conf path and file missing fix
57    
58  * Thu Aug 30 2012 JP Pialasse <test@pialasse.com> 2.2.1-1.2.sme  * Thu Aug 30 2012 JP Pialasse <test@pialasse.com> 2.2.1-1.2.sme
59  - fix BuildRequires  - Re-build and link to latest devtools BuildRequires
60    
61  * Thu Aug 16 2012 JP Pialasse <test@pialasse.com> 2.2.1-1-1.sme  * Thu Aug 16 2012 JP Pialasse <test@pialasse.com> 2.2.1-1-1.sme
62  - removing isoqlog files from the rpm  - removing isoqlog files from the rpm
# Line 69  Installs Isoqlog on SME Server. Line 81  Installs Isoqlog on SME Server.
81  %patch3 -p1  %patch3 -p1
82  %patch4 -p1  %patch4 -p1
83  %patch5 -p1  %patch5 -p1
84    %patch6 -p1
85    rm -rf root/service
86    rm -rf root/var/service
87    
88  %build  %build
89  perl createlinks  perl createlinks
# Line 80  rm -rf $RPM_BUILD_ROOT Line 95  rm -rf $RPM_BUILD_ROOT
95  #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
96  #echo "%doc COPYING"          >> %{name}-%{version}-filelist  #echo "%doc COPYING"          >> %{name}-%{version}-filelist
97    
 %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-isoqlog/supervise  
 %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-isoqlog/log/supervise  
 %{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-isoqlog  
98  %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session  %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session
99    
100    
101  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
102  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
103  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
         --dir /var/service/httpd-isoqlog 'attr(01755,root,root)' \  
         --file /var/service/httpd-isoqlog/run 'attr(0700,root,root)' \  
         --dir /var/service/httpd-isoqlog/supervise 'attr(0700,root,root)' \  
         --dir /var/service/httpd-isoqlog/log 'attr(0755,root,root)' \  
         --file /var/service/httpd-isoqlog/log/run 'attr(0755,root,root)' \  
         --dir /var/service/httpd-isoqlog/log/supervise 'attr(0700,root,root)' \  
         --dir /var/log/httpd-isoqlog 'attr(0750,smelog,smelog)' \  
104          --dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \          --dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \
105          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
106    
# Line 116  fi Line 121  fi
121  true  true
122    
123  %post  %post
 /sbin/e-smith/signal-event isoqlog-conf  
124  /usr/bin/isoqlog -f /etc/isoqlog.conf 1>/dev/null 2>/dev/null  /usr/bin/isoqlog -f /etc/isoqlog.conf 1>/dev/null 2>/dev/null
125    
126  %postun  %postun
127  rm -f /etc/httpd/conf.d/isoqlog.conf  rm -f /etc/httpd/conf.d/isoqlog.conf
 /etc/rc.d/init.d/httpd-e-smith restart  
128    
129    
130  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist


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