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

Diff of /rpms/smeserver-phpldapadmin/contribs10/smeserver-phpldapadmin.spec

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

Revision 1.4 by jpp, Tue Jun 1 17:17:40 2021 UTC Revision 1.12 by brianr, Tue Oct 5 18:26:01 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-phpldapadmin.spec,v 1.3 2021/06/01 17:15:32 jpp Exp $  # $Id: smeserver-phpldapadmin.spec,v 1.11 2021/10/04 13:49:59 brianr Exp $
2  # Authority: nocvs  # Authority: nocvs
3  # Name: Michel Van hees  # Name: Michel Van hees
4    
5  Summary: PhpLdapAdmin for SME server  Summary: PhpLdapAdmin for SME server
6  %define name smeserver-phpldapadmin  %define name smeserver-phpldapadmin
7  Name: %{name}  Name: %{name}
8  %define version 1.5.0  %define version 1.6.0
9  %define release 3  %define release 4
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: Freely distributable  License: Freely distributable
13  Group: Apache  Group: Apache
14  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
15  #{name}-%{version}.patch.yyyymmddnn  #{name}-%{version}.patch.yyyymmddnn
 Patch0: smeserver-phpldapadmin-1.5.0-bz11611.patch  
16  BuildRoot: /var/tmp/e-smith-buildroot  BuildRoot: /var/tmp/e-smith-buildroot
17  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
18  BuildArchitectures: noarch  BuildArchitectures: noarch
19  Requires: smeserver-release >= 10  Requires: smeserver-release >= 10
20  Requires: phpldapadmin >= 1.2.5  Requires: phpldapadmin >= 1.2.6
21  Requires: php74-php-pecl-mcrypt  Patch0:smeserver-phpldapadmin-1.6.0-Add-in-update-event-and-php-fpm-stuff.patch
22    Patch1:smeserver-phpldapadmin-1.6.0-password-hash-renamed-in-config.patch
23    Patch2:smeserver-phpldapadmin-1.6.0-Alter-config-auth-type.patch
24  AutoReqProv: no  AutoReqProv: no
25    
26  %changelog  %changelog
27  * Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-3.sme  * Tue Oct 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.6.0-4.sme
28  - Initial release to contribs10 [SME: 11611]  - Alter auth-type config parameter to cookie from http [SME: 11699]
29    
30    * Mon Oct 04 2021 Brian Read <brianr@bjsystems.co.uk> 1.6.0-3.sme
31    - Update config to change password_hash to pla_ [SME: 11699 ]
32    
33    * Mon Oct 04 2021 BogusDateBot
34    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
35      by assuming the date is correct and changing the weekday.
36    
37    * Mon Oct 04 2021 Brian Read <brianr@bjsystems.co.uk> 1.6.0-2.sme
38    - change php to fpm and add -update event to createlinks [SME: 11699]
39    
40    * Tue Sep 28 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-1.sme
41    - Initial release to contribs10 [SME: 11699]
42    
43  * Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme  * Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme
44  - Initial release to contribs9  - Initial release to contribs9
# Line 52  AutoReqProv: no Line 66  AutoReqProv: no
66  - Use of phpldapadmin 0.9.8.3  - Use of phpldapadmin 0.9.8.3
67    
68  %description  %description
69  SME server - phpmyadmin multiuser for smeserver  SME server - phpldapadmin for smeserver
70    
71  %prep  %prep
72  %setup  %setup
73  %patch0 -p1  %patch0 -p1
74  mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache}  %patch1 -p1
75  mkdir -p root/var/log/php/phpldapadmin  %patch2 -p1
76    
77  %build  %build
78  perl createlinks  perl createlinks
# Line 67  perl createlinks Line 81  perl createlinks
81  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
82  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
83  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
84  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
     --dir /var/lib/php/phpldapadmin/ 'attr(0755,root,www)' \  
     --dir /var/lib/php/phpldapadmin/tmp 'attr(0770,www,www)' \  
     --dir /var/lib/php/phpldapadmin/opcache 'attr(0770,www,www)' \  
     --dir /var/lib/php/phpldapadmin/session 'attr(0770,www,www)' \  
     --dir /var/lib/php/phpldapadmin/wsdlcache 'attr(0770,www,www)' \  
     --dir /var/log/php/phpldapadmin  'attr(0770,root,www)' \  
         > %{name}-%{version}-filelist  
85  echo "%doc COPYING"          >> %{name}-%{version}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-filelist
86    
87  %clean  %clean


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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