/[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.5 - (hide annotations) (download)
Wed Nov 3 12:02:56 2021 UTC (2 years, 7 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-dl-0_2_3-5_el7_sme
Changes since 1.4: +6 -1 lines
* Wed Nov 03 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-5.sme
- php74-dl-call-in-httpd-fragment [SME: 11567]

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

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