Blob Blame History Raw
## kde-redhat macros
%define rhversion %(perl -pe '/(\\d+)\\.?(\\d)?/; $_="$1".($2||0)' /etc/redhat-release)

Summary: A Differential X Protocol Compressor
Name:	 dxpc
Epoch:	 0
Version: 3.8.2
Release: 0.fdr.1.rh%{rhversion}
Source:	 http://www.vigor.nu/dxpc/%{version}/dxpc-%{version}.tar.gz
License: BSD
Group:   User Interface/X
URL:	 http://www.vigor.nu/dxpc/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires:	lzo-devel >= 0:1.08
BuildRequires:	XFree86-devel
Requires:	lzo >= 0:1.08

Patch1:  dxpc-3.8.2-mandir.patch

%description
dxpc is an X protocol compressor designed to improve the
speed of X11 applications run over low-bandwidth links
(such as dialup PPP connections).


%prep
%setup -q

%patch1 -p1 -b .mandir


%build
%configure %{?configure_opts}
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
%makeinstall


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README* CHANGES TODO
%{_bindir}/*
%{_mandir}/man1/*


%changelog
* Fri Jul 11 2003 Rex Dieter <rexdieter at sf.net> 0:3.8.2-0.fdr.1
- BuildRequires: XFree86-devel (fedora bug #381)

* Tue Jun 17 2003 Rex Dieter <rexdieter at sf.net> 0:3.8.2-0.fdr.0
- 3.8.2