Name: onig Version: 5.9.2 Release: 1mamba Summary: A regular expressions library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco 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 5.9.2-1mamba - package created by autospec