SPECS: oniguruma.spec - update to 4.5.1
glen
glen at pld-linux.org
Mon Nov 20 00:17:57 CET 2006
Author: glen Date: Sun Nov 19 23:17:57 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update to 4.5.1
---- Files affected:
SPECS:
oniguruma.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/oniguruma.spec
diff -u SPECS/oniguruma.spec:1.2 SPECS/oniguruma.spec:1.3
--- SPECS/oniguruma.spec:1.2 Mon Jan 9 18:52:01 2006
+++ SPECS/oniguruma.spec Mon Nov 20 00:17:50 2006
@@ -1,20 +1,13 @@
# $Revision$, $Date$
-# TODO
-# - shared library
-#
-# Conditional build:
-%bcond_without tests # build without tests
-#
Summary: Oniguruma - a regular expressions library
Summary(pl): Oniguruma - biblioteka wyrażeń regularnych
Name: oniguruma
-Version: 3.9.1
-Release: 0.1
+Version: 4.5.1
+Release: 1
License: BSD
Group: Libraries
-Source0: http://www.geocities.jp/kosako3/oniguruma/archive/onigd20051129.tar.gz
-# Source0-md5: 5ff638b59a75ad343b9abf1db9d57c16
-Patch0: %{name}-DESTDIR.patch
+Source0: http://www.geocities.jp/kosako3/oniguruma/archive/onig-%{version}.tar.gz
+# Source0-md5: ba3dd9caeca80afff318a1897c46327f
URL: http://www.geocities.jp/kosako3/oniguruma/
BuildRequires: autoconf
BuildRequires: automake
@@ -28,16 +21,31 @@
Biblioteka Oniguruma charakteryzuje się tym, że można podać inne
kodowanie znaków dla każdego obiektu wyrażenia regularnego.
+%package devel
+Summary: Header files for Oniguruma library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This is the package containing the header files for Oniguruma library.
+
+%package static
+Summary: Static Oniguruma library
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static Oniguruma library.
+
%prep
-%setup -q -n %{name}
-%patch0 -p1
+%setup -q -n onig-%{version}
%build
%{__aclocal}
%{__autoconf}
+%{__automake}
%configure
%{__make}
-%{?with_tests:%{__make} ctest}
%install
rm -rf $RPM_BUILD_ROOT
@@ -49,14 +57,25 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
-%doc COPYING HISTORY README
+%doc HISTORY README
%doc %lang(ja) README.ja
+%attr(755,root,root) %{_prefix}/lib/libonig.so.1.0.0
+
+%files devel
+%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/onig-config
+%{_libdir}/libonig.la
%{_includedir}/oniggnu.h
%{_includedir}/onigposix.h
%{_includedir}/oniguruma.h
+
+%files static
+%defattr(644,root,root,755)
%{_libdir}/libonig.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -65,6 +84,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2006/11/19 23:17:50 glen
+- update to 4.5.1
+
Revision 1.2 2006/01/09 17:52:01 qboosh
- pl, cleanup
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/oniguruma.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list