2010-11-08 22:37:46 +00:00
|
|
|
Name: freerdp
|
2012-02-22 00:55:06 +00:00
|
|
|
Version: 1.0.1
|
2012-02-29 00:09:03 +00:00
|
|
|
Release: 4%{?dist}
|
2010-11-08 22:37:46 +00:00
|
|
|
Summary: Remote Desktop Protocol client
|
|
|
|
|
|
|
|
Group: Applications/Communications
|
2012-02-22 00:55:06 +00:00
|
|
|
License: ASL 2.0
|
2010-11-08 22:37:46 +00:00
|
|
|
URL: http://www.freerdp.com/
|
2012-02-22 00:55:06 +00:00
|
|
|
Source0: https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-%{version}.tar.gz
|
2012-02-29 00:09:03 +00:00
|
|
|
# https://github.com/FreeRDP/FreeRDP/commit/165d39a290a109c0af16a1d223d1426cb524a844 backport
|
|
|
|
Patch0: fastpath_send_input_pdu-sec_bytes.patch
|
2010-11-08 22:37:46 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2012-02-22 00:55:06 +00:00
|
|
|
BuildRequires: cmake
|
2012-02-25 11:44:07 +00:00
|
|
|
BuildRequires: xmlto
|
2010-11-08 22:37:46 +00:00
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: libX11-devel
|
2012-02-22 00:55:06 +00:00
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXinerama-devel
|
2010-11-08 22:37:46 +00:00
|
|
|
BuildRequires: libXcursor-devel
|
2012-02-22 00:55:06 +00:00
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libXv-devel
|
|
|
|
BuildRequires: libxkbfile-devel
|
|
|
|
BuildRequires: pulseaudio-libs-devel
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: pcsc-lite-devel
|
2012-02-28 23:18:19 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2010-11-08 22:37:46 +00:00
|
|
|
|
|
|
|
Provides: xfreerdp = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release}
|
|
|
|
|
2012-02-22 00:55:06 +00:00
|
|
|
%description
|
2010-11-08 22:37:46 +00:00
|
|
|
The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP
|
|
|
|
project.
|
|
|
|
|
|
|
|
xfreerdp can connect to RDP servers such as Microsoft Windows
|
|
|
|
machines, xrdp and VirtualBox.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: Core libraries implementing the RDP protocol
|
2012-02-22 00:55:06 +00:00
|
|
|
Group: Applications/Communications
|
2010-11-08 22:37:46 +00:00
|
|
|
%description libs
|
2012-02-22 00:55:06 +00:00
|
|
|
libfreerdp-core can be embedded in applications.
|
2010-11-08 22:37:46 +00:00
|
|
|
|
2012-02-22 00:55:06 +00:00
|
|
|
libfreerdp-channels and libfreerdp-kbd might be convenient to use in X
|
|
|
|
applications together with libfreerdp-core.
|
2010-11-08 22:37:46 +00:00
|
|
|
|
2012-02-22 00:55:06 +00:00
|
|
|
libfreerdp-core can be extended with plugins handling RDP channels.
|
2010-11-08 22:37:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package plugins
|
|
|
|
Summary: Plugins for handling the standard RDP channels
|
2012-02-22 00:55:06 +00:00
|
|
|
Group: Applications/Communications
|
2010-11-08 22:37:46 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
%description plugins
|
|
|
|
A set of plugins to the channel manager implementing the standard virtual
|
2012-02-22 00:55:06 +00:00
|
|
|
channels extending RDP core functionality. For instance, sounds, clipboard
|
2010-11-08 22:37:46 +00:00
|
|
|
sync, disk/printer redirection, etc.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}-libs.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2012-02-22 00:55:06 +00:00
|
|
|
%setup -q -n FreeRDP-FreeRDP-8e62721
|
2012-02-29 00:09:03 +00:00
|
|
|
%patch0 -p1
|
2010-11-08 22:37:46 +00:00
|
|
|
|
2012-02-28 23:18:19 +00:00
|
|
|
cat << EOF > xfreerdp.desktop
|
|
|
|
[Desktop Entry]
|
|
|
|
Type=Application
|
|
|
|
Name=X FreeRDP
|
|
|
|
NoDisplay=true
|
|
|
|
Comment=Connect to RDP server and display remote desktop
|
|
|
|
Icon=%{name}
|
|
|
|
Exec=/usr/bin/xfreerdp
|
|
|
|
Terminal=false
|
|
|
|
Categories=Network;RemoteAccess;
|
|
|
|
EOF
|
|
|
|
|
2010-11-08 22:37:46 +00:00
|
|
|
|
|
|
|
%build
|
2012-02-28 23:18:19 +00:00
|
|
|
|
2012-02-22 00:55:06 +00:00
|
|
|
%cmake \
|
|
|
|
-DWITH_CUPS=ON \
|
|
|
|
-DWITH_PCSC=ON \
|
|
|
|
-DWITH_PULSEAUDIO=ON \
|
|
|
|
-DWITH_X11=ON \
|
|
|
|
-DWITH_XCURSOR=ON \
|
|
|
|
-DWITH_XEXT=ON \
|
|
|
|
-DWITH_XINERAMA=ON \
|
|
|
|
-DWITH_XKBFILE=ON \
|
|
|
|
-DWITH_XV=ON \
|
|
|
|
-DWITH_ALSA=OFF \
|
|
|
|
-DWITH_CUNIT=OFF \
|
|
|
|
-DWITH_DIRECTFB=OFF \
|
|
|
|
-DWITH_FFMPEG=OFF \
|
|
|
|
-DWITH_SSE2=OFF \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
|
|
|
|
.
|
|
|
|
|
2010-11-08 22:37:46 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2012-02-28 23:18:19 +00:00
|
|
|
|
2010-11-08 22:37:46 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
2012-02-28 23:18:19 +00:00
|
|
|
|
2012-02-22 00:55:06 +00:00
|
|
|
# No need for keymap files when using xkbfile
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/freerdp
|
2010-11-08 22:37:46 +00:00
|
|
|
|
2012-02-28 23:18:19 +00:00
|
|
|
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications xfreerdp.desktop
|
|
|
|
install -p -D resources/FreeRDP_Icon_256px.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
|
|
|
|
|
2010-11-08 22:37:46 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
2012-02-28 23:18:19 +00:00
|
|
|
%post
|
|
|
|
# This is no gtk application, but try to integrate nicely with GNOME if it is available
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
2010-11-08 22:37:46 +00:00
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/xfreerdp
|
2012-02-22 00:55:06 +00:00
|
|
|
%{_mandir}/man1/xfreerdp.*
|
2012-02-28 23:18:19 +00:00
|
|
|
%{_datadir}/applications/xfreerdp.desktop
|
|
|
|
%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
|
2010-11-08 22:37:46 +00:00
|
|
|
|
|
|
|
%files libs
|
|
|
|
%defattr(-,root,root,-)
|
2012-02-22 00:55:06 +00:00
|
|
|
%doc LICENSE README ChangeLog
|
|
|
|
%{_libdir}/lib%{name}-*.so.*
|
2010-11-08 22:37:46 +00:00
|
|
|
%dir %{_libdir}/%{name}/
|
|
|
|
|
|
|
|
%files plugins
|
|
|
|
%defattr(-,root,root,-)
|
2012-02-22 00:55:06 +00:00
|
|
|
%{_libdir}/%{name}/*
|
2010-11-08 22:37:46 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2012-02-22 00:55:06 +00:00
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_libdir}/lib%{name}-*.so
|
2010-11-08 22:37:46 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-02-29 00:09:03 +00:00
|
|
|
* Tue Feb 28 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-4
|
|
|
|
- Include patch for sending invalid extra data
|
|
|
|
|
2012-02-28 23:18:19 +00:00
|
|
|
* Tue Feb 28 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-3
|
|
|
|
- Install a freedesktop .desktop file and a high-res icon instead of relying on
|
|
|
|
_NET_WM_ICON
|
|
|
|
|
2012-02-25 11:44:07 +00:00
|
|
|
* Sat Feb 25 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-2
|
|
|
|
- Explicit build requirement for xmlto - needed for EL6
|
|
|
|
|
2012-02-22 00:55:06 +00:00
|
|
|
* Wed Feb 22 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-1
|
|
|
|
- FreeRDP-1.0.1 - major upstream rewrite and relicensing under Apache license
|
|
|
|
|
2012-01-13 02:43:53 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 21:40:30 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-27 23:21:07 +00:00
|
|
|
* Fri Jan 28 2011 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-2
|
|
|
|
- rebuild on rawhide because of broken dependencies
|
|
|
|
|
2010-11-15 23:53:50 +00:00
|
|
|
* Tue Nov 16 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-1
|
|
|
|
- freerdp-0.8.2
|
|
|
|
|
2010-11-08 22:37:46 +00:00
|
|
|
* Mon Nov 08 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-2
|
|
|
|
- make -devel require pkgconfig
|
|
|
|
- first official Fedora package
|
|
|
|
|
|
|
|
* Sun Nov 07 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-1
|
|
|
|
- freerdp-0.8.1
|
|
|
|
|
|
|
|
* Sat Sep 25 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-2
|
|
|
|
- hack the generated libtool to not set rpath on x86_64
|
|
|
|
- configure with alsa explicitly
|
|
|
|
|
|
|
|
* Tue Aug 24 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-1
|
|
|
|
- freerdp-0.7.4
|
|
|
|
- cleanup of packaging structure
|
|
|
|
|
|
|
|
* Wed Jul 28 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.3-1
|
|
|
|
- 0.7.3
|
|
|
|
- fix some minor pylint warnings
|
|
|
|
|
|
|
|
* Fri Jul 23 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.2-2
|
|
|
|
- 0.7.2
|
|
|
|
- Address many comments from cwickert:
|
|
|
|
- - cleanup of old formatting, alignment with spectemplate-lib.spec and
|
|
|
|
cwickert spec from #616193
|
|
|
|
- - add alsa as build requirement
|
|
|
|
- - remove superfluous configure options and disable static libs
|
|
|
|
- - add missing rpm groups
|
|
|
|
|
|
|
|
* Sun Jun 13 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.0-1
|
|
|
|
- First official release, first review request
|