File oniguruma.spec of Package oniguruma

#
# spec file for package oniguruma (Version 2.5.7)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           oniguruma
BuildRequires:  ruby-devel
Version:        2.5.7
Release:        207
License:        BSD 3-Clause
Group:          Development/Languages/C and C++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://www.geocities.jp/kosako3/oniguruma/
Source:         http://www.geocities.jp/kosako3/oniguruma/archive/onigd2_5_7.tar.gz
Summary:        A regular expression library with support for different character encodings.

%description
Oniguruma is a regular expressions library.  The characteristics of
this library is that different character encoding for every regular
expression object can be specified.

Supported character encodings: ASCII, UTF-8, UTF-16BE, UTF-16LE,
UTF-32BE, UTF-32LE, EUC-JP, EUC-TW, EUC-KR, EUC-CN, Shift_JIS, Big5, GB
18030, KOI8-R, KOI8, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4,
ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9,
ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15,
ISO-8859-16.



Authors:
--------
    K. Kosako <sndgk393@ybb.ne.jp>

%prep
%setup -n oniguruma

%build
export CFLAGS="%{optflags} -g -fno-strict-aliasing"
%configure
%{__make}
%{__make} ctest ptest

%install
%{__install} -Dd -m 0755 %{buildroot}%{_prefix}
%makeinstall prefix="%{buildroot}%{_prefix}" includedir="%{buildroot}%{_includedir}" libdir="%{buildroot}%{_libdir}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_includedir}/oniggnu.h
%{_includedir}/onigposix.h
%{_includedir}/oniguruma.h
%{_libdir}/libonig.a

%changelog
* Fri Sep 29 2006 mrueckert@suse.de
- update to version 2.5.7:
  many fixes.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Dec 27 2005 mrueckert@suse.de
- Initial package of version 2.5.1