SHA256
1
0
forked from pool/oniguruma

Accepting request 66931 from devel:languages:ruby

OBS-URL: https://build.opensuse.org/request/show/66931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oniguruma?expand=0&rev=9
This commit is contained in:
Sascha Peilicke 2011-06-01 08:41:43 +00:00 committed by Git OBS Bridge
parent 97e8398f34
commit 9494518c5d
5 changed files with 98 additions and 27 deletions

3
onig-5.9.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:275a0e9cdf6379ba314c79ad6100837b27c908c7f4310ea343796effedcf798d
size 430732

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:205b2857d77efc4caa3b98eaf91fd1cc8b8722b497df933d1fbd23f7a5186549
size 215529

4
oniguruma-rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
# library is named libonig2 according to policy and source package is named
# onigurama for historical reasons
addFilter("no-dependency-on.*oniguruma")

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Aug 14 22:12:55 UTC 2010 - gber@opensuse.org
- update to version 5.9.2:
+ many fixes
- cleanup:
+ split into liborig2 and oniguruma-devel subpackages
+ corrected license information
+ changed summary to conform with policy
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 29 04:31:53 CEST 2006 - mrueckert@suse.de Fri Sep 29 04:31:53 CEST 2006 - mrueckert@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package oniguruma (Version 2.5.7) # spec file for package oniguruma (Version 5.9.2)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,15 +19,17 @@
Name: oniguruma Name: oniguruma
BuildRequires: ruby-devel Version: 5.9.2
Version: 2.5.7 Release: 1
Release: 207 License: BSD 2-Clause
License: BSD 3-Clause
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Regex Library Supporting Different Character Encodings
Url: http://www.geocities.jp/kosako3/oniguruma/ Url: http://www.geocities.jp/kosako3/oniguruma/
Source: http://www.geocities.jp/kosako3/oniguruma/archive/onigd2_5_7.tar.gz Source: onig-%{version}.tar.bz2
Summary: A regular expression library with support for different character encodings. Source10: %{name}-rpmlintrc
AutoReqProv: on
BuildRequires: ruby-devel >= 1.8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Oniguruma is a regular expressions library. The characteristics of Oniguruma is a regular expressions library. The characteristics of
@ -47,34 +49,89 @@ Authors:
-------- --------
K. Kosako <sndgk393@ybb.ne.jp> K. Kosako <sndgk393@ybb.ne.jp>
%package -n libonig2
Group: Development/Languages/C and C++
Summary: Regex Library Supporting Different Character Encodings
%description -n libonig2
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>
%package devel
Group: Development/Languages/C and C++
Summary: Regex Library Supporting Different Character Encodings - Development Files
Requires: libonig2 = %version
Obsoletes: oniguruma <= 2.5.7
%description devel
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.
This package contains all necessary include files and libraries needed to
develop applications that require it.
Authors:
--------
K. Kosako <sndgk393@ybb.ne.jp>
%prep %prep
%setup -n oniguruma %setup -q -n onig-%{version}
%{__cp} -rp sample/ examples
%build %build
export CFLAGS="%{optflags} -g -fno-strict-aliasing" export CFLAGS="%optflags -g"
%configure %configure
%{__make} %{__make}
%{__make} ctest ptest
%install %install
%{__install} -Dd -m 0755 %{buildroot}%{_prefix} %makeinstall
%makeinstall prefix="%{buildroot}%{_prefix}" includedir="%{buildroot}%{_includedir}" libdir="%{buildroot}%{_libdir}" %{__rm} -f %{buildroot}%{_libdir}/libonig.la
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%files %post -n libonig2 -p /sbin/ldconfig
%postun -n libonig2 -p /sbin/ldconfig
%files -n libonig2
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/libonig.so.*
%files devel
%defattr(-,root,root,-)
%doc AUTHORS COPYING HISTORY index.html index_ja.html README README.ja
%doc doc/* examples/
%{_libdir}/libonig.so
%{_libdir}/libonig.a
%{_includedir}/oniguruma.h
%{_includedir}/oniggnu.h %{_includedir}/oniggnu.h
%{_includedir}/onigposix.h %{_includedir}/onigposix.h
%{_includedir}/oniguruma.h %{_bindir}/onig-config
%{_libdir}/libonig.a
%changelog %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