Author: glen                         Date: Wed Jan 18 22:54:26 2012 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- dll-ldap subpackage; ldap bcond

---- Files affected:
packages/wine:
   wine.spec (1.391.2.48 -> 1.391.2.49) 

---- Diffs:

================================================================
Index: packages/wine/wine.spec
diff -u packages/wine/wine.spec:1.391.2.48 packages/wine/wine.spec:1.391.2.49
--- packages/wine/wine.spec:1.391.2.48  Sun Jan  1 19:57:15 2012
+++ packages/wine/wine.spec     Wed Jan 18 23:54:21 2012
@@ -5,6 +5,7 @@
 %bcond_without capi            # don't build CAPI 2.0 (ISDN) support
 %bcond_without gstreamer       # don't build GStreamer filters support
 %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
 #
 # NOTE: wine detects the following SONAMES for dlopen at build time:
@@ -74,7 +75,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
@@ -231,6 +232,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
@@ -277,7 +286,7 @@
        --with-gsm \
        --with%{!?with_gstreamer:out}-gstreamer \
        --with-jpeg \
-       --with-ldap \
+       --with%{!?with_ldap:out}-ldap \
        --with-mpg123 \
        --with-opengl \
        --with-openssl \
@@ -354,7 +363,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)
+       
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|wldap32.dll.so)
                ;;
        *)
                echo "%attr(755,root,root) %{_libdir}/wine/$f" >> $dir/files.so
@@ -527,6 +536,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)
@@ -544,6 +559,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.391.2.49  2012/01/18 22:54:21  glen
+- dll-ldap subpackage; ldap bcond
+
 Revision 1.391.2.48  2012/01/01 18:57:15  arvenil
 - up to 1.3.36
 - restored pl man page
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to