
%define name libunicode
%define version 0.7
%define release 1
%define prefix /usr
Summary : Library for manipulating Unicode characters and strings.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <okki@wanadoo.fr>
URL: http://www.bowerbird.com.au
Group: System Environment/Libraries
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
Libunicode offers low-level Unicode (UTF-16) text processing functionality.
It uses ISO/IEC 10646-defined UTF-16 encoding for storing and manipulating
all character entities. It will support other encoding standards
(e.g., UTF-8, ISO 8859-x, etc.) for input and output only. Libunicode is based,
where applicable, on "Single Unix Specification, Version 2(R)" (susv2)
as API and semantics reference.

%package devel
Summary : Development files for applications that use libunicode
Group: Development/Libraries

%description devel
Development files for applications that use libunicode

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure --prefix=/usr

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/*

%files
%defattr (-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README

/usr/lib/*.so.*


%files devel
%defattr(-,root,root)

/usr/include/*
/usr/lib/*.a
/usr/lib/*.la
/usr/lib/*.so


%changelog

* Mon Aug 28 2000 Georges Seguin okki@wanadoo.fr 
- First RPM
