Mads Kiilerich 0ba6ff
Name:           freerdp
Mads Kiilerich 23f2c8
Version:        0.8.2
Mads Kiilerich 23f2c8
Release:        1%{?dist}
Mads Kiilerich 0ba6ff
Summary:        Remote Desktop Protocol client
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Group:          Applications/Communications
Mads Kiilerich 0ba6ff
License:        GPLv2+
Mads Kiilerich 0ba6ff
URL:            http://www.freerdp.com/
Mads Kiilerich 0ba6ff
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Mads Kiilerich 0ba6ff
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
BuildRequires:  alsa-lib-devel
Mads Kiilerich 0ba6ff
BuildRequires:  cups-devel
Mads Kiilerich 0ba6ff
BuildRequires:  openssl-devel
Mads Kiilerich 0ba6ff
BuildRequires:  libX11-devel
Mads Kiilerich 0ba6ff
BuildRequires:  libXcursor-devel
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Provides:       xfreerdp = %{version}-%{release}
Mads Kiilerich 0ba6ff
Requires:       %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release}
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%description 
Mads Kiilerich 0ba6ff
The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP
Mads Kiilerich 0ba6ff
project.
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
xfreerdp can connect to RDP servers such as Microsoft Windows
Mads Kiilerich 0ba6ff
machines, xrdp and VirtualBox.
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
FreeRDP is a fork of the rdesktop project and intends to rapidly
Mads Kiilerich 0ba6ff
improve on it and re-implement what is needed.
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%package        libs
Mads Kiilerich 0ba6ff
Summary:        Core libraries implementing the RDP protocol
Mads Kiilerich 0ba6ff
Group:          System Environment/Libraries
Mads Kiilerich 0ba6ff
%description    libs
Mads Kiilerich 0ba6ff
libfreerdp implements the core of the RDP protocol.
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
libfreerdpchanman can be used to load plugins that can handle channels
Mads Kiilerich 0ba6ff
in the RDP protocol.
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
libfreerdpkbd implements functionality for handling keyboards in X.
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%package        plugins
Mads Kiilerich 0ba6ff
Summary:        Plugins for handling the standard RDP channels
Mads Kiilerich 0ba6ff
Group:          System Environment/Libraries
Mads Kiilerich 0ba6ff
Requires:       %{name}-libs = %{version}-%{release}
Mads Kiilerich 0ba6ff
%description    plugins
Mads Kiilerich 0ba6ff
A set of plugins to the channel manager implementing the standard virtual
Mads Kiilerich 0ba6ff
channels extending RDP core functionality.  For example, sounds, clipboard
Mads Kiilerich 0ba6ff
sync, disk/printer redirection, etc.
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%package        devel
Mads Kiilerich 0ba6ff
Summary:        Development files for %{name}
Mads Kiilerich 0ba6ff
Group:          Development/Libraries
Mads Kiilerich 0ba6ff
Requires:       %{name}-libs = %{version}-%{release}
Mads Kiilerich 0ba6ff
Requires:       pkgconfig
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%description    devel
Mads Kiilerich 0ba6ff
The %{name}-devel package contains libraries and header files for
Mads Kiilerich 0ba6ff
developing applications that use %{name}-libs.
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%prep
Mads Kiilerich 0ba6ff
%setup -q
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%build
Mads Kiilerich 0ba6ff
%configure --disable-static --with-sound=alsa --with-crypto=openssl
Mads Kiilerich 0ba6ff
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
Mads Kiilerich 0ba6ff
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
Mads Kiilerich 0ba6ff
make %{?_smp_mflags}
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%install
Mads Kiilerich 0ba6ff
rm -rf $RPM_BUILD_ROOT
Mads Kiilerich 0ba6ff
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
Mads Kiilerich 0ba6ff
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%clean
Mads Kiilerich 0ba6ff
rm -rf $RPM_BUILD_ROOT
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%post libs -p /sbin/ldconfig
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%postun libs -p /sbin/ldconfig
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%files
Mads Kiilerich 0ba6ff
%defattr(-,root,root,-)
Mads Kiilerich 0ba6ff
%{_bindir}/xfreerdp
Mads Kiilerich 0ba6ff
%{_mandir}/*/*
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%files libs
Mads Kiilerich 0ba6ff
%defattr(-,root,root,-)
Mads Kiilerich 0ba6ff
%doc COPYING AUTHORS doc/ipv6.txt ChangeLog
Mads Kiilerich 0ba6ff
%{_libdir}/*.so.*
Mads Kiilerich 0ba6ff
%dir %{_libdir}/%{name}/
Mads Kiilerich 0ba6ff
%{_datadir}/%{name}/
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%files plugins
Mads Kiilerich 0ba6ff
%defattr(-,root,root,-)
Mads Kiilerich 0ba6ff
%{_libdir}/%{name}/*.so
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%files devel
Mads Kiilerich 0ba6ff
%defattr(-,root,root,-)
Mads Kiilerich 0ba6ff
%{_includedir}/*
Mads Kiilerich 0ba6ff
%{_libdir}/*.so
Mads Kiilerich 0ba6ff
%{_libdir}/pkgconfig/%{name}.pc
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
%changelog
Mads Kiilerich 23f2c8
* Tue Nov 16 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-1
Mads Kiilerich 23f2c8
- freerdp-0.8.2
Mads Kiilerich 23f2c8
Mads Kiilerich 0ba6ff
* Mon Nov 08 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-2
Mads Kiilerich 0ba6ff
- make -devel require pkgconfig
Mads Kiilerich 0ba6ff
- first official Fedora package
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
* Sun Nov 07 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-1
Mads Kiilerich 0ba6ff
- freerdp-0.8.1
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
* Sat Sep 25 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-2
Mads Kiilerich 0ba6ff
- hack the generated libtool to not set rpath on x86_64
Mads Kiilerich 0ba6ff
- configure with alsa explicitly
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
* Tue Aug 24 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-1
Mads Kiilerich 0ba6ff
- freerdp-0.7.4
Mads Kiilerich 0ba6ff
- cleanup of packaging structure
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
* Wed Jul 28 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.3-1
Mads Kiilerich 0ba6ff
- 0.7.3
Mads Kiilerich 0ba6ff
- fix some minor pylint warnings
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
* Fri Jul 23 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.2-2
Mads Kiilerich 0ba6ff
- 0.7.2
Mads Kiilerich 0ba6ff
- Address many comments from cwickert:
Mads Kiilerich 0ba6ff
- - cleanup of old formatting, alignment with spectemplate-lib.spec and
Mads Kiilerich 0ba6ff
    cwickert spec from #616193
Mads Kiilerich 0ba6ff
- - add alsa as build requirement
Mads Kiilerich 0ba6ff
- - remove superfluous configure options and disable static libs
Mads Kiilerich 0ba6ff
- - add missing rpm groups
Mads Kiilerich 0ba6ff
Mads Kiilerich 0ba6ff
* Sun Jun 13 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.0-1
Mads Kiilerich 0ba6ff
- First official release, first review request