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

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

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


Revision 1.5 - (hide annotations) (download)
Fri Jul 29 06:25:50 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-isoqlog-2_2_1-5_el7_sme
Changes since 1.4: +1 -1 lines
* Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-5.sme
- add to core backup [SME: 12010]
- use httpd 2.4 access syntax [SME: 12049]
- systemd enabled [SME: 11061]
- update event [SME: 11061]
- update httpd.conf needed modules [SME: 11061]

1 brianr 1.1 Summary: Isoqlog on SME
2     %define name smeserver-isoqlog
3     Name: %{name}
4     %define version 2.2.1
5 jpp 1.2 %define release 5
6 brianr 1.1 Version: %{version}
7     Release: %{release}%{?dist}
8     License: GPL
9     Group: Administration
10     Source: %{name}-%{version}.tar.gz
11     Patch0: %{name}-%{version}-webserver.patch
12     Patch1: smeserver-isoqlog-2.2.1-patch1.patch
13     Patch2: smeserver-isoqlog-2.2.1-domcreate.patch
14     Patch3: smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch
15 jpp 1.2 Patch4: smeserver-isoqlog-2.2.1-bz12010-backup.patch
16 jpp 1.3 Patch5: smeserver-isoqlog-2.2.1-bz12049-24syntax.patch
17 jpp 1.4 Patch6: smeserver-isoqlog-2.2.1-systemd.patch
18 jpp 1.2
19 brianr 1.1 Packager: Peter Schubert <psc@@s-a-c-o.de>
20     BuildRoot: /var/tmp/%{name}-%{version}-buildroot
21     BuildArchitectures: noarch
22     Requires: e-smith-release => 7.5
23     Requires: isoqlog => 2.2.1
24     BuildRequires: e-smith-devtools
25    
26     AutoReqProv: no
27    
28     %changelog
29 jpp 1.2 * Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-5.sme
30     - add to core backup [SME: 12010]
31 jpp 1.3 - use httpd 2.4 access syntax [SME: 12049]
32 jpp 1.4 - systemd enabled [SME: 11061]
33     - update event [SME: 11061]
34     - update httpd.conf needed modules [SME: 11061]
35 jpp 1.2
36 brianr 1.1 * Wed Feb 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.1-4.sme
37     - new tkt options [SME: 1509]
38    
39     * Tue Sep 17 2013 JP Pialasse <test@pialasse.com> 2.2.1-3.sme
40     - added expand template to events domain-create [SME: 7713]
41    
42     * Thu Jun 27 2013 JP Pialasse <test@pialasse.com> 2.2.1-2.sme
43     - fix missing domain [SME: 7713]
44     - added expand template to events
45     - patch1
46    
47     * Fri Aug 31 2012 JP Pialasse <test@pialasse.com> 2.2.1-1.5.sme
48     - webserver conf path and file missing fix
49    
50     * Thu Aug 30 2012 JP Pialasse <test@pialasse.com> 2.2.1-1.2.sme
51     - fix BuildRequires
52    
53     * Thu Aug 16 2012 JP Pialasse <test@pialasse.com> 2.2.1-1-1.sme
54     - removing isoqlog files from the rpm
55     - moving to a SME config only
56     - adding dependency to isoqlog binaries rpm
57    
58     * Mon Feb 17 2003 Peter Schubert <psc@s-a-c-o.de>
59     - some fixes in the "post" section of the SPEC
60    
61     * Fri Feb 14 2003 Peter Schubert <psc@s-a-c-o.de>
62     - initial release
63    
64     %description
65     Installs Isoqlog on SME Server.
66    
67     %prep
68    
69     %setup
70     %patch0 -p1
71     %patch1 -p1
72     %patch2 -p1
73     %patch3 -p1
74 jpp 1.2 %patch4 -p1
75 jpp 1.3 %patch5 -p1
76 jpp 1.4 %patch6 -p1
77     rm -rf root/service
78 jpp 1.5 rm -rf root/var/service
79 brianr 1.1
80     %build
81     perl createlinks
82    
83     %install
84     rm -rf $RPM_BUILD_ROOT
85     #(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
86     #rm -f %{name}-%{version}-filelist
87     #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
88     #echo "%doc COPYING" >> %{name}-%{version}-filelist
89    
90     %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session
91    
92    
93     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
94     /bin/rm -f %{name}-%{version}-filelist
95     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
96     --dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \
97     > %{name}-%{version}-filelist
98    
99     %clean
100     rm -rf $RPM_BUILD_ROOT
101    
102     %pre
103     /sbin/e-smith/create-system-user isoqlog 545 'Isoqlog User' /var/lib/qmailtools/isoqlog/htdocs/ /bin/false >& /dev/null || :
104    
105     %preun
106     # Disable services, and stop them
107     if [ $1 = 0 ]; then # Uninstall only, not upgrade
108     db configuration setprop httpd-isoqlog status disabled >& /dev/null || :
109     /sbin/e-smith/signal-event isoqlog-conf
110     sv d /service/httpd-isoqlog
111     fi
112    
113     true
114    
115     %post
116     /usr/bin/isoqlog -f /etc/isoqlog.conf 1>/dev/null 2>/dev/null
117    
118     %postun
119     rm -f /etc/httpd/conf.d/isoqlog.conf
120    
121    
122     %files -f %{name}-%{version}-filelist
123     %defattr(-,root,root)
124    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed