package created by autospec [release 5.9.2-1mamba;Thu Jul 26 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 08:08:36 +01:00
parent 7b99b574bc
commit 0ccc42f3d4
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# onig # onig
Oniguruma is a regular expressions library.
The characteristics of this library is that different character encoding
for every regular expression object can be specified.

77
onig.spec Normal file
View File

@ -0,0 +1,77 @@
Name: onig
Version: 5.9.2
Release: 1mamba
Summary: A regular expressions library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.geocities.jp/kosako3/oniguruma/
Source: http://www.geocities.jp/kosako3/oniguruma/archive/onig-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%package -n lib%{name}
Group: System/Libraries
Summary: A regular expressions library
%description -n lib%{name}
Oniguruma is a regular expressions library.
The characteristics of this library is that different character encoding
for every regular expression object can be specified.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libonig.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/onig-config
%{_includedir}/onig*.h
%{_libdir}/libonig.a
%{_libdir}/libonig.la
%{_libdir}/libonig.so
%doc README README.ja
%changelog
* Thu Jul 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.2-1mamba
- package created by autospec