/[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.2 - (hide annotations) (download)
Mon Apr 19 09:24:01 2021 UTC (3 years, 6 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-dl-0_2_3-2_el7_sme
Changes since 1.1: +11 -1 lines
* Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-2.sme
- Initial import to SME10 tree [SME: 11567]
- Add Update event to createlinks

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

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