]> git.pld-linux.org Git - packages/dxpc.git/blob - dxpc.spec
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
[packages/dxpc.git] / dxpc.spec
1 Summary:        dxpc - The Differential X Protocol Compressor
2 Summary(pl):    Ró¿nicowy kompresor X protoko³u
3 Name:           dxpc
4 Version:        3.7.0
5 Release:        1
6 Group:          X11/Applications/Networking
7 Group(de):      X11/Applikationen/Netzwerkwesen
8 Group(pl):      X11/Aplikacje/Sieciowe
9 License:        Distributable provided copyright and permission notices are included
10 Source0:        http://ccwf.cc.utexas.edu/~zvonler/dxpc/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-DESTDIR.patch
12 Patch1:         %{name}-socklen_t.patch
13 URL:            http://ccwf.cc.utexas.edu/~zvonler/dxpc/
14 Icon:           dxpc.logo-smaller-t.gif
15 BuildRequires:  libstdc++-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr/X11R6
19 %define         _mandir         %{_prefix}/man
20
21 %description
22 dxpc is an X protocol compressor designed to improve the speed of X11
23 applications run over low-bandwidth links.
24
25 %prep 
26 %setup -q
27 %patch0 -p1
28 %patch1 -p1
29
30 %build
31 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
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
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc *.gz
48 %doc dxpc.logo.jpg dxpc.logo-small.jpg
49 %attr(755,root,root) %{_bindir}/dxpc
50 %{_mandir}/man1/*
This page took 0.059783 seconds and 3 git commands to generate.