From: Jakub Bogusz Date: Tue, 18 Jun 2002 11:53:38 +0000 (+0000) Subject: - updated patch to 19-8-5 X-Git-Tag: RA-1_0 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=492455a5a69578af3948628361f5a03e1435a942;p=packages%2Frdesktop.git - updated patch to 19-8-5 - added srvr subpackage for testing purposes - opt+DESTDIR patch for optflags and DESTDIR support - this version uses openssl instead of gmp - new %%doc etc., release 1 Changed files: rdesktop.spec -> 1.9 --- diff --git a/rdesktop.spec b/rdesktop.spec index 49eab74..26b920d 100644 --- a/rdesktop.spec +++ b/rdesktop.spec @@ -2,16 +2,16 @@ Summary: RDP client for accessing Windows NT Terminal Server Summary(pl): Klient RDP umo¿liwiaj±cy dostêp do Terminal Serwera WinNT Name: rdesktop Version: 1.1.0 -Release: 0.1 +Release: 1 License: GPL Group: X11/Applications/Networking -Source0: http://prdownloads.sourceforge.net/rdesktop/%{name}-%{version}.tar.gz -Patch0: http://bibl4.oru.se/projects/rdesktop/%{name}-unified-patch19-8-4.bz2 -#Patch1: %{name}-opt.patch -#Patch2: %{name}-endian.patch +Source0: ftp://ftp.sourceforge.net/pub/sourceforge/rdesktop/%{name}-%{version}.tar.gz +Patch0: http://bibl4.oru.se/projects/rdesktop/%{name}-unified-patch19-8-5.bz2 +Patch1: %{name}-opt+DESTDIR.patch +Patch2: %{name}-srvr-fix.patch URL: http://www.rdesktop.org/ BuildRequires: XFree86-devel -BuildRequires: gmp-devel >= 3.1.1 +BuildRequires: openssl-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 @@ -31,13 +31,32 @@ NT. W przeciwie rozszerzenia po stronie serwera. Wsparcie dla Windows 2000 Terminal Services jest planowane. +%package srvr +Summary: RDP server (for testing purposes) +Summary(pl): Serwer RDP (do testów) +Group: X11/Applications/Networking + +%description srvr +RDP server for rdesktop testing. It currently connects as viewer to +VNC server. + +%description srvr -l pl +Serwer RDP do testowania rdesktop. Na razie u¿ywa ³±czy siê jako klient +z serwerem VNC. + %prep %setup -q %patch0 -p2 -#%patch1 -p1 -#%patch2 -p1 +%patch1 -p1 +%patch2 -p1 %build +./configure \ + --prefix=%{_prefix} \ + --with-openssl \ + --with-ssl-includes=/usr/include/openssl \ + --with-ssl-libs=/usr/lib + %{__make} \ CC="%{__cc}" \ CFLAGSOPT="%{rpmcflags}" \ @@ -45,18 +64,20 @@ Services jest planowane. %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} - -install %{name} $RPM_BUILD_ROOT%{_bindir} -install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 -gzip -9nf CHANGES readme.txt +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz -%attr(755,root,root) %{_bindir}/* +%doc CHANGES readme.txt +%attr(755,root,root) %{_bindir}/rdesktop %{_mandir}/man?/* + +%files srvr +%defattr(644,root,root,755) +%doc rdp-srvr-readme.txt +%attr(755,root,root) %{_bindir}/rdp-srvr