Create a libwbclient package.

This commit is contained in:
Andreas Schneider 2012-02-13 11:12:35 +01:00
parent 8fce82b0c9
commit 028cc75ab9
1 changed files with 32 additions and 7 deletions

View File

@ -1,4 +1,4 @@
%define main_release 78
%define main_release 79
%define samba_version 3.6.3
%define tdb_version 1.2.9
%define talloc_version 2.0.5
@ -186,6 +186,25 @@ Requires: libsmbclient = %{epoch}:%{samba_version}-%{release}
The libsmbclient-devel package contains the header files and libraries needed to
develop programs that link against the SMB client library in the Samba suite.
%package -n libwbclient
Summary: The Winbind client library
Group: Applications/System
%description -n libwbclient
The libwbclient contains the Winbind client library from the Samba suite.
%package -n libwbclient-devel
Summary: Developer tools for the Winbind client library
Group: Development
Requires: libwbclient = %{epoch}:%{samba_version}-%{release}
Obsoletes: winbind-devel
Provides: winbind-devel = %{epoch}:%{samba_version}-%{release}
%description -n libwbclient-devel
The libwbclient-devel package contains the header files and libraries needed to
develop programs that link against the Winbind client library in the Samba suite.
%prep
# TAG: change for non-pre
%setup -q -n %{name}-%{samba_version}%{pre_release}
@ -634,12 +653,6 @@ fi
%{_libdir}/libnss_wins.so
/%{_lib}/libnss_wins.so.2
/%{_lib}/security/pam_winbind.so
%attr(755,root,root) %{_libdir}/libwbclient.so.*
%files winbind-devel
%{_includedir}/wbclient.h
%{_libdir}/libwbclient.so
%{_libdir}/pkgconfig/wbclient.pc
%files doc
%doc docs/Samba3-Developers-Guide.pdf docs/Samba3-ByExample.pdf
@ -659,6 +672,14 @@ fi
%{_libdir}/pkgconfig/smbsharemodes.pc
%{_mandir}/man7/libsmbclient.7*
%files -n libwbclient
%attr(755,root,root) %{_libdir}/libwbclient.so.*
%files -n libwbclient-devel
%{_includedir}/wbclient.h
%{_libdir}/libwbclient.so
%{_libdir}/pkgconfig/wbclient.pc
%files domainjoin-gui
%{_sbindir}/netdomjoin-gui
%dir %{_datadir}/pixmaps/samba
@ -667,6 +688,10 @@ fi
%{_datadir}/pixmaps/samba/logo-small.png
%changelog
* Mon Feb 13 2012 Andreas Schneider <asn@redhat.com> - 1:3.6.3-79
- Create a libwbclient package.
- Replace winbind-devel with libwbclient-devel package.
* Mon Jan 30 2012 Andreas Schneider <asn@redhat.com> - 1:3.6.3-78
- Update to 3.6.3
- Fixes CVE-2012-0817