]>
Commit | Line | Data |
---|---|---|
5a23e2b0 | 1 | Summary: dxpc - The Differential X Protocol Compressor |
283b4181 | 2 | Summary(pl.UTF-8): Różnicowy kompresor X protokołu |
5a23e2b0 | 3 | Name: dxpc |
4da48a5a | 4 | Version: 3.8.2 |
e11324bb | 5 | Release: 2 |
8f2bb8e5 | 6 | License: distributable provided copyright and permission notices are included |
5a23e2b0 | 7 | Group: X11/Applications/Networking |
4da48a5a | 8 | Source0: http://www.vigor.nu/%{name}/%{version}/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 3fbfb0e4bf769e64d27da331ecddbc9f | |
a9845f3a | 10 | Source1: %{name}.1.pl |
ff0682b5 | 11 | Patch0: %{name}-DESTDIR.patch |
e11324bb | 12 | Patch1: %{name}-lzo2.patch |
4da48a5a | 13 | URL: http://www.vigor.nu/dxpc/ |
8ee4c4a1 | 14 | BuildRequires: XFree86-devel |
cf8ad1f3 | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
482cf9d0 | 17 | BuildRequires: libstdc++-devel |
e11324bb | 18 | BuildRequires: lzo-devel >= 2.0 |
5a23e2b0 JR |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
5a23e2b0 | 21 | %description |
482cf9d0 | 22 | dxpc is an X protocol compressor designed to improve the speed of X11 |
23 | applications run over low-bandwidth links. | |
5a23e2b0 | 24 | |
f136228d JR |
25 | %description -l pl.UTF-8 |
26 | dxpc jest kompresorem X protokołu zaprojektowanym dla zwiększenia | |
27 | szybkości działania aplikacji uruchamianych przez łącza o małej | |
28 | przepustowości. | |
eb4246a3 | 29 | |
66443870 | 30 | %prep |
5a23e2b0 JR |
31 | %setup -q |
32 | %patch0 -p1 | |
e11324bb | 33 | %patch1 -p1 |
5a23e2b0 JR |
34 | |
35 | %build | |
d9ed0eb1 | 36 | cp -f /usr/share/automake/config.* . |
1a5650b2 | 37 | %{__aclocal} |
ffc68e99 | 38 | %{__autoconf} |
cf8ad1f3 | 39 | CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates" |
5a23e2b0 | 40 | %configure |
579ce91b | 41 | %{__make} |
5a23e2b0 JR |
42 | |
43 | %install | |
482cf9d0 | 44 | rm -rf $RPM_BUILD_ROOT |
b3fc21c8 | 45 | install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1 |
5a23e2b0 | 46 | |
b3fc21c8 PG |
47 | %{__make} install \ |
48 | DESTDIR=$RPM_BUILD_ROOT | |
5a23e2b0 | 49 | |
a9845f3a | 50 | install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/dxpc.1 |
51 | ||
482cf9d0 | 52 | %clean |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
5a23e2b0 JR |
55 | %files |
56 | %defattr(644,root,root,755) | |
20391073 | 57 | %doc CHANGES README TODO dxpc.logo.jpg dxpc.logo-small.jpg |
5a23e2b0 | 58 | %attr(755,root,root) %{_bindir}/dxpc |
482cf9d0 | 59 | %{_mandir}/man1/* |
a9845f3a | 60 | %lang(pl) %{_mandir}/pl/man1/* |