]> git.pld-linux.org Git - packages/dxpc.git/blob - dxpc.spec
- s/Distibutable/distributable/ in License
[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:        3
6 License:        distributable provided copyright and permission notices are included
7 Group:          X11/Applications/Networking
8 Group(de):      X11/Applikationen/Netzwerkwesen
9 Group(pl):      X11/Aplikacje/Sieciowe
10 Source0:        http://ccwf.cc.utexas.edu/~zvonler/dxpc/%{name}-%{version}.tar.gz
11 Source1:        %{name}.1.pl
12 Patch0:         %{name}-DESTDIR.patch
13 Patch1:         %{name}-socklen_t.patch
14 Patch2:         %{name}-ac_lt.patch
15 URL:            http://ccwf.cc.utexas.edu/~zvonler/dxpc/
16 Icon:           dxpc.logo-smaller-t.gif
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
25
26 %description
27 dxpc is an X protocol compressor designed to improve the speed of X11
28 applications run over low-bandwidth links.
29
30 %description -l pl
31 dxpc jest kompresorem X protoko³u zaprojektowanym dla zwiêkszenia
32 szybko¶ci dzia³ania aplikacji uruchamianych przez ³±cza o ma³ej
33 przepustowo¶ci.
34
35 %prep 
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40
41 %build
42 libtoolize -c -f
43 aclocal
44 autoconf
45 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install DESTDIR=$RPM_BUILD_ROOT
53
54 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/dxpc.1
56
57 gzip -9nf CHANGES README TODO
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc *.gz
65 %doc dxpc.logo.jpg dxpc.logo-small.jpg
66 %attr(755,root,root) %{_bindir}/dxpc
67 %{_mandir}/man1/*
68 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.079197 seconds and 3 git commands to generate.