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

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