File freerdp.spec of Package freerdp

Summary:	A fork of the rdesktop project
Name:		freerdp
Version:	0.8.2
Release:        1
URL:		http://freerdp.sourceforge.net/
License:	GNU General Public License version 2
Group:		Productivity/Networking/Other
Source0:	%{name}-%{version}.tar.gz
BuildRequires:	openssl-devel xorg-x11-devel cups-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

%description
FreeRDP is a fork of the rdesktop project that intends to rapidly start
moving forward and implement features that rdesktop lacks the most.

%package devel
Summary:	FreeRDP development files
Group:		Development/Libraries/Other

%description devel
This package contains %{name} development headers

%prep
%setup -q

%build
%configure --with-ipv6 --enable-smartcard --with-sound --with-crypto=openssl --with-gnu-ld --with-x
%__make %{?_smp_mflags}

%install
%makeinstall

%{__rm} -f %{buildroot}%{_libdir}/{%{name}/,lib}*.{a,la}

%post devel
/sbin/ldconfig

%postun devel
/sbin/ldconfig

%clean
%{__rm} -rf '%{buildroot}'

%files
%defattr(-,root,root)
%doc COPYING AUTHORS doc/ipv6.txt doc/ChangeLog
%{_bindir}/xfreerdp
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_mandir}/man1/xfreerdp.1.gz

%files devel
%defattr(-,root,root)
%dir %{_prefix}/include/%{name}
%{_prefix}/include/%{name}/*.h
%{_libdir}/lib*.so
%{_libdir}/lib*.so.*
%{_libdir}/pkgconfig/*

%changelog
* Fri Nov 19 2010 Stefan Lijewski <lijews@zabka.pl> - 0.8.2
-update to 0.8.2
-due to bugs in freerdp cannot compile with directfb support
-changes according to Changelog:
bfreerdp:
    * fix buffer overflow when local timezone doesn't fit in 32 bytes
    * Fix data corruption after TLS license package
    * free TLS resources to avoid memory leaks
mcs:
    * Fix connecting to VirtualBox with extra channels
wfreerdp:
    * align command line options with xfreerdp
    * Fixes for compilation with VS2008
rdpsnd plugin:
    * ensure the ALSA device is closed when freeing resources
rdpdr plugin:
    * fix various memory leaks
    * fix a segfault in multi-session environment
* Tue Sep 22 2010 Stefan Lijewski <lijews@zabka.pl> - 0.7.4
-initial build
openSUSE Build Service is sponsored by