[3883] | 1 | Name: freerdp |
---|
[6955] | 2 | Version: 1.0.1 |
---|
[3883] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Remote Desktop Protocol client |
---|
| 5 | Summary(ja): リモートデスクトッププロトコルクライアント |
---|
| 6 | |
---|
| 7 | Group: Applications/Intenet |
---|
| 8 | License: GPLv2+ |
---|
| 9 | URL: http://www.freerdp.com/ |
---|
[6955] | 10 | |
---|
| 11 | Source0: https://github.com/downloads/FreeRDP/FreeRDP/%{name}-%{version}.tar.gz |
---|
| 12 | # https://github.com/FreeRDP/FreeRDP/commit/165d39a290a109c0af16a1d223d1426cb524a844 backport |
---|
| 13 | |
---|
| 14 | Patch0: fastpath_send_input_pdu-sec_bytes.patch |
---|
| 15 | Patch1: c10866db66c0d462ea7c2c38bb01740bcfb4fcb4.patch |
---|
| 16 | |
---|
[3883] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[6955] | 18 | BuildRequires: cmake |
---|
| 19 | BuildRequires: xmlto |
---|
[3883] | 20 | BuildRequires: openssl-devel |
---|
| 21 | BuildRequires: libX11-devel |
---|
[6955] | 22 | BuildRequires: libXext-devel |
---|
| 23 | BuildRequires: libXinerama-devel |
---|
[3883] | 24 | BuildRequires: libXcursor-devel |
---|
[6955] | 25 | BuildRequires: libXdamage-devel |
---|
| 26 | BuildRequires: libXv-devel |
---|
| 27 | BuildRequires: libxkbfile-devel |
---|
| 28 | BuildRequires: pulseaudio-libs-devel |
---|
| 29 | BuildRequires: cups-devel |
---|
| 30 | BuildRequires: pcsc-lite-devel |
---|
| 31 | BuildRequires: desktop-file-utils |
---|
[3883] | 32 | |
---|
| 33 | Provides: xfreerdp = %{version}-%{release} |
---|
| 34 | Requires: %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release} |
---|
[6955] | 35 | Requires: %{name}-plugins = %{version}-%{release} |
---|
[3883] | 36 | |
---|
| 37 | %description |
---|
| 38 | The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP |
---|
| 39 | project. |
---|
| 40 | |
---|
| 41 | xfreerdp can connect to RDP servers such as Microsoft Windows |
---|
| 42 | machines, xrdp and VirtualBox. |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %package libs |
---|
| 46 | Summary: Core libraries implementing the RDP protocol |
---|
| 47 | Summary(ja): RDPプロトコル実装のコアライブラリ |
---|
| 48 | Group: System Environment/Libraries |
---|
| 49 | %description libs |
---|
| 50 | libfreerdp implements the core of the RDP protocol. |
---|
| 51 | |
---|
| 52 | libfreerdpchanman can be used to load plugins that can handle channels |
---|
| 53 | in the RDP protocol. |
---|
| 54 | |
---|
| 55 | libfreerdpkbd implements functionality for handling keyboards in X. |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %package plugins |
---|
| 59 | Summary: Plugins for handling the standard RDP channels |
---|
| 60 | Summary(ja): 標準RDPチャンネルを扱うためのプラグイン |
---|
| 61 | Group: System Environment/Libraries |
---|
| 62 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 63 | %description plugins |
---|
| 64 | A set of plugins to the channel manager implementing the standard virtual |
---|
| 65 | channels extending RDP core functionality. For example, sounds, clipboard |
---|
| 66 | sync, disk/printer redirection, etc. |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %package devel |
---|
| 70 | Summary: Development files for %{name} |
---|
| 71 | Summary(ja): %{name}の開発ファイル |
---|
| 72 | Group: Development/Libraries |
---|
| 73 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 74 | Requires: pkgconfig |
---|
| 75 | |
---|
| 76 | %description devel |
---|
| 77 | The %{name}-devel package contains libraries and header files for |
---|
| 78 | developing applications that use %{name}-libs. |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %prep |
---|
| 82 | %setup -q |
---|
[6955] | 83 | %patch0 -p1 |
---|
| 84 | %patch1 -p1 |
---|
[3883] | 85 | |
---|
[6955] | 86 | cat << EOF > xfreerdp.desktop |
---|
| 87 | [Desktop Entry] |
---|
| 88 | Type=Application |
---|
| 89 | Name=X FreeRDP |
---|
| 90 | NoDisplay=true |
---|
| 91 | Comment=Connect to RDP server and display remote desktop |
---|
| 92 | Icon=%{name} |
---|
| 93 | Exec=/usr/bin/xfreerdp |
---|
| 94 | Terminal=false |
---|
| 95 | Categories=Network;RemoteAccess; |
---|
| 96 | EOF |
---|
[3883] | 97 | |
---|
| 98 | %build |
---|
[6955] | 99 | %cmake \ |
---|
| 100 | -DWITH_CUPS=ON \ |
---|
| 101 | -DWITH_PCSC=ON \ |
---|
| 102 | -DWITH_PULSEAUDIO=ON \ |
---|
| 103 | -DWITH_X11=ON \ |
---|
| 104 | -DWITH_XCURSOR=ON \ |
---|
| 105 | -DWITH_XEXT=ON \ |
---|
| 106 | -DWITH_XINERAMA=ON \ |
---|
| 107 | -DWITH_XKBFILE=ON \ |
---|
| 108 | -DWITH_XV=ON \ |
---|
| 109 | -DWITH_ALSA=OFF \ |
---|
| 110 | -DWITH_CUNIT=OFF \ |
---|
| 111 | -DWITH_DIRECTFB=OFF \ |
---|
| 112 | -DWITH_FFMPEG=OFF \ |
---|
| 113 | -DWITH_SSE2=OFF \ |
---|
| 114 | -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ |
---|
| 115 | . |
---|
| 116 | |
---|
[3883] | 117 | make %{?_smp_mflags} |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | %install |
---|
| 121 | rm -rf $RPM_BUILD_ROOT |
---|
[6955] | 122 | |
---|
[3883] | 123 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
| 124 | |
---|
[6955] | 125 | # No need for keymap files when using xkbfile |
---|
| 126 | rm -rf $RPM_BUILD_ROOT/usr/share/freerdp |
---|
[3883] | 127 | |
---|
[6955] | 128 | desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications xfreerdp.desktop |
---|
| 129 | install -p -D resources/FreeRDP_Icon_256px.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps/%{name}.png |
---|
| 130 | |
---|
| 131 | |
---|
[3883] | 132 | %clean |
---|
| 133 | rm -rf $RPM_BUILD_ROOT |
---|
| 134 | |
---|
| 135 | |
---|
[6955] | 136 | %post |
---|
| 137 | # This is no gtk application, but try to integrate nicely with GNOME if it is available |
---|
| 138 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 139 | |
---|
| 140 | |
---|
[3883] | 141 | %post libs -p /sbin/ldconfig |
---|
| 142 | |
---|
| 143 | |
---|
| 144 | %postun libs -p /sbin/ldconfig |
---|
| 145 | |
---|
| 146 | |
---|
| 147 | %files |
---|
| 148 | %defattr(-,root,root,-) |
---|
| 149 | %{_bindir}/xfreerdp |
---|
[6955] | 150 | %{_mandir}/man1/xfreerdp.* |
---|
| 151 | %{_datadir}/applications/xfreerdp.desktop |
---|
| 152 | %{_datadir}/icons/hicolor/256x256/apps/%{name}.png |
---|
[3883] | 153 | |
---|
| 154 | %files libs |
---|
| 155 | %defattr(-,root,root,-) |
---|
[6955] | 156 | %doc LICENSE README ChangeLog |
---|
| 157 | %{_libdir}/lib%{name}-*.so.* |
---|
[3883] | 158 | %dir %{_libdir}/%{name}/ |
---|
| 159 | |
---|
| 160 | %files plugins |
---|
| 161 | %defattr(-,root,root,-) |
---|
[6955] | 162 | %{_libdir}/%{name}/* |
---|
[3883] | 163 | |
---|
| 164 | %files devel |
---|
| 165 | %defattr(-,root,root,-) |
---|
[6955] | 166 | %{_includedir}/%{name}/ |
---|
| 167 | %{_libdir}/lib%{name}-*.so |
---|
[3883] | 168 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 169 | |
---|
| 170 | |
---|
| 171 | %changelog |
---|
[6955] | 172 | * Mon Sep 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.13.6-1 |
---|
| 173 | - update to 1.0.1 |
---|
| 174 | - import patches from fedora package. |
---|
| 175 | - add BRs. |
---|
| 176 | |
---|
[3883] | 177 | * Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1 |
---|
| 178 | - initial build for Vine Linux |
---|
| 179 | |
---|
| 180 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3 |
---|
| 181 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 182 | |
---|
| 183 | * Fri Jan 28 2011 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-2 |
---|
| 184 | - rebuild on rawhide because of broken dependencies |
---|
| 185 | |
---|
| 186 | * Tue Nov 16 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-1 |
---|
| 187 | - freerdp-0.8.2 |
---|
| 188 | |
---|
| 189 | * Mon Nov 08 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-2 |
---|
| 190 | - make -devel require pkgconfig |
---|
| 191 | - first official Fedora package |
---|
| 192 | |
---|
| 193 | * Sun Nov 07 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-1 |
---|
| 194 | - freerdp-0.8.1 |
---|
| 195 | |
---|
| 196 | * Sat Sep 25 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-2 |
---|
| 197 | - hack the generated libtool to not set rpath on x86_64 |
---|
| 198 | - configure with alsa explicitly |
---|
| 199 | |
---|
| 200 | * Tue Aug 24 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-1 |
---|
| 201 | - freerdp-0.7.4 |
---|
| 202 | - cleanup of packaging structure |
---|
| 203 | |
---|
| 204 | * Wed Jul 28 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.3-1 |
---|
| 205 | - 0.7.3 |
---|
| 206 | - fix some minor pylint warnings |
---|
| 207 | |
---|
| 208 | * Fri Jul 23 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.2-2 |
---|
| 209 | - 0.7.2 |
---|
| 210 | - Address many comments from cwickert: |
---|
| 211 | - - cleanup of old formatting, alignment with spectemplate-lib.spec and |
---|
| 212 | cwickert spec from #616193 |
---|
| 213 | - - add alsa as build requirement |
---|
| 214 | - - remove superfluous configure options and disable static libs |
---|
| 215 | - - add missing rpm groups |
---|
| 216 | |
---|
| 217 | * Sun Jun 13 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.0-1 |
---|
| 218 | - First official release, first review request |
---|