X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=bacula.spec;h=0d6a994df11a9a48ad89038f6c0ece03d25fb5b6;hb=fb445af0805a73198b90ef82ac4cbf7c7338d185;hp=025d9d7b484675b102eb07f061f960cd76d5a9db;hpb=1f6ca07d3695800a278efbaef2d3244e9787bf77;p=packages%2Fbacula.git diff --git a/bacula.spec b/bacula.spec index 025d9d7..0d6a994 100644 --- a/bacula.spec +++ b/bacula.spec @@ -4,12 +4,8 @@ # - check on upgrade (5.0 and 5.2 databases are NOT compatible) # # Conditional build: -%bcond_without console_wx # wx-console program -%if "%{pld_release}" == "ac" -%bcond_with bat # bat Qt4 GUI -%else +%bcond_with console_wx # wx-console program %bcond_without bat # bat Qt4 GUI -%endif %bcond_without mysql # use MySQL %bcond_without pgsql # use PostgreSQL %bcond_without sqlite3 # use SQLite3 @@ -26,14 +22,14 @@ Summary: Bacula - The Network Backup Solution Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci Name: bacula -Version: 5.2.6 -Release: 2 +Version: 5.2.13 +Release: 1 License: AGPL v3 Group: Networking/Utilities Source0: http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz -# Source0-md5: 914483b92539598678542bd2ddb28043 +# Source0-md5: 43417bae0c221afb1f30a581c9e0f2fe Source1: http://downloads.sourceforge.net/bacula/%{name}-docs-%{version}.tar.bz2 -# Source1-md5: 30b340fefc46c8148b1ba89cd1db60e4 +# Source1-md5: 0e7af41cc3b1c59662457679b02bf873 Source2: http://downloads.sourceforge.net/bacula/%{name}-rescue-5.0.1.tar.gz # Source2-md5: bb194aed8e204f54bf2f61d7e721f257 Source10: %{name}-dir.init @@ -482,6 +478,7 @@ QMAKE=%{_bindir}/qt4-qmake \ --with-dump-email="root@localhost" \ --with-job-email="root@localhost" \ --with-smtp-host=localhost \ + --with-logdir=/var/log/bacula \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/lock/subsys \ --with-systemd=/lib/systemd/system \ @@ -570,6 +567,7 @@ sed -e 's/gnome-console/wx-console/g;s/Console/Wx Console/g' \ # qmake somewhy does not always create install_bins target. install our own the bin rm -f $RPM_BUILD_ROOT%{_sbindir}/bat libtool --silent --mode=install install src/qt-console/bat $RPM_BUILD_ROOT%{_bindir} +cp -a scripts/bacula.png $RPM_BUILD_ROOT%{_pixmapsdir}/bacula.png cp -a scripts/bat.desktop $RPM_BUILD_ROOT%{_desktopdir} %endif @@ -807,7 +805,7 @@ ln -sf libbaccats-%{1}-%{version}.so %{_libdir}/libbaccats-%{version}.so || : \ %files dir %defattr(644,root,root,755) -%doc ChangeLog CheckList ReleaseNotes kernstodo LICENSE +%doc ChangeLog CheckList ReleaseNotes LICENSE #%doc examples %{name}-docs-%{version}/manual/{*.pdf,bacula} %attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-dir.conf %ghost %{_sysconfdir}/.pw.sed