File ucl.spec of Package ucl
#
# spec file for package ucl (Version 1.03)
#
# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: ucl
License: GPL
Group: System/Libraries
Autoreqprov: on
Version: 1.03
Release: 1
Source0: %{name}-%{version}.tar.bz2
URL: http://www.oberhumer.com/opensource/ucl/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: The UCL Compression Library
%description
This package contains portable lossless data compression library
written in ANSI C. UCL implements a number of compression algorithms
that achieve an excellent compression ratio while allowing *very* fast
decompression. Decompression requires no additional memory. UCL is
OpenSource reimplementation of some NRV compression algorithms.
Authors:
--------
Markus F.X.J. Oberhumer <markus@oberhumer.com>
%prep
%setup
%{?suse_update_config:%{suse_update_config}}
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
./configure --mandir=%{_mandir} \
--prefix=%{_prefix} \
--infodir=%{_infodir} \
--sysconfdir=%{_sysconfdir} \
--libdir=%{_libdir}
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%{_prefix}/include/ucl
%{_libdir}/*
%doc COPYING NEWS INSTALL README THANKS TODO
%changelog -n ucl
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Aug 10 2004 - tcrhak@suse.cz
- update to 1.03
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Mon Jan 14 2002 - rvasice@suse.cz
- update to version 1.01
- use %%{_libdir}
- fixed URL in spec file
* Tue Jun 19 2001 - rvasice@suse.cz
- fixed configure params
* Thu Jun 14 2001 - rvasice@suse.cz
- initial package release (version 0.92)