/[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.6 - (hide annotations) (download)
Sat Jul 30 17:15:18 2022 UTC (2 years, 4 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-isoqlog-2_2_1-6_el7_sme
Changes since 1.5: +6 -3 lines
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.2.1-6.sme
- Re-build and link to latest devtools [SME: 11997]

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

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