SPECS: phpldapadmin.spec - updated to 0.9.8.2 - rel 0.1, works, ne...

mwinkler mwinkler at pld-linux.org
Wed Apr 5 23:01:41 CEST 2006


Author: mwinkler                     Date: Wed Apr  5 21:01:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.9.8.2
- rel 0.1, works, need cosmetics

---- Files affected:
SPECS:
   phpldapadmin.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/phpldapadmin.spec
diff -u SPECS/phpldapadmin.spec:1.23 SPECS/phpldapadmin.spec:1.24
--- SPECS/phpldapadmin.spec:1.23	Wed Apr  5 17:40:35 2006
+++ SPECS/phpldapadmin.spec	Wed Apr  5 23:01:36 2006
@@ -2,16 +2,21 @@
 Summary:	phpldapadmin - a web-based LDAP client
 Summary(pl):	phpldapadmin - klient WWW dla LDAP
 Name:		phpldapadmin
-Version:	0.9.6c
-Release:	0.3
+Version:	0.9.8.2
+Release:	0.1
 License:	GPL
 Group:		Applications/Networking
 Source0:	http://dl.sourceforge.net/phpldapadmin/%{name}-%{version}.tar.gz
-# Source0-md5:	8404fa6f0ad3185cc9353c94bf44ae56
+# Source0-md5:	a83b44d90b14983b01db53ec39053a15
+Patch0:		%{name}-index.patch
+Patch1:		%{name}-lib-functions.patch
+Patch2:		%{name}-common.patch
 URL:		http://phpldapadmin.sourceforge.net/
 BuildRequires:	rpmbuild(macros) >= 1.268
+Requires:	php-gettext
 Requires:	php-ldap
 Requires:	php-pcre
+Requires:	php-xml
 Requires:	webapps
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -44,6 +49,9 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 cat > apache.conf <<'EOF'
 Alias /ldapadmin %{_appdir}
 <Directory %{_appdir}>
@@ -53,22 +61,24 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}/{doc,images,lang/recoded,templates/{creation,modification}}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}/{css,config,doc,images,js,locale,lib,templates/creation}}
+
+cp -a htdocs/js/*				$RPM_BUILD_ROOT%{_appdir}/js
+cp -a locale/*				$RPM_BUILD_ROOT%{_appdir}/locale
 
 install	doc/*				.
 install	doc/*				$RPM_BUILD_ROOT%{_appdir}/doc
-install	images/*.{png,jpg}		$RPM_BUILD_ROOT%{_appdir}/images
-install	lang/*.php			$RPM_BUILD_ROOT%{_appdir}/lang
-install	lang/recoded/*.php		$RPM_BUILD_ROOT%{_appdir}/lang/recoded
-install	templates/*.php			$RPM_BUILD_ROOT%{_appdir}/templates
+install	htdocs/*.php	 		$RPM_BUILD_ROOT%{_appdir}
+install	htdocs/images/*.{png,jpg}		$RPM_BUILD_ROOT%{_appdir}/images
+install	htdocs/css/*.css	 		$RPM_BUILD_ROOT%{_appdir}/css
+install	lib/*.php			$RPM_BUILD_ROOT%{_appdir}/lib
+install	templates/*.xml			$RPM_BUILD_ROOT%{_appdir}/templates
 install	templates/creation/*.php	$RPM_BUILD_ROOT%{_appdir}/templates/creation
-install	templates/modification/*.php	$RPM_BUILD_ROOT%{_appdir}/templates/modification
-install	*.{css,js,php}	 		$RPM_BUILD_ROOT%{_appdir}
-install	{ldap_error_codes.txt,VERSION}	$RPM_BUILD_ROOT%{_appdir}
-install	config.php.example		$RPM_BUILD_ROOT%{_sysconfdir}/config.php
+install	VERSION				$RPM_BUILD_ROOT%{_appdir}
+install	config/config.php.example		$RPM_BUILD_ROOT%{_sysconfdir}/config.php
 install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
-ln -sf	%{_sysconfdir}/config.php 	$RPM_BUILD_ROOT%{_appdir}/config.php
+ln -sf	%{_sysconfdir}/config.php 	$RPM_BUILD_ROOT%{_appdir}/config/config.php
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -87,7 +97,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc CREDITS ChangeLog pla-test-i18n.ldif README-translation.txt
+%doc pla-test-i18n.ldif README-translation.txt
 %dir %attr(750,root,http) %{_sysconfdir}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
@@ -100,6 +110,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2006/04/05 21:01:36  mwinkler
+- updated to 0.9.8.2
+- rel 0.1, works, need cosmetics
+
 Revision 1.23  2006/04/05 15:40:35  glen
 - use webapps framework (no triggers as previous version was broken anyway)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/phpldapadmin.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list