/[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.2 by jpp, Fri Jul 29 05:38:25 2022 UTC Revision 1.6 by brianr, Sat Jul 30 17:15:18 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 6
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
# Line 13  Patch1: smeserver-isoqlog-2.2.1-patch1.p Line 13  Patch1: smeserver-isoqlog-2.2.1-patch1.p
13  Patch2: smeserver-isoqlog-2.2.1-domcreate.patch  Patch2: smeserver-isoqlog-2.2.1-domcreate.patch
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
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
# Line 24  BuildRequires: e-smith-devtools Line 26  BuildRequires: e-smith-devtools
26  AutoReqProv: no  AutoReqProv: no
27    
28  %changelog  %changelog
29    * Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.2.1-6.sme
30    - Re-build and link to latest devtools [SME: 11997]
31    
32  * 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
33  - add to core backup [SME: 12010]  - add to core backup [SME: 12010]
34    - use httpd 2.4 access syntax [SME: 12049]
35    - systemd enabled [SME: 11061]
36    - update event [SME: 11061]
37    - update httpd.conf needed modules [SME: 11061]
38    
39  * 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
40  - new tkt options [SME: 1509]  - new tkt options [SME: 1509]
# Line 34  AutoReqProv: no Line 43  AutoReqProv: no
43  - added  expand template to events domain-create  [SME: 7713]  - added  expand template to events domain-create  [SME: 7713]
44    
45  * 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
46  - fix missing domain [SME: 7713]  - Re-build and link to latest devtools missing domain [SME: 7713]
47  - added expand template to events  - added expand template to events
48  - patch1  - patch1
49    
# Line 42  AutoReqProv: no Line 51  AutoReqProv: no
51  - webserver conf path and file missing fix  - webserver conf path and file missing fix
52    
53  * 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
54  - fix BuildRequires  - Re-build and link to latest devtools BuildRequires
55    
56  * 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
57  - removing isoqlog files from the rpm  - removing isoqlog files from the rpm
# Line 66  Installs Isoqlog on SME Server. Line 75  Installs Isoqlog on SME Server.
75  %patch2 -p1  %patch2 -p1
76  %patch3 -p1  %patch3 -p1
77  %patch4 -p1  %patch4 -p1
78    %patch5 -p1
79    %patch6 -p1
80    rm -rf root/service
81    rm -rf root/var/service
82    
83  %build  %build
84  perl createlinks  perl createlinks
# Line 77  rm -rf $RPM_BUILD_ROOT Line 90  rm -rf $RPM_BUILD_ROOT
90  #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
91  #echo "%doc COPYING"          >> %{name}-%{version}-filelist  #echo "%doc COPYING"          >> %{name}-%{version}-filelist
92    
 %{__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  
93  %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session  %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session
94    
95    
96  (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)
97  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
98  /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)' \  
99          --dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \          --dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \
100          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
101    
# Line 113  fi Line 116  fi
116  true  true
117    
118  %post  %post
 /sbin/e-smith/signal-event isoqlog-conf  
119  /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
120    
121  %postun  %postun
122  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  
123    
124    
125  %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