]> git.pld-linux.org Git - packages/dxpc.git/blob - dxpc.spec
89c2fc2c47505740a59bb26c82e2b644b6ea1d1f
[packages/dxpc.git] / dxpc.spec
1 Summary:        dxpc - The Differential X Protocol Compressor
2 Name:           dxpc
3 Version:        3.7.0
4 Release:        1
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)
15
16 %define         _prefix         /usr/X11R6
17 %define         _mandir         %{_prefix}/man
18
19 %description
20 dxpc is an X protocol compressor designed to improve the speed of X11
21 applications run over low-bandwidth links.
22
23 %prep 
24 %setup -q
25 %patch0 -p1
26 %patch1 -p1
27
28 %build
29 LDFLAGS="-s"
30 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
31 export LDFLAGS CXXFLAGS
32 %configure
33 make
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40 gzip -9nf CHANGES README TODO dxpc-3.7.0.lsm \
41         $RPM_BUILD_ROOT%{_mandir}/man1/*
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc *.gz
49 %doc dxpc.logo.jpg dxpc.logo-small.jpg
50 %attr(755,root,root) %{_bindir}/dxpc
51 %{_mandir}/man1/*
This page took 0.040802 seconds and 2 git commands to generate.