packages: wine/wine.spec - dll-ldap subpackage; ldap bcond

glen glen at pld-linux.org
Thu Jan 19 00:31:20 CET 2012


Author: glen                         Date: Wed Jan 18 23:31:20 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- dll-ldap subpackage; ldap bcond

---- Files affected:
packages/wine:
   wine.spec (1.401 -> 1.402) 

---- Diffs:

================================================================
Index: packages/wine/wine.spec
diff -u packages/wine/wine.spec:1.401 packages/wine/wine.spec:1.402
--- packages/wine/wine.spec:1.401	Sun Sep 18 23:28:32 2011
+++ packages/wine/wine.spec	Thu Jan 19 00:31:15 2012
@@ -6,6 +6,7 @@
 %bcond_without	jack		# don't build JACK mm driver
 %bcond_without	nas		# don't build NAS mm driver
 %bcond_without	sane		# don't build TWAIN DLL with scanning support (through SANE)
+%bcond_without	ldap		# don't build LDAP DLL
 %bcond_without	cups		# without CUPS printing support in winspool,wineps DLLs
 #
 # TODO:
@@ -33,7 +34,7 @@
 Summary(pt_BR.UTF-8):	Executa programas Windows no Linux
 Name:		wine
 Version:	1.2.3
-Release:	2
+Release:	3
 Epoch:		1
 License:	LGPL
 Group:		Applications/Emulators
@@ -83,7 +84,7 @@
 BuildRequires:	ncurses-devel
 # db2* failed previously - probably openjade or opensp bug
 BuildRequires:	openjade >= 1:1.3.3-0.pre1
-BuildRequires:	openldap-devel
+%{?with_ldap:BuildRequires:	openldap-devel}
 BuildRequires:	opensp >= 1:1.5.1
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	pkgconfig
@@ -227,6 +228,14 @@
 %description dll-twain -l pl.UTF-8
 Biblioteka DLL z implementacją TWAIN dla Wine (poprzez SANE).
 
+%package dll-ldap
+Summary:	Win32 LDAP API DLL for Wine.
+Group:		Applications/Emulators
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description dll-ldap
+Lightweight Directory Access Protocol Library.
+
 %package drv-alsa
 Summary:	ALSA driver for WINE mm.dll implementation
 Summary(pl.UTF-8):	Sterownik ALSA dla implementacji mm.dll w Wine
@@ -308,7 +317,7 @@
 	--with-hal \
 	--with%{!?with_jack:out}-jack \
 	--with-jpeg \
-	--with-ldap \
+	--with%{!?with_ldap:out}-ldap \
 	--with-mpg123 \
 	--with%{!?with_nas:out}-nas \
 	--with-opengl \
@@ -386,7 +395,7 @@
 cd $RPM_BUILD_ROOT%{_libdir}/wine
 for f in *.so; do
 	case $f in
-	d3d8.dll.so|d3d9.dll.so|d3dx8.dll.so|glu32.dll.so|opengl32.dll.so|sane.ds.so|twain.dll.so|twain_32.dll.so|winealsa.drv.so|winejack.drv.so|winenas.drv.so)
+	d3d8.dll.so|d3d9.dll.so|d3dx8.dll.so|glu32.dll.so|opengl32.dll.so|sane.ds.so|twain.dll.so|twain_32.dll.so|winealsa.drv.so|winejack.drv.so|winenas.drv.so|wldap32.dll.so)
 		;;
 	*)
 		echo "%attr(755,root,root) %{_libdir}/wine/$f" >> $dir/files.so
@@ -541,6 +550,12 @@
 %attr(755,root,root) %{_libdir}/wine/twain*.dll.so
 %endif
 
+%if %{with ldap}
+%files dll-ldap
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/wine/wldap*.dll.so
+%endif
+
 %if %{with alsa}
 %files drv-alsa
 %defattr(644,root,root,755)
@@ -570,6 +585,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.402  2012/01/18 23:31:15  glen
+- dll-ldap subpackage; ldap bcond
+
 Revision 1.401  2011/09/18 21:28:32  glen
 - update-desktop-database (.desktop specifies MimeType)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wine/wine.spec?r1=1.401&r2=1.402&f=u



More information about the pld-cvs-commit mailing list