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

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

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


Revision 1.4 - (hide annotations) (download)
Tue Jun 1 17:17:40 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
Changes since 1.3: +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 jpp 1.4 # $Id: smeserver-phpldapadmin.spec,v 1.3 2021/06/01 17:15:32 jpp Exp $
2 jpp 1.1 # 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 jpp 1.2 %define release 3
10 jpp 1.1 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 jpp 1.2 Patch0: smeserver-phpldapadmin-1.5.0-bz11611.patch
17 jpp 1.1 BuildRoot: /var/tmp/e-smith-buildroot
18     BuildRequires: e-smith-devtools
19     BuildArchitectures: noarch
20 jpp 1.2 Requires: smeserver-release >= 10
21     Requires: phpldapadmin >= 1.2.5
22     Requires: php74-php-pecl-mcrypt
23 jpp 1.1 AutoReqProv: no
24    
25     %changelog
26 jpp 1.2 * Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-3.sme
27     - Initial release to contribs10 [SME: 11611]
28    
29 jpp 1.1 * 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 jpp 1.2 %patch0 -p1
60 jpp 1.3 mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache}
61     mkdir -p root/var/log/php/phpldapadmin
62 jpp 1.1
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 jpp 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
71 jpp 1.3 --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 jpp 1.1 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