1 Summary: dxpc - The Differential X Protocol Compressor
5 Group: X11/Applications/Networking
6 Group(pl): X11/Aplikacje/Sieciowe
7 License: Distributable provided copyright and permission notices are included
8 Source0: http://ccwf.cc.utexas.edu/~zvonler/dxpc/%{name}-%{version}.tar.gz
9 Patch0: dxpc-DESTDIR.patch
10 Patch1: dxpc-socklen_t.patch
11 URL: http://ccwf.cc.utexas.edu/~zvonler/dxpc/
12 Icon: dxpc.logo-smaller-t.gif
13 BuildRequires: libstdc++-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _prefix /usr/X11R6
17 %define _mandir %{_prefix}/man
20 dxpc is an X protocol compressor designed to improve the speed of X11
21 applications run over low-bandwidth links.
30 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
31 export LDFLAGS CXXFLAGS
36 rm -rf $RPM_BUILD_ROOT
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40 gzip -9nf CHANGES README TODO dxpc-3.7.0.lsm \
41 $RPM_BUILD_ROOT%{_mandir}/man1/*
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %doc dxpc.logo.jpg dxpc.logo-small.jpg
50 %attr(755,root,root) %{_bindir}/dxpc