SPECS (AC-branch): dbh.spec - 1.0.24
havner
havner at pld-linux.org
Tue Jul 4 20:16:00 CEST 2006
Author: havner Date: Tue Jul 4 18:16:00 2006 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- 1.0.24
---- Files affected:
SPECS:
dbh.spec (1.6 -> 1.6.2.1)
---- Diffs:
================================================================
Index: SPECS/dbh.spec
diff -u SPECS/dbh.spec:1.6 SPECS/dbh.spec:1.6.2.1
--- SPECS/dbh.spec:1.6 Wed Aug 27 10:47:52 2003
+++ SPECS/dbh.spec Tue Jul 4 20:15:53 2006
@@ -1,16 +1,16 @@
# $Revision$, $Date$
-%define ver 1.0
-%define rel 15
-
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Disk based hash library
Summary(pl): Biblioteka obsługująca tablice haszujące na dysku
Name: dbh
-Version: %{ver}.%{rel}
+Version: 1.0.24
Release: 1
License: LGPL
Group: Libraries
-Source0: http://dl.sourceforge.net/dbh/%{name}_%{ver}-%{rel}.tar.gz
-# Source0-md5: b4124966219088f8cd6ff02806f16725
+Source0: http://dl.sourceforge.net/dbh/%{name}-%{version}.tar.gz
+# Source0-md5: 42e122a321089f2429986d0d161ed92a
URL: http://dbh.sourceforge.net/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
@@ -39,7 +39,7 @@
Summary: Disk based hash library development files
Summary(pl): Pliki nagłówkowe biblioteki dbh
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
Obsoletes: dbh-examples
%description devel
@@ -52,7 +52,7 @@
Summary: Disk based hash static library
Summary(pl): Statyczna biblioteka dbh
Group: Development/Libraries
-Requires: %{name}-devel = %{version}
+Requires: %{name}-devel = %{version}-%{release}
%description static
Disk based hash static library.
@@ -61,14 +61,16 @@
Statyczna biblioteka dbh.
%prep
-%setup -q -n %{name}_%{ver}-%{rel}
+%setup -q
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__automake}
+%{__autoheader}
%{__autoconf}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
@@ -104,9 +106,11 @@
%{_pkgconfigdir}/*.pc
%{_examplesdir}/%{name}-%{version}
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -114,6 +118,28 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6.2.1 2006/07/04 18:15:53 havner
+- 1.0.24
+
+Revision 1.12 2005/06/15 21:14:59 witekfl
+- added header "Conditional build:"
+
+Revision 1.11 2005/06/15 20:42:31 witekfl
+- added bcond_without static_libs
+
+Revision 1.10 2005/04/02 18:47:11 qboosh
+- updated to 1.0.24
+
+Revision 1.9 2005/02/02 10:28:53 czucz
+- updated to 1.0.22
+
+Revision 1.8 2004/10/09 07:42:30 troll
+- updated to 1.0.20
+
+Revision 1.7 2004/06/22 12:25:44 jpc
+- up to 1.0-19
+- aclocal fix (package has its own macros in m4/)
+
Revision 1.6 2003/08/27 08:47:52 pascalek
- udpated to release 15
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dbh.spec?r1=1.6&r2=1.6.2.1&f=u
More information about the pld-cvs-commit
mailing list