[12400] | 1 | #define rcnumber rc4 |
---|
[11966] | 2 | |
---|
[3883] | 3 | Name: freerdp |
---|
| 4 | Summary: Remote Desktop Protocol client |
---|
| 5 | Summary(ja): リモートデスクトッププロトコルクライアント |
---|
[12513] | 6 | Version: 2.2.0 |
---|
[12400] | 7 | Release: 1%{?rcnumber:.%{rcnumber}}%{?_dist_release} |
---|
[12513] | 8 | Group: office,internet |
---|
[11966] | 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
| 11 | |
---|
[12400] | 12 | License: GPLv2+ |
---|
| 13 | URL: http://www.freerdp.com/ |
---|
| 14 | Source0: https://pub.freerdp.com/releases/freerdp-%{version}.tar.gz |
---|
[6955] | 15 | |
---|
[3883] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[6955] | 17 | BuildRequires: cmake |
---|
| 18 | BuildRequires: xmlto |
---|
[11966] | 19 | BuildRequires: alsa-lib-devel |
---|
| 20 | BuildRequires: cups-devel |
---|
[3883] | 21 | BuildRequires: libX11-devel |
---|
[11966] | 22 | BuildRequires: libXcursor-devel |
---|
| 23 | BuildRequires: libXdamage-devel |
---|
[6955] | 24 | BuildRequires: libXext-devel |
---|
| 25 | BuildRequires: libXinerama-devel |
---|
[11966] | 26 | BuildRequires: libxkbfile-devel |
---|
[6955] | 27 | BuildRequires: libXv-devel |
---|
[12400] | 28 | BuildRequires: libusb1-devel |
---|
[11966] | 29 | BuildRequires: zlib-devel |
---|
| 30 | BuildRequires: openssl-devel |
---|
[6955] | 31 | BuildRequires: pulseaudio-libs-devel |
---|
| 32 | BuildRequires: pcsc-lite-devel |
---|
| 33 | BuildRequires: desktop-file-utils |
---|
[3883] | 34 | |
---|
| 35 | Provides: xfreerdp = %{version}-%{release} |
---|
[11966] | 36 | Obsoletes: freerdp-plugins < 2.0.0 |
---|
| 37 | Requires: %{name}-libs = %{version}-%{release} |
---|
[3883] | 38 | |
---|
| 39 | %description |
---|
| 40 | The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP |
---|
| 41 | project. |
---|
| 42 | |
---|
| 43 | xfreerdp can connect to RDP servers such as Microsoft Windows |
---|
| 44 | machines, xrdp and VirtualBox. |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %package libs |
---|
| 48 | Summary: Core libraries implementing the RDP protocol |
---|
| 49 | Summary(ja): RDPプロトコル実装のコアライブラリ |
---|
[12513] | 50 | Group: system |
---|
[8966] | 51 | |
---|
[3883] | 52 | %description libs |
---|
| 53 | libfreerdp implements the core of the RDP protocol. |
---|
| 54 | |
---|
| 55 | libfreerdpchanman can be used to load plugins that can handle channels |
---|
| 56 | in the RDP protocol. |
---|
| 57 | |
---|
| 58 | libfreerdpkbd implements functionality for handling keyboards in X. |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %package devel |
---|
| 62 | Summary: Development files for %{name} |
---|
| 63 | Summary(ja): %{name}の開発ファイル |
---|
[12513] | 64 | Group: programming |
---|
[3883] | 65 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 66 | Requires: pkgconfig |
---|
| 67 | |
---|
| 68 | %description devel |
---|
| 69 | The %{name}-devel package contains libraries and header files for |
---|
| 70 | developing applications that use %{name}-libs. |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %prep |
---|
[12400] | 74 | %setup -q |
---|
[3883] | 75 | |
---|
[6955] | 76 | cat << EOF > xfreerdp.desktop |
---|
| 77 | [Desktop Entry] |
---|
| 78 | Type=Application |
---|
| 79 | Name=X FreeRDP |
---|
| 80 | NoDisplay=true |
---|
| 81 | Comment=Connect to RDP server and display remote desktop |
---|
| 82 | Icon=%{name} |
---|
| 83 | Exec=/usr/bin/xfreerdp |
---|
| 84 | Terminal=false |
---|
| 85 | Categories=Network;RemoteAccess; |
---|
| 86 | EOF |
---|
[3883] | 87 | |
---|
| 88 | %build |
---|
[6955] | 89 | %cmake \ |
---|
[8966] | 90 | -DCMAKE_BUILD_TYPE=Release \ |
---|
[11966] | 91 | -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ |
---|
| 92 | -DWITH_ALSA=ON \ |
---|
[6955] | 93 | -DWITH_CUPS=ON \ |
---|
[11966] | 94 | -DWITH_OPENSSL=ON \ |
---|
[6955] | 95 | -DWITH_PCSC=ON \ |
---|
[11966] | 96 | -DWITH_PULSE=ON \ |
---|
[6955] | 97 | -DWITH_X11=ON \ |
---|
| 98 | -DWITH_XCURSOR=ON \ |
---|
| 99 | -DWITH_XEXT=ON \ |
---|
| 100 | -DWITH_XINERAMA=ON \ |
---|
| 101 | -DWITH_XKBFILE=ON \ |
---|
| 102 | -DWITH_XV=ON \ |
---|
[11966] | 103 | -DWITH_ZLIB=ON \ |
---|
[6955] | 104 | -DWITH_CUNIT=OFF \ |
---|
| 105 | -DWITH_DIRECTFB=OFF \ |
---|
| 106 | -DWITH_FFMPEG=OFF \ |
---|
[11966] | 107 | %ifarch x86_64 |
---|
| 108 | -DWITH_SSE2=ON \ |
---|
| 109 | %else |
---|
| 110 | -DWITH_SSE2=OFF \ |
---|
| 111 | %endif |
---|
[6955] | 112 | . |
---|
| 113 | |
---|
[3883] | 114 | |
---|
[8966] | 115 | make %{?_smp_mflags} |
---|
[3883] | 116 | |
---|
[11966] | 117 | pushd winpr/tools/makecert-cli |
---|
| 118 | make %{?_smp_mflags} |
---|
| 119 | popd |
---|
[8966] | 120 | |
---|
[3883] | 121 | %install |
---|
[11966] | 122 | rm -rf %{buildroot} |
---|
[6955] | 123 | |
---|
[11966] | 124 | %makeinstall DESTDIR=%{buildroot} |
---|
| 125 | %makeinstall DESTDIR=%{buildroot} COMPONENT=tools |
---|
[3883] | 126 | |
---|
[11966] | 127 | find %{buildroot} -name "*.a" -delete |
---|
| 128 | |
---|
[6955] | 129 | # No need for keymap files when using xkbfile |
---|
| 130 | rm -rf $RPM_BUILD_ROOT/usr/share/freerdp |
---|
[3883] | 131 | |
---|
[11966] | 132 | desktop-file-install --dir=%{buildroot}%{_datadir}/applications xfreerdp.desktop |
---|
| 133 | install -p -D resources/FreeRDP_Icon_256px.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png |
---|
[6955] | 134 | |
---|
| 135 | |
---|
[3883] | 136 | %clean |
---|
[11966] | 137 | rm -rf %{buildroot} |
---|
[3883] | 138 | |
---|
| 139 | |
---|
[6955] | 140 | %post |
---|
| 141 | # This is no gtk application, but try to integrate nicely with GNOME if it is available |
---|
| 142 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 143 | |
---|
[3883] | 144 | %post libs -p /sbin/ldconfig |
---|
| 145 | %postun libs -p /sbin/ldconfig |
---|
| 146 | |
---|
| 147 | |
---|
| 148 | %files |
---|
| 149 | %defattr(-,root,root,-) |
---|
[6955] | 150 | %{_datadir}/applications/xfreerdp.desktop |
---|
| 151 | %{_datadir}/icons/hicolor/256x256/apps/%{name}.png |
---|
[11966] | 152 | %{_bindir}/winpr-hash |
---|
| 153 | %{_bindir}/winpr-makecert |
---|
| 154 | %{_bindir}/xfreerdp |
---|
| 155 | %{_mandir}/man1/winpr-hash.1.* |
---|
| 156 | %{_mandir}/man1/winpr-makecert.1.* |
---|
| 157 | %{_mandir}/man1/xfreerdp.1.* |
---|
[3883] | 158 | |
---|
| 159 | %files libs |
---|
| 160 | %defattr(-,root,root,-) |
---|
[12400] | 161 | %license LICENSE |
---|
| 162 | %doc README ChangeLog |
---|
[11966] | 163 | %{_libdir}/lib*.so.* |
---|
| 164 | %{_mandir}/man7/wlog.* |
---|
[3883] | 165 | |
---|
| 166 | %files devel |
---|
| 167 | %defattr(-,root,root,-) |
---|
[11966] | 168 | %{_includedir}/* |
---|
| 169 | %{_libdir}/cmake/* |
---|
| 170 | %{_libdir}/lib*.so |
---|
| 171 | %{_libdir}/pkgconfig/*.pc |
---|
[3883] | 172 | |
---|
| 173 | |
---|
| 174 | %changelog |
---|
[12513] | 175 | * Sun Dec 13 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.0-1 |
---|
| 176 | - updated to 2.2.0. |
---|
| 177 | |
---|
[12421] | 178 | * Thu Jul 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1 |
---|
| 179 | - updated to 2.1.2. |
---|
| 180 | |
---|
[12413] | 181 | * Wed May 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1 |
---|
| 182 | - updated to 2.1.1. |
---|
| 183 | |
---|
[12400] | 184 | * Sat May 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1 |
---|
| 185 | - updated to 2.1.0. |
---|
| 186 | |
---|
[11966] | 187 | * Sun Dec 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1.rc4 |
---|
| 188 | - updated to 2.0.0-RC4. |
---|
| 189 | - dropped all patches. |
---|
| 190 | - dropped subpackage 'freerdp-plugins'. |
---|
| 191 | |
---|
[9670] | 192 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-2 |
---|
| 193 | - add BuildRequires: alsa-lib-devel |
---|
| 194 | |
---|
[8966] | 195 | * Tue Sep 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.2-1 |
---|
| 196 | - update to 1.0.2 |
---|
| 197 | - fixed typo in Group |
---|
| 198 | - dropped Patch0 and Patch1 |
---|
| 199 | - added Patch2 to build with current xmlto |
---|
| 200 | |
---|
| 201 | * Mon Sep 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
[6955] | 202 | - update to 1.0.1 |
---|
| 203 | - import patches from fedora package. |
---|
| 204 | - add BRs. |
---|
| 205 | |
---|
[3883] | 206 | * Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1 |
---|
| 207 | - initial build for Vine Linux |
---|
| 208 | |
---|
| 209 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3 |
---|
| 210 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 211 | |
---|
| 212 | * Fri Jan 28 2011 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-2 |
---|
| 213 | - rebuild on rawhide because of broken dependencies |
---|
| 214 | |
---|
| 215 | * Tue Nov 16 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-1 |
---|
| 216 | - freerdp-0.8.2 |
---|
| 217 | |
---|
| 218 | * Mon Nov 08 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-2 |
---|
| 219 | - make -devel require pkgconfig |
---|
| 220 | - first official Fedora package |
---|
| 221 | |
---|
| 222 | * Sun Nov 07 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-1 |
---|
| 223 | - freerdp-0.8.1 |
---|
| 224 | |
---|
| 225 | * Sat Sep 25 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-2 |
---|
| 226 | - hack the generated libtool to not set rpath on x86_64 |
---|
| 227 | - configure with alsa explicitly |
---|
| 228 | |
---|
| 229 | * Tue Aug 24 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-1 |
---|
| 230 | - freerdp-0.7.4 |
---|
| 231 | - cleanup of packaging structure |
---|
| 232 | |
---|
| 233 | * Wed Jul 28 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.3-1 |
---|
| 234 | - 0.7.3 |
---|
| 235 | - fix some minor pylint warnings |
---|
| 236 | |
---|
| 237 | * Fri Jul 23 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.2-2 |
---|
| 238 | - 0.7.2 |
---|
| 239 | - Address many comments from cwickert: |
---|
| 240 | - - cleanup of old formatting, alignment with spectemplate-lib.spec and |
---|
| 241 | cwickert spec from #616193 |
---|
| 242 | - - add alsa as build requirement |
---|
| 243 | - - remove superfluous configure options and disable static libs |
---|
| 244 | - - add missing rpm groups |
---|
| 245 | |
---|
| 246 | * Sun Jun 13 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.0-1 |
---|
| 247 | - First official release, first review request |
---|