1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
Summary: A Differential X Protocol Compressor
%define major 3
%define minor 9.1
Name: dxpc
Version: %{major}.%{minor}
Release: 1
Source: http://www.vigor.nu/dxpc/%{version}/dxpc-%{version}.tar.gz
License: BSD, GPL
Group: X11/XFree86/Servers
Packager: Daniel Mealha Cabrita <dancab@gmx.net>
URL: http://www.vigor.nu/dxpc/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: lzo
BuildRequires: lzo-devel
%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 or ADSL).
%package -n %{name}-doc
# BuildArch: noarch
Summary: Extra documentation about dxpc
Summary(pt_BR): Documentao adicional sobre a dxpc
Summary(es): Extra documentation about dxpc
Group: Documentation
Group(pt_BR): Documentao
Group(es): Documentacin
%description -n %{name}-doc
Extra documentation on dxpc.
%prep
%setup -q
autoconf
%build
%configure
make
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
make bindir=%{buildroot}%{_bindir} man1dir=%{buildroot}%{_mandir}/man1/ prefix=%{buildroot}%{_prefix} install
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%attr(755,root,root) %{_bindir}/dxpc
%attr(644,root,root) %{_mandir}/man1/dxpc.1.gz
%files -n %{name}-doc
%defattr(0644,root,root,0755)
%doc README CHANGES TODO INSTALL
%changelog
* Sat Jan 04 2006 Daniel Mealha Cabrita <dancab@gmx.net>
- Updated to 3.9.0 sources.
- Dropped lzo2_support patch.
* Mon Dec 26 2005 Daniel Mealha Cabrita <dancab@gmx.net>
- Updated to 3.8.2 sources.
- Added patch lzo2_support.
- Changed specfile in order to be more portable.
- Fragmented packages into: dxpc and dxpc-doc.
* Tue Jul 30 2002 William Stearns <wstearns@pobox.com>
- updated to 3.8.1 sources, minor specfile improvements
* Wed Sep 29 1999 Stefano Santoro <stefano@santoro.org>
- first attempt
|