]> git.pld-linux.org Git - packages/rdesktop.git/commitdiff
- updated patch to 19-8-5 RA-1_0 rdesktop-1_1_0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 18 Jun 2002 11:53:38 +0000 (11:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

rdesktop.spec

index 49eab743cd85a649385ef316458b28fc87489b3b..26b920d1f9d6c0d764c8e2bfc693c7af4719076c 100644 (file)
@@ -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
This page took 0.081236 seconds and 4 git commands to generate.