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

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

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


Revision 1.6 - (hide annotations) (download)
Fri Dec 3 16:02:46 2021 UTC (2 years, 11 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-dl-0_2_3-6_el7_sme
Changes since 1.5: +7 -1 lines
* Fri Dec 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2.3-6.sme
- Fix clamd path
- Fix typo

1 brianr 1.4 %define phpversion 74
2 jpp 1.1
3     Summary: sme server integration of dl
4     Name: smeserver-dl
5     Version: 0.2.3
6 jcrisp 1.6 Release: 6%{?dist}
7 jpp 1.1 Epoch: 9
8     License: GNU GPL version 2
9     URL: http://www.thregr.org/~wavexx/software/dl/
10     Group: SMEserver/addon
11     Source: %{name}-%{version}.tar.gz
12 brianr 1.2 Patch0: smeserver-dl-0.2.3-Add-Update-event-to-createlinks.patch
13 brianr 1.3 Patch1: smeserver-dl-0.2.3-Fix-httpd-syntax.patch
14 brianr 1.4 Patch2: smeserver-dl-0.2.3-Fix-up-update-routine.patch
15 brianr 1.5 Patch3: smeserver-dl-0.2.3-Fix-php74-dl-call-in-httpd-fragment.patch
16 jcrisp 1.6 Patch4: smeserver-dl-0.2.3-Fix-clamd-path.patch
17 jpp 1.1
18     BuildArchitectures: noarch
19     BuildRequires: e-smith-devtools
20     BuildRoot: %{_tmppath}/%{name}-%{version}
21     Requires: e-smith-base
22     Requires: dl
23     Requires: smeserver-webapps-common
24    
25     %description
26     smserver integration of dl
27    
28     %changelog
29 jcrisp 1.6 * Fri Dec 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2.3-6.sme
30     - Fix clamd path
31     - Fix typo
32    
33 brianr 1.5 * Wed Nov 03 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-5.sme
34     - php74-dl-call-in-httpd-fragment [SME: 11567]
35    
36 brianr 1.4 * Tue Sep 28 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-4.sme
37     - fix up update routine to create sql db on install [SME: 11567]
38     - Update php to 74
39    
40 brianr 1.3 * Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-3.sme
41     - Fix httpd syntax and expand it intially [SME: 11567]
42    
43 brianr 1.2 * Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-2.sme
44     - Initial import to SME10 tree [SME: 11567]
45     - Add Update event to createlinks
46    
47     * Mon Apr 19 2021 BogusDateBot
48     - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
49     by assuming the date is correct and changing the weekday.
50    
51 jpp 1.1 * Sun Jan 21 2018 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1
52     - Use alt php binary when expiring tickets [SME: 10495] (daniel@firewall-
53     services.com)
54    
55     * Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
56     - Prepare spec file for tito (daniel@firewall-services.com)
57    
58     * Wed Jul 26 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1.sme
59     - Add /var/lib/php/dl to open_basedir for the fpm pool
60     - Assume MB if no unit is specified for max file size
61     - Remove hardcoded PHP version, replaced at build time
62    
63     * Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
64     - Support smeserver-php-fpm
65    
66     * Tue May 31 2016 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1.sme
67     - Fix cron job output [SME: 9116]
68    
69     * Wed Apr 23 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1.3-1.sme
70     - Fix basic auth on SME9
71    
72     * Tue Feb 4 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1.sme
73     - Grant admin privileges to the admin user
74    
75     * Sun Nov 24 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.1-1.sme
76     - Automatically upgrade the database
77    
78     * Fri Nov 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1.sme
79     - First release
80    
81     %prep
82     %setup -q
83 brianr 1.2 %patch0 -p1
84 brianr 1.3 %patch1 -p1
85 brianr 1.4 %patch2 -p1
86 brianr 1.5 %patch3 -p1
87 jcrisp 1.6 %patch4 -p1
88 jpp 1.1
89     %build
90     perl ./createlinks
91     find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g"
92     %{__mkdir_p} root/var/log/php/dl
93     %{__mkdir_p} root/var/lib/php/dl/{tmp,opcache,session}
94    
95     %install
96     rm -rf $RPM_BUILD_ROOT
97     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
98     rm -f %{name}-%{version}-filelist
99     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
100     --dir /var/log/php/dl 'attr(0770,root,www)' \
101     --dir /var/lib/php/dl 'attr(0770,root,www)' \
102     --dir /var/lib/php/dl/tmp 'attr(0770,root,www)' \
103     --dir /var/lib/php/dl/opcache 'attr(0770,root,www)' \
104     --dir /var/lib/php/dl/session 'attr(0770,root,www)' \
105     > %{name}-%{version}-filelist
106    
107     %files -f %{name}-%{version}-filelist
108     %defattr(-,root,root)
109    
110     %clean
111     rm -rf $RPM_BUILD_ROOT
112    
113     %postun

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