2006-12-19 16:20:24 +00:00
|
|
|
#
|
2011-06-15 07:10:17 +00:00
|
|
|
# spec file for package rdesktop
|
2006-12-19 16:20:24 +00:00
|
|
|
#
|
2024-01-15 18:12:17 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2006-12-19 16:20:24 +00:00
|
|
|
#
|
2008-09-24 15:27:11 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-01-29 14:26:59 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 16:20:24 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: rdesktop
|
2019-11-14 17:05:03 +00:00
|
|
|
Version: 1.9.0
|
2015-08-10 15:29:45 +00:00
|
|
|
Release: 0
|
2008-06-02 23:09:32 +00:00
|
|
|
Summary: A Remote Desktop Protocol client
|
2019-01-29 14:26:59 +00:00
|
|
|
License: GPL-3.0-or-later
|
2012-02-22 17:39:44 +00:00
|
|
|
Group: Productivity/Networking/Other
|
2019-11-14 17:32:12 +00:00
|
|
|
URL: http://www.rdesktop.org/
|
2019-01-29 14:26:59 +00:00
|
|
|
Source: https://github.com/rdesktop/rdesktop/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
2012-02-23 00:01:03 +00:00
|
|
|
## FIX-openSUSE: remove "Don't depend on pkg-config"
|
2013-08-22 17:17:05 +00:00
|
|
|
Patch0: rdesktop-fix_pkgconfig_check.patch
|
2021-02-01 09:35:20 +00:00
|
|
|
# PATCH-FIX-OPENSUSE rdesktop-convert-map.python3.patch -- seife+obs@b1-systems.com
|
2024-01-15 18:12:17 +00:00
|
|
|
Patch1: rdesktop-convert-map.python3.patch
|
2019-12-20 23:43:58 +00:00
|
|
|
# PATCH-FIX-UPSTREAM rdesktop-fix_segfault_in_rdssl_rkey_get_exp_mod.patch
|
2024-01-15 18:12:17 +00:00
|
|
|
Patch2: rdesktop-fix_segfault_in_rdssl_rkey_get_exp_mod.patch
|
|
|
|
|
# PATCH-FIX-OPENSUSE fix_C99_issue_in_configure.patch
|
|
|
|
|
Patch3: fix_C99_issue_in_configure.patch
|
|
|
|
|
# PATCH-FIX-OPENSUSE fix_dashes_in_manpage.patch
|
|
|
|
|
Patch4: fix_dashes_in_manpage.patch
|
|
|
|
|
# PATCH-FIX-OPENSUSE fix_segfault_in_utils_cert_handle_exception.patch
|
|
|
|
|
Patch5: fix_segfault_in_utils_cert_handle_exception.patch
|
|
|
|
|
# PATCH-FIX-OPENSUSE fix_wrong_string_null_terminated.patch
|
|
|
|
|
Patch6: fix_wrong_string_null_terminated.patch
|
2012-02-22 17:39:44 +00:00
|
|
|
BuildRequires: alsa-devel
|
2015-08-10 15:29:45 +00:00
|
|
|
BuildRequires: autoconf
|
2012-02-22 17:39:44 +00:00
|
|
|
BuildRequires: automake
|
2019-11-14 17:05:03 +00:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
|
BuildRequires: libXcursor-devel
|
|
|
|
|
BuildRequires: libgnutls-devel
|
2019-11-14 17:32:12 +00:00
|
|
|
BuildRequires: libnettle-devel
|
|
|
|
|
BuildRequires: libsamplerate-devel
|
|
|
|
|
BuildRequires: libtasn1-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: pcsc-lite-devel
|
2024-01-15 18:12:17 +00:00
|
|
|
BuildRequires: pkgconfig
|
2014-10-06 09:26:27 +00:00
|
|
|
BuildRequires: pkgconfig(ao)
|
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
|
BuildRequires: pkgconfig(xrandr)
|
2006-12-19 16:20:24 +00:00
|
|
|
|
|
|
|
|
%description
|
2019-02-18 14:22:52 +00:00
|
|
|
rdesktop is a client for connecting to Windows Remote Desktop
|
|
|
|
|
Services, capable of natively speaking Remote Desktop Protocol (RDP)
|
|
|
|
|
in order to present the user's Windows desktop. rdesktop is known to
|
|
|
|
|
work with Windows server versions ranging from NT 4 terminal server
|
|
|
|
|
to Windows Server 2012 R2.
|
2006-12-19 16:20:24 +00:00
|
|
|
|
|
|
|
|
%prep
|
2024-01-15 18:12:17 +00:00
|
|
|
%autosetup -p1
|
2018-02-03 20:56:26 +00:00
|
|
|
|
2012-02-22 17:39:44 +00:00
|
|
|
## rpmlint
|
|
|
|
|
# incorrect-fsf-address /usr/share/rdesktop/keymaps/convert-map
|
|
|
|
|
perl -p -i -e 's|^# Foundation.*|# Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA|' keymaps/convert-map
|
2006-12-19 16:20:24 +00:00
|
|
|
|
|
|
|
|
%build
|
2015-08-10 15:29:45 +00:00
|
|
|
autoreconf -fiv
|
|
|
|
|
CFLAGS="%{optflags} -fno-strict-aliasing" \
|
2012-02-22 17:39:44 +00:00
|
|
|
%configure \
|
2013-02-25 20:18:11 +00:00
|
|
|
--enable-smartcard \
|
2012-02-22 17:39:44 +00:00
|
|
|
--with-ipv6
|
2024-01-15 18:12:17 +00:00
|
|
|
%make_build
|
2006-12-19 16:20:24 +00:00
|
|
|
|
|
|
|
|
%install
|
2019-02-18 14:22:52 +00:00
|
|
|
%make_install STRIP=true installman
|
2015-08-10 15:29:45 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/rdesktop
|
|
|
|
|
cp -r keymaps %{buildroot}%{_datadir}/rdesktop
|
|
|
|
|
chmod -R a+r %{buildroot}%{_datadir}/rdesktop/keymaps
|
2006-12-19 16:20:24 +00:00
|
|
|
|
|
|
|
|
%files
|
2019-11-14 17:32:38 +00:00
|
|
|
%doc doc README.md
|
|
|
|
|
%license COPYING
|
2015-08-10 15:29:45 +00:00
|
|
|
%{_bindir}/rdesktop
|
|
|
|
|
%{_datadir}/rdesktop
|
2024-01-15 18:12:17 +00:00
|
|
|
%{_mandir}/man1/rdesktop.1%{?ext_man}
|
2006-12-19 16:20:24 +00:00
|
|
|
|
2007-04-25 23:17:56 +00:00
|
|
|
%changelog
|