X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fplatforms%2Frpms%2Fsuse%2Fbacula.spec.in;h=1eaef010f9afbe7206363a1d07317fb2b053be8d;hb=01f5d952e6d2818892fbf89cac5ab980df693155;hp=effd24ac2d2c4cc3b0ed07c28ed2c2504477f636;hpb=b6a1f7208143a51f07573fe986fcea297f90944b;p=bacula%2Fbacula diff --git a/bacula/platforms/rpms/suse/bacula.spec.in b/bacula/platforms/rpms/suse/bacula.spec.in index effd24ac2d..1eaef010f9 100644 --- a/bacula/platforms/rpms/suse/bacula.spec.in +++ b/bacula/platforms/rpms/suse/bacula.spec.in @@ -1,6 +1,9 @@ # Bacula RPM spec file # -# Copyright (C) 2000-2014 Bacula Systems SA +# +# Copyright (C) 2000-2015 Kern Sibbald +# License: BSD 2-Clause; see file LICENSE-FOSS +# # Platform Build Configuration @@ -200,6 +203,10 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %{?build_su111:%define su111 1} %define su112 0 %{?build_su112:%define su112 1} +%define su121 0 +%{?build_su121:%define su121 1} +%define su423 0 +%{?build_su423:%define su423 1} # Mandrake builds %define mdk 0 %{?build_mdk:%define mdk 1} @@ -221,7 +228,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %define fed 1 %endif %define suse 0 -%if %{su9} || %{su10} || %{su102} || %{su103} || %{su110} || %{su111} || %{su112} +%if %{su9} || %{su10} || %{su102} || %{su103} || %{su110} || %{su111} || %{su112} || %{su121} || %{su423} %define suse 1 %endif %define rhel 0 @@ -700,10 +707,14 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-bgnome-console.1.%{manpage_ext} rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-bwxconsole.1.%{manpage_ext} rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-tray-monitor.1.%{manpage_ext} rm -f $RPM_BUILD_ROOT%{script_dir}/gconsole + # Storage-ctl packaged in shstore rpm rm -f $RPM_BUILD_ROOT%{script_dir}/storage-ctl rm -f $RPM_BUILD_ROOT%{script_dir}/storage-ctl.conf +# Remove libtool unneeded file +rm -f $RPM_BUILD_ROOT%{_libdir}/libbacsd.la + # fixme - make installs the mysql scripts for sqlite build %if %{sqlite} rm -f $RPM_BUILD_ROOT%{script_dir}/startmysql @@ -824,6 +835,7 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %attr(-, root, %{daemon_group}) %{script_dir}/grant_mysql_privileges %{_libdir}/libbaccats* %{_libdir}/libbacsql* +%{_libdir}/libbacsd*.so %endif %if %{sqlite} @@ -840,6 +852,7 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %{sqlite_bindir}/sqlite3 %{_libdir}/libbaccats* %{_libdir}/libbacsql* +%{_libdir}/libbacsd*.so %endif @@ -855,6 +868,7 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %attr(755, root, %{daemon_group}) %{script_dir}/grant_postgresql_privileges %{_libdir}/libbaccats* %{_libdir}/libbacsql* +%{_libdir}/libbacsd*.so %endif # The rest is DB backend independent @@ -882,11 +896,16 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-dir %attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-fd %attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-sd +%attr(-, root, %{daemon_group}) %{script_dir}/tapealert +%attr(-, root, %{daemon_group}) %{script_dir}/baculabackupreport +%attr(-, root, %{daemon_group}) %{script_dir}/query.sql + %attr(-, root, %{daemon_group}) %{plugin_dir}/bpipe-fd.so + %attr(-, root, %{daemon_group}) /etc/init.d/bacula-dir %attr(-, root, %{daemon_group}) /etc/init.d/bacula-fd + %attr(-, root, %{daemon_group}) %{_sbindir}/dbcheck -%attr(-, root, %{storage_daemon_group}) %{script_dir}/dvd-handler %attr(-, root, %{storage_daemon_group}) /etc/init.d/bacula-sd %attr(-, root, %{storage_daemon_group}) %{script_dir}/mtx-changer %attr(-, root, %{storage_daemon_group}) %config(noreplace) %{script_dir}/mtx-changer.conf @@ -902,6 +921,9 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %attr(-, root, %{daemon_group}) %config(noreplace) %{logwatch_dir}/conf/services/bacula.conf %attr(-, root, %{daemon_group}) %{script_dir}/sample-query.sql +# Bacula tray-monitor shortcut +%attr(-, root, %{daemon_group}) %{script_dir}/bacula-tray-monitor.desktop + %attr(-, %{storage_daemon_user}, %{daemon_group}) %dir %{working_dir} %attr(-, root, %{daemon_group}) %{_sbindir}/bacula-dir @@ -911,6 +933,11 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %attr(-, root, %{daemon_group}) %{_sbindir}/bsmtp %attr(-, root, %{daemon_group}) %{_sbindir}/bscan %attr(-, root, %{daemon_group}) %{_sbindir}/btape +%attr(-, root, %{daemon_group}) %{_sbindir}/bbconsjson +%attr(-, root, %{daemon_group}) %{_sbindir}/bdirjson +%attr(-, root, %{daemon_group}) %{_sbindir}/bsdjson + +%attr(755, root, %{daemon_group}) %{_sbindir}/bfdjson %{_sbindir}/bacula-fd %{_sbindir}/bacula @@ -1323,7 +1350,6 @@ fi %{_libdir}/libbac.* %{_libdir}/libbaccfg* %{_libdir}/libbacfind* -%{_libdir}/libbacpy* %post libs /sbin/ldconfig @@ -1354,3 +1380,5 @@ echo "The database update scripts were installed to %{script_dir}/updatedb" %endif %changelog +* Thu Mar 27 2014 Kern Sibbald 7.0.0-1 +- New rpm spec file for Suse