SPECS: bacula.spec - add without gnome
areq
areq at pld-linux.org
Sun Oct 16 13:21:36 CEST 2005
Author: areq Date: Sun Oct 16 11:21:36 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add without gnome
---- Files affected:
SPECS:
bacula.spec (1.27 -> 1.28)
---- Diffs:
================================================================
Index: SPECS/bacula.spec
diff -u SPECS/bacula.spec:1.27 SPECS/bacula.spec:1.28
--- SPECS/bacula.spec:1.27 Mon May 30 17:43:29 2005
+++ SPECS/bacula.spec Sun Oct 16 13:21:30 2005
@@ -3,6 +3,7 @@
# TODO:
# - update desktop files, think about su-wrappers for console
%bcond_with console_wx #Enable console-wx program
+%bcond_without gnome #Enable gnome console program
Summary: Bacula - The Network Backup Solution
Summary(pl): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
@@ -29,8 +30,10 @@
BuildRequires: acl-static
BuildRequires: automake
BuildRequires: glibc-static
+%if %{with gnome}
BuildRequires: libgnome-devel >= 2.0
BuildRequires: libgnomeui-devel >= 2.0
+%endif
BuildRequires: libstdc++-static
BuildRequires: libwrap-static
BuildRequires: mtx
@@ -355,7 +358,7 @@
CPPFLAGS="-I%{_includedir}/ncurses -I%{_includedir}/readline"
%configure \
--with-scriptdir=%{_libexecdir}/%{name} \
- --enable-gnome \
+ --%{!?with_gnome:dis}%{?with_gnome:en}able-gnome \
--disable-conio \
--enable-smartalloc \
%{?with_console_wx:--enable-wx-console} \
@@ -721,6 +724,7 @@
%{_mandir}/man1/wx-console.1*
%endif
+%if %{with gnome}
%files console-gnome
%defattr(644,root,root,755)
%doc LICENSE
@@ -729,6 +733,7 @@
%attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/gnome-console.conf
%attr(755,root,root) %{_sbindir}/gnome-console
#%{_mandir}/man1/gnome-console.1*
+%endif
%files tray-monitor
%defattr(644,root,root,755)
@@ -760,6 +765,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.28 2005/10/16 11:21:30 areq
+- add without gnome
+
Revision 1.27 2005/05/30 15:43:29 zawadaa
- add bcond: console_wx - disable by default
- now bacula can build AC - wx-console is not critical
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/bacula.spec?r1=1.27&r2=1.28&f=u
More information about the pld-cvs-commit
mailing list