Accepting request 247802 from home:MargueriteSu:branches:devel:languages:ruby

update version 5.9.5

OBS-URL: https://build.opensuse.org/request/show/247802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/oniguruma?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2014-09-07 09:57:31 +00:00 committed by Git OBS Bridge
parent fde7901480
commit 2da7fd61e6
5 changed files with 32 additions and 53 deletions

View File

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

3
onig-5.9.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f49ae7819a5f47e25449d0e4b010d479f7868a24a7b9884b47041b49a76438a
size 587874

View File

@ -1,4 +0,0 @@
# 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,14 @@
-------------------------------------------------------------------
Sat Sep 6 08:32:47 UTC 2014 - i@marguerite.su
- update version 5.9.5
* [impl] escape warnings for -Wall.
* [impl] remove unused variable.
- changes in 5.9.4
* [dist] add oniguruma.pc.in file
- changes in 5.9.3
* fix print_tree ENCLOSE_OPTION bug
-------------------------------------------------------------------
Sat Aug 14 22:12:55 UTC 2010 - gber@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package oniguruma
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@ -15,19 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: oniguruma
Version: 5.9.2
Release: 1
Version: 5.9.5
Release: 0
Summary: Regex Library Supporting Different Character Encodings
License: BSD-2-Clause
Group: Development/Languages/C and C++
Summary: Regex Library Supporting Different Character Encodings
Url: http://www.geocities.jp/kosako3/oniguruma/
Source: onig-%{version}.tar.bz2
Source10: %{name}-rpmlintrc
AutoReqProv: on
Source: http://www.geocities.jp/kosako3/oniguruma/archive/onig-%{version}.tar.gz
BuildRequires: pkg-config
BuildRequires: ruby-devel >= 1.8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -43,17 +40,9 @@ 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 -n libonig2
Group: Development/Languages/C and C++
Summary: Regex Library Supporting Different Character Encodings
Group: System/Libraries
%description -n libonig2
Oniguruma is a regular expressions library. The characteristics of
@ -67,18 +56,10 @@ 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
Group: Development/Languages/C and C++
Requires: libonig2 = %{version}
Obsoletes: oniguruma <= 2.5.7
%description devel
@ -96,28 +77,19 @@ 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
%setup -q -n onig-%{version}
%{__cp} -rp sample/ examples
cp -rp sample/ examples
%build
export CFLAGS="%optflags -g"
export CFLAGS="%{optflags} -g"
%configure
%{__make}
make %{?_smp_mflags}
%install
%makeinstall
%{__rm} -f %{buildroot}%{_libdir}/libonig.la
%clean
%{__rm} -rf %{buildroot}
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot}%{_libdir} -type f -name "*.a" -delete -print
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
%post -n libonig2 -p /sbin/ldconfig
@ -131,11 +103,11 @@ export CFLAGS="%optflags -g"
%defattr(-,root,root,-)
%doc AUTHORS COPYING HISTORY index.html index_ja.html README README.ja
%doc doc/* examples/
%{_libdir}/libonig.so
%{_libdir}/libonig.a
%{_bindir}/onig-config
%{_includedir}/oniguruma.h
%{_includedir}/oniggnu.h
%{_includedir}/onigposix.h
%{_bindir}/onig-config
%{_libdir}/libonig.so
%{_libdir}/pkgconfig/oniguruma.pc
%changelog