SPECS: oniguruma.spec (NEW) - new

glen glen at pld-linux.org
Sun Jan 1 23:26:13 CET 2006


Author: glen                         Date: Sun Jan  1 22:26:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   oniguruma.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/oniguruma.spec
diff -u /dev/null SPECS/oniguruma.spec:1.1
--- /dev/null	Sun Jan  1 23:26:13 2006
+++ SPECS/oniguruma.spec	Sun Jan  1 23:26:07 2006
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+# TODO
+# - shared library
+#
+# Conditional build:
+%bcond_without	tests		# build without tests
+#
+Summary:	Oniguruma is a regular expressions library
+Name:		oniguruma
+Version:	3.9.1
+Release:	0.1
+License:	BSD
+Group:		Libraries
+Source0:	http://www.geocities.jp/kosako3/oniguruma/archive/onigd20051129.tar.gz
+# Source0-md5:	5ff638b59a75ad343b9abf1db9d57c16
+Patch0:		%{name}-DESTDIR.patch
+URL:		http://www.geocities.jp/kosako3/oniguruma/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The characteristics of this library is that different character
+encoding for every regular expression object can be specified.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%configure
+%{__make}
+%{?with_tests:%{__make} ctest}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_prefix}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING HISTORY README
+%doc %lang(ja) README.ja
+%attr(755,root,root) %{_bindir}/onig-config
+%{_includedir}/oniggnu.h
+%{_includedir}/onigposix.h
+%{_includedir}/oniguruma.h
+%{_libdir}/libonig.a
+
+%files subpackage
+%defattr(644,root,root,755)
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/01/01 22:26:07  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list