oniguruma/oniguruma.spec

73 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package oniguruma (Version 2.5.7)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, 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://bugs.opensuse.org/
#
# norootforbuild
Name: oniguruma
BuildRequires: ruby-devel
Version: 2.5.7
Release: 1
License: BSD License and BSD-like
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 -n oniguruma
* 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