/[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.3 - (show annotations) (download)
Tue Jun 1 17:15:32 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
Changes since 1.2: +11 -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.2 2021/06/01 16:56:53 jpp Exp $
2 # Authority: nocvs
3 # Name: Michel Van hees
4
5 Summary: PhpLdapAdmin for SME server
6 %define name smeserver-phpldapadmin
7 Name: %{name}
8 %define version 1.5.0
9 %define release 3
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: Freely distributable
13 Group: Apache
14 Source: %{name}-%{version}.tar.gz
15 #{name}-%{version}.patch.yyyymmddnn
16 Patch0: smeserver-phpldapadmin-1.5.0-bz11611.patch
17 BuildRoot: /var/tmp/e-smith-buildroot
18 BuildRequires: e-smith-devtools
19 BuildArchitectures: noarch
20 Requires: smeserver-release >= 10
21 Requires: phpldapadmin >= 1.2.5
22 Requires: php74-php-pecl-mcrypt
23 AutoReqProv: no
24
25 %changelog
26 * Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-3.sme
27 - Initial release to contribs10 [SME: 11611]
28
29 * Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme
30 - Initial release to contribs9
31
32 * Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-1.sme
33 - Initial release to sme9
34
35 * Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 1.2.3-6.sme
36 - fix bug [SME: 5762]
37 - default admin read only but kamikaze mod for root modify access.
38
39 * Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 1.2.3-4.sme
40 - wrong template path for config file [SME: 7975]
41 - patching also incorrect template.
42 - error binding to server swith to http auth to prevent
43
44 * Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.2.3-1.sme
45 - remove phpldapadmin from package
46 - added Requires phpldapadmin-1.2.3-1
47 - clean spec file
48 - added default db value (patch file)
49
50 * Thu Jun 26 2007 Michel Van hees <michel@vanhees.cc>
51 - Restart contrib from scratch
52 - Use of phpldapadmin 0.9.8.3
53
54 %description
55 SME server - phpmyadmin multiuser for smeserver
56
57 %prep
58 %setup
59 %patch0 -p1
60 mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache}
61 mkdir -p root/var/log/php/phpldapadmin
62
63 %build
64 perl createlinks
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
69 rm -f %{name}-%{version}-filelist
70 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT /
71 --dir /var/lib/php/phpldapadmin/ 'attr(0755,root,www)' \
72 --dir /var/lib/php/phpldapadmin/tmp 'attr(0770,www,www)' \
73 --dir /var/lib/php/phpldapadmin/opcache 'attr(0770,www,www)' \
74 --dir /var/lib/php/phpldapadmin/session 'attr(0770,www,www)' \
75 --dir /var/lib/php/phpldapadmin/wsdlcache 'attr(0770,www,www)' \
76 --dir /var/log/php/phpldapadmin 'attr(0770,root,www)' \
77 > %{name}-%{version}-filelist
78 echo "%doc COPYING" >> %{name}-%{version}-filelist
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %pre
84
85 %preun
86
87 %post
88
89 %postun
90
91 %files -f %{name}-%{version}-filelist
92 %defattr(-,root,root)

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