From: Witold Filipczyk Date: Tue, 14 Jan 2014 18:29:13 +0000 (+0100) Subject: - up to 5.0.7 X-Git-Tag: auto/th/dbh-5.0.7-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fdbh.git;a=commitdiff_plain;h=5e61905f159639f20c43ba8c669cb2f9c579364d - up to 5.0.7 - added am.patch - ghost soname symlink --- diff --git a/dbh.spec b/dbh.spec index af9c5cc..6087fdb 100644 --- a/dbh.spec +++ b/dbh.spec @@ -5,12 +5,13 @@ Summary: Disk based hash library Summary(pl.UTF-8): Biblioteka obsługująca tablice haszujące na dysku Name: dbh -Version: 4.5.0 +Version: 5.0.7 Release: 1 License: LGPL Group: Libraries Source0: http://dl.sourceforge.net/dbh/%{name}-%{version}.tar.gz -# Source0-md5: 52b4b0d5ee0513dc796e989220c11bc6 +# Source0-md5: 15e1bd22aca735415dfb5ec60f48181b +Patch0: am.patch URL: http://dbh.sourceforge.net/ BuildRequires: autoconf >= 2.52 BuildRequires: automake @@ -62,13 +63,14 @@ Statyczna biblioteka dbh. %prep %setup -q +%patch0 -p1 %build %{__libtoolize} %{__aclocal} -I m4 -%{__automake} -%{__autoheader} %{__autoconf} +%{__autoheader} +%{__automake} %configure \ %{!?with_static_libs:--disable-static} @@ -82,8 +84,8 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} DESTDIR=$RPM_BUILD_ROOT cd examples +install filesystem.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} install simple_hash.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -install trafico.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT @@ -95,13 +97,14 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc AUTHORS ChangeLog %attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/lib*.so.0 %files devel %defattr(644,root,root,755) -%doc doc/*.html %attr(755,root,root) %{_libdir}/lib*.so +%{_gtkdocdir}/dbh %{_libdir}/lib*.la -%{_includedir}/*.h +%{_includedir}/dbh %{_pkgconfigdir}/*.pc %{_examplesdir}/%{name}-%{version}