]> git.pld-linux.org Git - packages/bacula.git/commitdiff
- rel 2; switch to mysql (it's recommended for serious tasks); fix mysql/wxwidgets... auto/th/bacula-2_2_6-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 24 Nov 2007 18:16:45 +0000 (18:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bacula.spec -> 1.77

bacula.spec

index 946e967ce2d7061a666fefbd30b405ae49712da1..9ea75ca22d064ae598360360acbe5363b1e1adee 100644 (file)
@@ -6,9 +6,9 @@
 # Conditional build:
 %bcond_without console_wx      # wx-console program
 %bcond_without gnome           # gnome-console program
-%bcond_without sqlite          # use sqlite
+%bcond_with    sqlite          # use sqlite
 %bcond_without bat             # bat Qt4 GUI
-%bcond_with    mysql           # use mysql
+%bcond_without mysql           # use mysql
 %bcond_with    pgsql           # use PostgreSQL
 %bcond_with    python
 %bcond_with    rescue
@@ -41,7 +41,7 @@ Summary:      Bacula - The Network Backup Solution
 Summary(pl.UTF-8):     Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
 Name:          bacula
 Version:       2.2.6
-Release:       1
+Release:       2
 Epoch:         0
 License:       extended GPL v2
 Group:         Networking/Utilities
@@ -60,9 +60,8 @@ Source15:     %{name}-fd.sysconfig
 Source16:      %{name}-sd.sysconfig
 Patch0:                %{name}-dvd-handler_path.patch
 Patch1:                %{name}-link.patch
-Patch2:                %{name}-compile.patch
-Patch3:                %{name}-wx28.patch
-Patch4:                %{name}-sqlite3_init_query.patch
+Patch2:                %{name}-mysql.patch
+Patch3:                %{name}-tinfo-readline.patch
 URL:           http://www.bacula.org/
 BuildRequires: acl-static
 BuildRequires: automake
@@ -434,13 +433,11 @@ danego systemu, należy ponownie uruchomić ./getdiskinfo .
 
 %patch0 -p1
 %patch1 -p1
-#%patch2 -p1
-#%patch3 -p1
-#%patch4 -p1
+%patch2 -p1
+%patch3 -p1
 
 tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue
-sed -i -e 's#wx-config#wx-gtk2-unicode-config#g' configure*
-sed -i -e 's#-lreadline -lhistory -ltermcap#-lreadline -lhistory#g' configure*
+
 sed -i -e 's#bindir=.*#bindir=%{_bindir}#g' \
        src/cats/create_* src/cats/delete_* src/cats/drop_* \
        src/cats/grant_* src/cats/make_* src/cats/update_*
@@ -448,7 +445,11 @@ sed -i -e 's/@hostname@/--hostname--/' src/*/*.conf.in
 
 %build
 cp -f %{_datadir}/automake/config.sub autoconf
+cd autoconf && %{__aclocal} -I bacula-macros -I gettext-macros && cd ..
+%{__autoconf} --prepend-include=$(pwd)/autoconf autoconf/configure.in > configure
+
 CPPFLAGS="-I/usr/include/ncurses -I%{_includedir}/readline"
+WXCONFIG=%{_bindir}/wx-gtk2-unicode-config \
 %configure \
        --with-scriptdir=%{_libexecdir}/%{name} \
        --%{!?with_gnome:dis}%{?with_gnome:en}able-gnome \
@@ -466,6 +467,7 @@ CPPFLAGS="-I/usr/include/ncurses -I%{_includedir}/readline"
        --with-smtp-host=localhost \
        --with-pid-dir=/var/run \
        --with-subsys-dir=/var/lock/subsys \
+       --enable-batch-insert \
        --with-%{_database} \
        %{?with_sqlite3_sync_off:--enable-extra-sqlite3-init="pragma synchronous=0;"} \
        --with-dir-password="#FAKE-dir-password#" \
This page took 0.137703 seconds and 4 git commands to generate.