SPECS: dar.spec - force define %%with_static_libs when dar_static ...
twittner
twittner at pld-linux.org
Sat Nov 4 18:55:45 CET 2006
Author: twittner Date: Sat Nov 4 17:55:45 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- force define %%with_static_libs when dar_static is build
(building dar_static needs dat static libraries)
- %%define _noaotureq bash perl - bash and perl is esed only
by sample scripts
- added %%__gettextize - i hope that it will fix error:
make[1]: Entering directory `/home/users/builder/rpm/BUILD/dar-2.3.1/po'
/bin/sh @MKINSTALLDIRS@ /tmp/B.fe51ec/dar-2.3.1-root-builder/usr/share
---- Files affected:
SPECS:
dar.spec (1.57 -> 1.58)
---- Diffs:
================================================================
Index: SPECS/dar.spec
diff -u SPECS/dar.spec:1.57 SPECS/dar.spec:1.58
--- SPECS/dar.spec:1.57 Wed Sep 20 20:40:56 2006
+++ SPECS/dar.spec Sat Nov 4 18:55:40 2006
@@ -5,6 +5,10 @@
%bcond_without static # build without dar_static
%bcond_without static_libs # don't build static libraries
#
+%if %{with static}
+%define with_static_libs 1
+%endif
+#
Summary: dar makes backup of a directory tree and files
Summary(pl): dar - narzędzie do tworzenia kopii zapasowych drzew katalogów i plików
Name: dar
@@ -42,6 +46,9 @@
Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# don't generate `Requires' for sample scripts
+%define _noautoreq bash perl
+
%description
dar is a shell command, that makes backup of a directory tree and
files.
@@ -244,6 +251,7 @@
%patch0 -p1
%build
+%{__gettextize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
@@ -252,7 +260,7 @@
%configure \
%{!?with_ea:--disable-ea-support} \
%{!?with_static:--disable-dar-static} \
- %{!?with_static_libs:--disable-static} \
+ --enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no} \
--enable-mode=64 \
--disable-upx
%{__make}
@@ -315,6 +323,15 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.58 2006/11/04 17:55:40 twittner
+- force define %%with_static_libs when dar_static is build
+ (building dar_static needs dat static libraries)
+- %%define _noaotureq bash perl - bash and perl is esed only
+ by sample scripts
+- added %%__gettextize - i hope that it will fix error:
+ make[1]: Entering directory `/home/users/builder/rpm/BUILD/dar-2.3.1/po'
+ /bin/sh @MKINSTALLDIRS@ /tmp/B.fe51ec/dar-2.3.1-root-builder/usr/share
+
Revision 1.57 2006/09/20 18:40:56 twittner
- keep dar documentation in one place in separate `dar-doc' package
to avoid breaking html links
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dar.spec?r1=1.57&r2=1.58&f=u
More information about the pld-cvs-commit
mailing list