]>
Commit | Line | Data |
---|---|---|
5a23e2b0 JR |
1 | Summary: dxpc - The Differential X Protocol Compressor |
2 | Name: dxpc | |
3 | Version: 3.7.0 | |
4 | Release: 1 | |
5 | Group: X11/Applications/Networking | |
482cf9d0 | 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 | |
5a23e2b0 JR |
9 | Patch0: dxpc-DESTDIR.patch |
10 | Patch1: dxpc-socklen_t.patch | |
482cf9d0 | 11 | URL: http://ccwf.cc.utexas.edu/~zvonler/dxpc/ |
5a23e2b0 | 12 | Icon: dxpc.logo-smaller-t.gif |
482cf9d0 | 13 | BuildRequires: libstdc++-devel |
5a23e2b0 JR |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %define _prefix /usr/X11R6 | |
17 | %define _mandir %{_prefix}/man | |
18 | ||
19 | %description | |
482cf9d0 | 20 | dxpc is an X protocol compressor designed to improve the speed of X11 |
21 | applications run over low-bandwidth links. | |
5a23e2b0 JR |
22 | |
23 | %prep | |
24 | %setup -q | |
25 | %patch0 -p1 | |
26 | %patch1 -p1 | |
27 | ||
28 | %build | |
482cf9d0 | 29 | LDFLAGS="-s" |
30 | CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions" | |
31 | export LDFLAGS CXXFLAGS | |
5a23e2b0 JR |
32 | %configure |
33 | make | |
34 | ||
35 | %install | |
482cf9d0 | 36 | rm -rf $RPM_BUILD_ROOT |
5a23e2b0 | 37 | |
482cf9d0 | 38 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
5a23e2b0 JR |
39 | |
40 | gzip -9nf CHANGES README TODO dxpc-3.7.0.lsm \ | |
41 | $RPM_BUILD_ROOT%{_mandir}/man1/* | |
42 | ||
482cf9d0 | 43 | %clean |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
5a23e2b0 JR |
46 | %files |
47 | %defattr(644,root,root,755) | |
482cf9d0 | 48 | %doc *.gz |
5a23e2b0 JR |
49 | %doc dxpc.logo.jpg dxpc.logo-small.jpg |
50 | %attr(755,root,root) %{_bindir}/dxpc | |
482cf9d0 | 51 | %{_mandir}/man1/* |