From 9494518c5d161df28acc519730200f9bc26c4b672ea3626f9862b2bd9673389d Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 1 Jun 2011 08:41:43 +0000 Subject: [PATCH] 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 --- onig-5.9.2.tar.bz2 | 3 ++ onigd2_5_7.tar.gz | 3 -- oniguruma-rpmlintrc | 4 ++ oniguruma.changes | 10 +++++ oniguruma.spec | 105 ++++++++++++++++++++++++++++++++++---------- 5 files changed, 98 insertions(+), 27 deletions(-) create mode 100644 onig-5.9.2.tar.bz2 delete mode 100644 onigd2_5_7.tar.gz create mode 100644 oniguruma-rpmlintrc diff --git a/onig-5.9.2.tar.bz2 b/onig-5.9.2.tar.bz2 new file mode 100644 index 0000000..78dd912 --- /dev/null +++ b/onig-5.9.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:275a0e9cdf6379ba314c79ad6100837b27c908c7f4310ea343796effedcf798d +size 430732 diff --git a/onigd2_5_7.tar.gz b/onigd2_5_7.tar.gz deleted file mode 100644 index 8f8cffc..0000000 --- a/onigd2_5_7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:205b2857d77efc4caa3b98eaf91fd1cc8b8722b497df933d1fbd23f7a5186549 -size 215529 diff --git a/oniguruma-rpmlintrc b/oniguruma-rpmlintrc new file mode 100644 index 0000000..2ab0579 --- /dev/null +++ b/oniguruma-rpmlintrc @@ -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") + diff --git a/oniguruma.changes b/oniguruma.changes index db82d8a..361da9a 100644 --- a/oniguruma.changes +++ b/oniguruma.changes @@ -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 diff --git a/oniguruma.spec b/oniguruma.spec index 2a22b62..45575ad 100644 --- a/oniguruma.spec +++ b/oniguruma.spec @@ -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 # remain the property of their copyright owners, unless otherwise agreed @@ -19,15 +19,17 @@ Name: oniguruma -BuildRequires: ruby-devel -Version: 2.5.7 -Release: 207 -License: BSD 3-Clause +Version: 5.9.2 +Release: 1 +License: BSD 2-Clause 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/ -Source: http://www.geocities.jp/kosako3/oniguruma/archive/onigd2_5_7.tar.gz -Summary: A regular expression library with support for different character encodings. +Source: onig-%{version}.tar.bz2 +Source10: %{name}-rpmlintrc +AutoReqProv: on +BuildRequires: ruby-devel >= 1.8 +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Oniguruma is a regular expressions library. The characteristics of @@ -47,34 +49,89 @@ Authors: -------- K. Kosako +%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 + +%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 + + %prep -%setup -n oniguruma +%setup -q -n onig-%{version} +%{__cp} -rp sample/ examples %build -export CFLAGS="%{optflags} -g -fno-strict-aliasing" +export CFLAGS="%optflags -g" %configure %{__make} -%{__make} ctest ptest %install -%{__install} -Dd -m 0755 %{buildroot}%{_prefix} -%makeinstall prefix="%{buildroot}%{_prefix}" includedir="%{buildroot}%{_includedir}" libdir="%{buildroot}%{_libdir}" +%makeinstall +%{__rm} -f %{buildroot}%{_libdir}/libonig.la %clean %{__rm} -rf %{buildroot} -%files +%post -n libonig2 -p /sbin/ldconfig + +%postun -n libonig2 -p /sbin/ldconfig + +%files -n libonig2 %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}/onigposix.h -%{_includedir}/oniguruma.h -%{_libdir}/libonig.a +%{_bindir}/onig-config %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