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 http://bugs.opensuse.org/
#
Name: librcd0
Version: 0.1.13
Release: 0
Summary: Russian Charset Detection Library
License: LGPL-2.1+
Group: System/Libraries
Url: http://rusxmms.sourceforge.net
Source0: http://dside.dyndns.org/files/rusxmms/librcd-%{version}.tar.bz2
Source100: baselibs.conf
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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.
%prep
%setup -qn librcd-%{version}
%build
./autogen.sh
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
rm -f %{buildroot}%{_libdir}/*.la
rm -rf %{_builddir}/librcd-%{version}/examples/{.deps,Makefile}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/librcd.so.*
%files -n librcd-devel
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README examples
%{_includedir}/*
%{_libdir}/librcd.so
%changelog