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

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

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


Revision 1.6 - (show annotations) (download)
Tue Jun 1 17:42:02 2021 UTC (3 years, 6 months ago) by jpp
Branch: MAIN
Changes since 1.5: +2 -2 lines
* Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-3.sme
- Initial release to contribs10 [SME: 11611]

1 # $Id: smeserver-phpldapadmin.spec,v 1.5 2021/06/01 17:29:33 jpp Exp $
2 # Authority: nocvs
3 # Name: Michel Van hees
4 %define phpversion %{nil}
5
6 Summary: PhpLdapAdmin for SME server
7 %define name smeserver-phpldapadmin
8 Name: %{name}
9 %define version 1.5.0
10 %define release 3
11 Version: %{version}
12 Release: %{release}%{?dist}
13 License: Freely distributable
14 Group: Apache
15 Source: %{name}-%{version}.tar.gz
16 #{name}-%{version}.patch.yyyymmddnn
17 Patch0: smeserver-phpldapadmin-1.5.0-bz11611.patch
18 BuildRoot: /var/tmp/e-smith-buildroot
19 BuildRequires: e-smith-devtools
20 BuildArchitectures: noarch
21 Requires: smeserver-release >= 10
22 Requires: phpldapadmin >= 1.2.5
23 Requires: php74-php-pecl-mcrypt
24 AutoReqProv: no
25
26 %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
31 - Initial release to contribs9
32
33 * Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-1.sme
34 - Initial release to sme9
35
36 * Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 1.2.3-6.sme
37 - fix bug [SME: 5762]
38 - default admin read only but kamikaze mod for root modify access.
39
40 * Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 1.2.3-4.sme
41 - wrong template path for config file [SME: 7975]
42 - patching also incorrect template.
43 - error binding to server swith to http auth to prevent
44
45 * Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.2.3-1.sme
46 - remove phpldapadmin from package
47 - added Requires phpldapadmin-1.2.3-1
48 - clean spec file
49 - added default db value (patch file)
50
51 * Thu Jun 26 2007 Michel Van hees <michel@vanhees.cc>
52 - Restart contrib from scratch
53 - Use of phpldapadmin 0.9.8.3
54
55 %description
56 SME server - phpmyadmin multiuser for smeserver
57
58 %prep
59 %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 find . -type f | xargs grep -l ____PHPVERSION____ | xargs sed -i -e 's/____PHPVERSION____/%{phpversion}/g'
65 %build
66 perl createlinks
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
71 rm -f %{name}-%{version}-filelist
72 /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
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %pre
86
87 %preun
88
89 %post
90
91 %postun
92
93 %files -f %{name}-%{version}-filelist
94 %defattr(-,root,root)

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