From 0ccc42f3d442fa6db20aaf61278ac0a97bd70ee3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:08:36 +0100 Subject: [PATCH] package created by autospec [release 5.9.2-1mamba;Thu Jul 26 2012] --- README.md | 4 +++ onig.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 onig.spec diff --git a/README.md b/README.md index 4ab68fc..624c3f2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # 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. + diff --git a/onig.spec b/onig.spec new file mode 100644 index 0000000..e8a7ccd --- /dev/null +++ b/onig.spec @@ -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 +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