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