/[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.1 by jpp, Tue Jun 1 15:47:06 2021 UTC Revision 1.7 by jpp, Tue Jun 1 18:01:48 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-phpldapadmin.spec,v 1.1 2015/08/22 20:13:33 stephdl Exp $  # $Id: smeserver-phpldapadmin.spec,v 1.6 2021/06/01 17:42:02 jpp Exp $
2  # Authority: nocvs  # Authority: nocvs
3  # Name: Michel Van hees  # Name: Michel Van hees
4    %define phpversion %{nil}
5    
6  Summary: PhpLdapAdmin for SME server  Summary: PhpLdapAdmin for SME server
7  %define name smeserver-phpldapadmin  %define name smeserver-phpldapadmin
8  Name: %{name}  Name: %{name}
9  %define version 1.5.0  %define version 1.5.0
10  %define release 2  %define release 3
11  Version: %{version}  Version: %{version}
12  Release: %{release}%{?dist}  Release: %{release}%{?dist}
13  License: Freely distributable  License: Freely distributable
14  Group: Apache  Group: Apache
15  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
16  #{name}-%{version}.patch.yyyymmddnn  #{name}-%{version}.patch.yyyymmddnn
17    Patch0: smeserver-phpldapadmin-1.5.0-bz11611.patch
18  BuildRoot: /var/tmp/e-smith-buildroot  BuildRoot: /var/tmp/e-smith-buildroot
19  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
20  BuildArchitectures: noarch  BuildArchitectures: noarch
21  Requires: smeserver-release >= 9  Requires: smeserver-release >= 10
22  Requires: phpldapadmin >= 1.2.3  Requires: phpldapadmin >= 1.2.5
23    Requires: php74-php-pecl-mcrypt
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
28    - Initial release to contribs10 [SME: 11611]
29    
30  * 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
31  - Initial release to contribs9  - Initial release to contribs9
32    
# Line 51  SME server - phpmyadmin multiuser for sm Line 57  SME server - phpmyadmin multiuser for sm
57    
58  %prep  %prep
59  %setup  %setup
60    %patch0 -p1
61    mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache}
62    mkdir -p root/var/log/php/phpldapadmin
63    
64  %build  %build
65    find . -type f | xargs grep -l ____PHPVERSION____ | xargs sed -i -e 's/____PHPVERSION____/%{phpversion}/g'
66  perl createlinks  perl createlinks
67    
68  %install  %install
69  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
70  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
71  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
72  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
73        --dir /var/lib/php/phpldapadmin/ 'attr(0755,root,www)' \
74        --dir /var/lib/php/phpldapadmin/tmp 'attr(0770,www,www)' \
75        --dir /var/lib/php/phpldapadmin/opcache 'attr(0770,www,www)' \
76        --dir /var/lib/php/phpldapadmin/session 'attr(0770,www,www)' \
77        --dir /var/lib/php/phpldapadmin/wsdlcache 'attr(0770,www,www)' \
78        --dir /var/log/php/phpldapadmin  'attr(0770,root,www)' \
79            > %{name}-%{version}-filelist
80  echo "%doc COPYING"          >> %{name}-%{version}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-filelist
81    
82  %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