File librcd0.spec of Package librcd0

# spec file for package librcd0
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           librcd0
Version:        0.1.13
Release:        0
Summary:        Russian Charset Detection Library
License:        LGPL-2.1+
Group:          System/Libraries
Source100:      baselibs.conf
BuildRequires:  libtool
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Automatic encoding detection library for russian/ukrainian languages.
Optimized for very small words and phrases.

%package -n librcd-devel
Summary:        Development Files for LibRCD
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description -n librcd-devel
Development files for the package LibRCD.

%setup -qn librcd-%{version}

%configure --disable-static
make %{?_smp_mflags}

rm -f %{buildroot}%{_libdir}/*.la
rm -rf %{_builddir}/librcd-%{version}/examples/{.deps,Makefile}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files -n librcd-devel
%doc AUTHORS ChangeLog COPYING README examples

openSUSE Build Service is sponsored by