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

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

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


Revision 1.4 - (show annotations) (download)
Fri Oct 1 08:57:37 2021 UTC (3 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-dl-0_2_3-4_el7_sme
Changes since 1.3: +8 -2 lines
* Tue Sep 28 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-4.sme
- fix up update routine to create sql db on install [SME: 11567]
- Update php to 74

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

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