Sisyphus repositório
Última atualização: 17 setembro 2019 | SRPMs: 17435 | Visitas: 15113455
en ru br
ALT Linux repositórios
S:6.9.3-alt1
5.0: 5.9.1-alt1

Group :: Sistema/Bibliotecas
RPM: oniguruma

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# vim: set ft=spec: -*- rpm-spec -*-

%define pkgname onig
%define SOVERSION 2

Name: oniguruma
Version: 5.9.1
Release: alt1

Summary: Oniguruma - a regular expressions library
Group: System/Libraries
License: BSD
Url: http://www.geocities.jp/kosako3/oniguruma/

Packager: Sir Raorn <raorn at altlinux.ru>

Source: %pkgname-%version.tar
Patch: %pkgname-%version-%release.patch

%description
The characteristics of this library is that different character
encoding for every regular expression object can be specified.
(supported APIs: GNU regex, POSIX and Oniguruma native)

%package -n lib%pkgname%SOVERSION
Summary: Oniguruma - a regular expressions library
Group: System/Libraries

%description -n lib%pkgname%SOVERSION
The characteristics of this library is that different character
encoding for every regular expression object can be specified.
(supported APIs: GNU regex, POSIX and Oniguruma native)

%package -n lib%pkgname-devel
Summary: Header files for Oniguruma library
Group: Development/C
Requires: lib%pkgname%SOVERSION = %version-%release

%description -n lib%pkgname-devel
This is the package contains header files for Oniguruma
library.

%prep
%setup -n %pkgname-%version
%patch -p1
# STFU, automake
touch NEWS ChangeLog

%build
%autoreconf
%configure --disable-static
%make_build

%install
%make_install DESTDIR=%buildroot install

%post -n lib%pkgname%SOVERSION -p %post_ldconfig
%postun -n lib%pkgname%SOVERSION -p %postun_ldconfig

%files -n lib%pkgname%SOVERSION
%doc AUTHORS HISTORY README
%_libdir/libonig.so.%SOVERSION
%_libdir/libonig.so.%SOVERSION.*

%files -n lib%pkgname-devel
%doc doc/*
%_bindir/onig-config
%_libdir/libonig.so
%_includedir/onig*.h

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009