|
@@ -1,5 +1,5 @@
|
|
Name: freerdp
|
|
Name: freerdp
|
|
-Version: 0.8.2
|
|
|
|
|
|
+Version: 1.0.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: Remote Desktop Protocol client
|
|
Summary: Remote Desktop Protocol client
|
|
Summary(ja): リモートデスクトッププロトコルクライアント
|
|
Summary(ja): リモートデスクトッププロトコルクライアント
|
|
@@ -7,17 +7,32 @@ Summary(ja): リモートデスクトッププロトコルクライアント
|
|
Group: Applications/Intenet
|
|
Group: Applications/Intenet
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
URL: http://www.freerdp.com/
|
|
URL: http://www.freerdp.com/
|
|
-Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
|
|
-BuildRequires: alsa-lib-devel
|
|
|
|
-BuildRequires: cups-devel
|
|
|
|
|
|
+Source0: https://github.com/downloads/FreeRDP/FreeRDP/%{name}-%{version}.tar.gz
|
|
|
|
+# https://github.com/FreeRDP/FreeRDP/commit/165d39a290a109c0af16a1d223d1426cb524a844 backport
|
|
|
|
+
|
|
|
|
+Patch0: fastpath_send_input_pdu-sec_bytes.patch
|
|
|
|
+Patch1: c10866db66c0d462ea7c2c38bb01740bcfb4fcb4.patch
|
|
|
|
+
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
+BuildRequires: cmake
|
|
|
|
+BuildRequires: xmlto
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libX11-devel
|
|
|
|
+BuildRequires: libXext-devel
|
|
|
|
+BuildRequires: libXinerama-devel
|
|
BuildRequires: libXcursor-devel
|
|
BuildRequires: libXcursor-devel
|
|
|
|
+BuildRequires: libXdamage-devel
|
|
|
|
+BuildRequires: libXv-devel
|
|
|
|
+BuildRequires: libxkbfile-devel
|
|
|
|
+BuildRequires: pulseaudio-libs-devel
|
|
|
|
+BuildRequires: cups-devel
|
|
|
|
+BuildRequires: pcsc-lite-devel
|
|
|
|
+BuildRequires: desktop-file-utils
|
|
|
|
|
|
Provides: xfreerdp = %{version}-%{release}
|
|
Provides: xfreerdp = %{version}-%{release}
|
|
Requires: %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release}
|
|
Requires: %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release}
|
|
|
|
+Requires: %{name}-plugins = %{version}-%{release}
|
|
|
|
|
|
%description
|
|
%description
|
|
The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP
|
|
The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP
|
|
@@ -26,9 +41,6 @@ project.
|
|
xfreerdp can connect to RDP servers such as Microsoft Windows
|
|
xfreerdp can connect to RDP servers such as Microsoft Windows
|
|
machines, xrdp and VirtualBox.
|
|
machines, xrdp and VirtualBox.
|
|
|
|
|
|
-FreeRDP is a fork of the rdesktop project and intends to rapidly
|
|
|
|
-improve on it and re-implement what is needed.
|
|
|
|
-
|
|
|
|
|
|
|
|
%package libs
|
|
%package libs
|
|
Summary: Core libraries implementing the RDP protocol
|
|
Summary: Core libraries implementing the RDP protocol
|
|
@@ -68,25 +80,64 @@ developing applications that use %{name}-libs.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-
|
|
|
|
|
|
+%patch0 -p1
|
|
|
|
+%patch1 -p1
|
|
|
|
+
|
|
|
|
+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
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --disable-static --with-sound=alsa --with-crypto=openssl
|
|
|
|
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
+%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} \
|
|
|
|
+ .
|
|
|
|
+
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
+
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
|
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
+
|
|
|
|
+# No need for keymap files when using xkbfile
|
|
|
|
+rm -rf $RPM_BUILD_ROOT/usr/share/freerdp
|
|
|
|
+
|
|
|
|
+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
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
+%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 || :
|
|
|
|
+
|
|
|
|
+
|
|
%post libs -p /sbin/ldconfig
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
@@ -96,27 +147,33 @@ rm -rf $RPM_BUILD_ROOT
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/xfreerdp
|
|
%{_bindir}/xfreerdp
|
|
-%{_mandir}/*/*
|
|
|
|
|
|
+%{_mandir}/man1/xfreerdp.*
|
|
|
|
+%{_datadir}/applications/xfreerdp.desktop
|
|
|
|
+%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
|
|
|
|
|
|
%files libs
|
|
%files libs
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc COPYING AUTHORS doc/ipv6.txt ChangeLog
|
|
|
|
-%{_libdir}/*.so.*
|
|
|
|
|
|
+%doc LICENSE README ChangeLog
|
|
|
|
+%{_libdir}/lib%{name}-*.so.*
|
|
%dir %{_libdir}/%{name}/
|
|
%dir %{_libdir}/%{name}/
|
|
-%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
%files plugins
|
|
%files plugins
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{_libdir}/%{name}/*.so
|
|
|
|
|
|
+%{_libdir}/%{name}/*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{_includedir}/*
|
|
|
|
-%{_libdir}/*.so
|
|
|
|
|
|
+%{_includedir}/%{name}/
|
|
|
|
+%{_libdir}/lib%{name}-*.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Sep 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.6-1
|
|
|
|
+- update to 1.0.1
|
|
|
|
+- import patches from fedora package.
|
|
|
|
+- add BRs.
|
|
|
|
+
|
|
* Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
|
|
* Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
|
|
- initial build for Vine Linux
|
|
- initial build for Vine Linux
|
|
|
|
|