]> git.pld-linux.org Git - packages/bacula.git/blame - bacula.spec
- offcial patches
[packages/bacula.git] / bacula.spec
CommitLineData
237bfacd
JK
1# TODO:
2# - update desktop files, think about su-wrappers for console
2b68b0cb 3# - package web admin
2007449a 4# - fix log file permissions
2b68b0cb 5#
f2527d22 6# Conditional build:
2b68b0cb
AM
7%bcond_without console_wx # wx-console program
8%bcond_without gnome # gnome-console program
a0e7dec7 9%bcond_without sqlite # use sqlite
c19580f6 10%bcond_with bat # bat Qt4 GUI
a0e7dec7 11%bcond_with mysql # use mysql
e090896a 12%bcond_with pgsql # use PostgreSQL
2b68b0cb
AM
13%bcond_with python
14%bcond_with rescue
7425cb9d 15%bcond_with sqlite3 # use sqlite3 insted sqlite
aa6db71e 16%bcond_with sqlite3_sync_off # makes sqlite3 backend much faster, but less reliable
e090896a
JK
17%if %{with sqlite}
18%define _database sqlite
19%endif
20%if %{with sqlite3}
21%define _database sqlite3
22%undefine with_sqlite
23%undefine with_mysql
24%undefine with_pgsql
25%endif
26%if %{with pgsql}
27%define _database postgresql
28%undefine with_sqlite
29%undefine with_sqlite3
30%undefine with_mysql
31%endif
aeaed87e 32%if %{with mysql}
e090896a 33%define _database mysql
aeaed87e 34%undefine with_sqlite
35%undefine with_sqlite3
e090896a 36%undefine with_pgsql
aeaed87e 37%undefine with_sqlite3_sync_off
38%endif
f2527d22 39#
bb6e7dc5 40Summary: Bacula - The Network Backup Solution
6a00efc0 41Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
bb6e7dc5 42Name: bacula
c19580f6 43Version: 2.2.4
c4265a25 44Release: 0.2
5ce18635 45Epoch: 0
237bfacd 46License: extended GPL v2
52504a6d 47Group: Networking/Utilities
bb6e7dc5 48Source0: http://dl.sourceforge.net/bacula/%{name}-%{version}.tar.gz
c19580f6 49# Source0-md5: 2e3bbac3bf8b6d4c0825997c3009f18f
41ac7784 50Source1: http://dl.sourceforge.net/bacula/%{name}-docs-%{version}.tar.bz2
c19580f6 51# Source1-md5: 115f7276ad5dda8060ac0f9595372cef
52Source2: http://dl.sourceforge.net/bacula/%{name}-rescue-2.2.4.tar.gz
53# Source2-md5: a5416d1e9ebd13af8e53f35e4d77bc3e
5ce18635
AM
54Source10: %{name}-dir.init
55Source11: %{name}-fd.init
56Source12: %{name}-sd.init
57Source13: %{name}.logrotate
4280e495
JK
58Source14: %{name}-dir.sysconfig
59Source15: %{name}-fd.sysconfig
60Source16: %{name}-sd.sysconfig
329073aa 61Patch0: %{name}-dvd-handler_path.patch
38a7d6ba
JK
62Patch1: %{name}-link.patch
63Patch2: %{name}-compile.patch
64Patch3: %{name}-wx28.patch
aa6db71e 65Patch4: %{name}-sqlite3_init_query.patch
c4265a25 66
67Patch10: %{name}-2.2.4-ansi-label.patch
68Patch11: %{name}-2.2.4-lost-block.patch
69Patch12: %{name}-2.2.4-parse-command.patch
70Patch13: %{name}-2.2.4-poll-mount.patch
71Patch14: %{name}-2.2.4-replace.patch
72Patch15: %{name}-2.2.4-restore.patch
73Patch16: %{name}-2.2.4-sd-auth-fail.patch
74Patch17: %{name}-2.2.4-sql.patch
75Patch18: %{name}-2.2.4-verify.patch
76
bb6e7dc5 77URL: http://www.bacula.org/
cc01862b 78BuildRequires: acl-static
f2337569 79BuildRequires: automake
7425cb9d
JK
80%if %{with rescue}
81BuildRequires: fakeroot
82%endif
cc01862b 83BuildRequires: glibc-static
e75759f3 84%if %{with gnome}
237bfacd
JK
85BuildRequires: libgnome-devel >= 2.0
86BuildRequires: libgnomeui-devel >= 2.0
e75759f3 87%endif
cc01862b
JB
88BuildRequires: libstdc++-static
89BuildRequires: libwrap-static
d907cd57 90BuildRequires: mtx
cc01862b 91BuildRequires: ncurses-devel
bb6e7dc5 92BuildRequires: openssl-devel
c74b041d 93BuildRequires: openssl-static
bb6e7dc5 94BuildRequires: pkgconfig
7425cb9d
JK
95%if %{with python}
96BuildRequires: python-static
97%endif
c19580f6 98%if %{with bat}
e3dd858d 99BuildRequires: qwt-devel
100BuildRequires: QtGui-devel
c19580f6 101%endif
bb6e7dc5 102BuildRequires: readline-devel
52504a6d 103BuildRequires: rpmbuild(macros) >= 1.268
cc01862b 104BuildRequires: sed >= 4.0
aeaed87e 105%{?with_sqlite3:BuildRequires: sqlite3-devel}
106%{?with_sqlite:BuildRequires: sqlite-devel}
107%{?with_mysql:BuildRequires: mysql-devel}
e090896a 108%{?with_pgsql:BuildRequires: postgresql-devel}
1376b552 109%if %{with console_wx}
7425cb9d 110BuildRequires: wxGTK2-unicode-devel >= 2.4.0
1376b552 111%endif
bb6e7dc5 112BuildRequires: zlib-devel
1376b552 113BuildRequires: zlib-static
bb6e7dc5
AM
114BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
115
116%define _sysconfdir /etc/%{name}
1a72afd2 117%define _localstatedir /var/lib/%{name}
bb6e7dc5 118
b60fe5cb
ER
119# dependency section is broken. ccache usage is instead to makefiles
120%undefine with_ccache
121
bb6e7dc5
AM
122%description
123Bacula - It comes by night and sucks the vital essence from your
124computers.
125
126Bacula is a set of computer programs that permit you (or the system
127administrator) to manage backup, recovery, and verification of
128computer data across a network of computers of different kinds. In
129technical terms, it is a network client/server based backup program.
130Bacula is relatively easy to use and efficient, while offering many
131advanced storage management features that make it easy to find and
5ce18635 132recover lost or damaged files.
bb6e7dc5 133
192fbfcf
JR
134%description -l pl.UTF-8
135Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
cc01862b 136
192fbfcf
JR
137Bacula to zbiór programów umożliwiających administratorowi na
138zarządzanie kopiami zapasowymi, odzyskiwaniem i weryfikacją danych w
139sieci komputerów różnego rodzaju. W terminologii technicznej jest to
140program do kopii zapasowych pracujący w architekturze klient-serwer.
141Bacula jest stosunkowo łatwa w użyciu i wydajna, oferując przy tym
142wiele zaawansowanych możliwości przy zarządzaniu nośnikami,
143ułatwiających znalezienie i odzyskanie utraconych lub uszkodzonych
144plików.
cc01862b 145
5ce18635
AM
146%package common
147Summary: Common files for bacula package
6a00efc0 148Summary(pl.UTF-8): Pliki wspólne dla pakietu bacula
bb6e7dc5 149Group: Networking/Utilities
237bfacd
JK
150Requires(post): openssl-tools
151Requires(post): sed >= 4.0
1bd568e8 152Requires(post,preun): /sbin/chkconfig
65253ffd
JK
153Requires(postun): /usr/sbin/groupdel
154Requires(postun): /usr/sbin/userdel
1b0a2248 155Requires(pre): /usr/sbin/groupadd
156Requires(pre): /usr/sbin/useradd
abdcd1c5
JB
157Conflicts: bacula-console < 0:1.34.6
158Conflicts: bacula-dir < 0:1.34.6
159Conflicts: bacula-fd < 0:1.34.6
160Conflicts: bacula-sd < 0:1.34.6
bb6e7dc5 161
5ce18635 162%description common
bb6e7dc5
AM
163Bacula - It comes by night and sucks the vital essence from your
164computers.
165
166Bacula is a set of computer programs that permit you (or the system
167administrator) to manage backup, recovery, and verification of
168computer data across a network of computers of different kinds. In
169technical terms, it is a network client/server based backup program.
170Bacula is relatively easy to use and efficient, while offering many
171advanced storage management features that make it easy to find and
5ce18635 172recover lost or damaged files.
bb6e7dc5 173
192fbfcf
JR
174%description common -l pl.UTF-8
175Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
cc01862b 176
192fbfcf
JR
177Bacula to zbiór programów umożliwiających administratorowi na
178zarządzanie kopiami zapasowymi, odzyskiwaniem i weryfikacją danych w
179sieci komputerów różnego rodzaju. W terminologii technicznej jest to
180program do kopii zapasowych pracujący w architekturze klient-serwer.
181Bacula jest stosunkowo łatwa w użyciu i wydajna, oferując przy tym
182wiele zaawansowanych możliwości przy zarządzaniu nośnikami,
183ułatwiających znalezienie i odzyskanie utraconych lub uszkodzonych
184plików.
cc01862b 185
5ce18635
AM
186%package dir
187Summary: Bacula Director and Catalog services
6a00efc0 188Summary(pl.UTF-8): Usługi Bacula Director i Catalog
5ce18635 189Group: Networking/Utilities
237bfacd 190Requires(post): sed >= 4.0
abdcd1c5
JB
191Requires: %{name}-common = %{epoch}:%{version}-%{release}
192Obsoletes: bacula-updatedb
bb6e7dc5 193
5ce18635
AM
194%description dir
195Bacula - It comes by night and sucks the vital essence from your
196computers.
197
198Bacula Director is the program that supervises all the backup,
199restore, verify and archive operations. The system administrator uses
200the Bacula Director to schedule backups and to recover files. Catalog
201services are comprised of the software programs responsible for
202maintaining the file indexes and volume databases for all files backed
203up. The Catalog services permit the System Administrator or user to
204quickly locate and restore any desired file, since it maintains a
205record of all Volumes used, all Jobs run, and all Files saved. This
cece716a 206build requires sqlite%{?with_sqlite3:3} to be installed separately as the catalog
5ce18635
AM
207database.
208
192fbfcf
JR
209%description dir -l pl.UTF-8
210Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
cc01862b 211
192fbfcf 212Bacula Director to program nadzorujący wszystkie operacje wykonywania
cc01862b 213kopii zapasowych, odzyskiwania, weryfikacji i archiwizowania.
192fbfcf
JR
214Administrator używa Bacula Directora do szeregowania kopii zapasowych
215oraz odzyskiwania plików. Usługi katalogowe (Catalog services) są
216używane przez programy odpowiedzialne za zarządzanie indeksami plików
217i bazą danych wolumenów dla wszystkich kopiowanych plików. Usługi
218katalogowe umożliwiają administratorowi lub użytkownikowi szybko
219zlokalizować i odtworzyć dowolny plik, ponieważ utrzymują rekord ze
220wszystkimi używanymi wolumenami, uruchomionymi zadaniami i zapisanymi
e090896a 221plikami. Pakiet wymaga %{_database} zainstalowanego oddzielnie jako bazy
cc01862b
JB
222danych dla katalogu.
223
5ce18635
AM
224%package console
225Summary: Bacula Console
6a00efc0 226Summary(pl.UTF-8): Konsola Baculi
5ce18635 227Group: Networking/Utilities
237bfacd 228Requires(post): sed >= 4.0
abdcd1c5 229Requires: %{name}-common = %{epoch}:%{version}-%{release}
5ce18635
AM
230
231%description console
232Bacula - It comes by night and sucks the vital essence from your
233computers.
234
235Bacula Console is the program that allows the administrator or user to
236communicate with the Bacula Director. This is the text only console
237interface.
238
192fbfcf
JR
239%description console -l pl.UTF-8
240Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
cc01862b 241
192fbfcf
JR
242Bacula Console to program umożliwiający administratorowi lub
243użytkownikowi komunikowanie się z programem Bacula Director. To jest
cc01862b
JB
244interfejs czysto tekstowy.
245
5ce18635 246%package console-wx
cc01862b 247Summary: Bacula wxWidgets Console
6a00efc0 248Summary(pl.UTF-8): Konsola Baculi oparta na wxWidgets
5ce18635 249Group: Networking/Utilities
237bfacd 250Requires(post): sed >= 4.0
abdcd1c5 251Requires: %{name}-common = %{epoch}:%{version}-%{release}
5ce18635
AM
252
253%description console-wx
254Bacula - It comes by night and sucks the vital essence from your
255computers.
256
257Bacula Console is the program that allows the administrator or user to
cc01862b 258communicate with the Bacula Director. This is the wxWidgets GUI
5ce18635
AM
259interface.
260
192fbfcf
JR
261%description console-wx -l pl.UTF-8
262Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
cc01862b 263
192fbfcf
JR
264Bacula Console to program umożliwiający administratorowi lub
265użytkownikowi komunikowanie się z programem Bacula Director. To jest
cc01862b
JB
266interfejs graficzny oparty na wxWidgets.
267
237bfacd
JK
268%package console-gnome
269Summary: Bacula GNOME Console
6a00efc0 270Summary(pl.UTF-8): Konsola Baculi oparta dla GNOME
237bfacd 271Group: Networking/Utilities
237bfacd 272Requires(post): sed >= 4.0
abdcd1c5 273Requires: %{name}-common = %{epoch}:%{version}-%{release}
237bfacd
JK
274
275%description console-gnome
276Bacula - It comes by night and sucks the vital essence from your
277computers.
278
279Bacula Console is the program that allows the administrator or user to
1bd568e8 280communicate with the Bacula Director. This is the GNOME GUI interface.
237bfacd 281
192fbfcf
JR
282%description console-gnome -l pl.UTF-8
283Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
237bfacd 284
192fbfcf
JR
285Bacula Console to program umożliwiający administratorowi lub
286użytkownikowi komunikowanie się z programem Bacula Director. To jest
237bfacd
JK
287interfejs graficzny oparty na GNOME.
288
289%package tray-monitor
290Summary: Bacula Tray Monitor
291Group: Networking/Utilities
237bfacd 292Requires(post): sed >= 4.0
abdcd1c5 293Requires: %{name}-common = %{epoch}:%{version}-%{release}
237bfacd
JK
294
295%description tray-monitor
296Bacula - It comes by night and sucks the vital essence from your
297computers.
298
1b0a2248 299The Monitor program is typically an icon in the system tray. However,
300once the icon is expanded into a full window, the administrator or
301user can obtain status information about the Director or the backup
302status on the local workstation or any other Bacula daemon that is
303configured.
237bfacd 304
5ce18635
AM
305%package fd
306Summary: Bacula File services (Client)
6a00efc0 307Summary(pl.UTF-8): Usługi Bacula File (klient)
5ce18635 308Group: Networking/Utilities
237bfacd 309Requires(post): sed >= 4.0
abdcd1c5 310Requires: %{name}-common = %{epoch}:%{version}-%{release}
5ce18635
AM
311
312%description fd
313Bacula - It comes by night and sucks the vital essence from your
314computers.
315
316Bacula File services (or Client program) is the software program that
317is installed on the machine to be backed up. It is specific to the
318operating system on which it runs and is responsible for providing the
319file attributes and data when requested by the Director. The File
320services are also responsible for the file system dependent part of
321restoring the file attributes and data during a recovery operation.
322This program runs as a daemon on the machine to be backed up, and in
323some of the documentation, the File daemon is referred to as the
324Client (for example in Bacula configuration file).
325
192fbfcf
JR
326%description fd -l pl.UTF-8
327Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
328
329Usługi Bacula File (inaczej program kliencki) to oprogramowanie, które
330instaluje się na maszynach, z których mają być wykonywane kopie
331zapasowe. Są one specyficzne dla systemu operacyjnego, pod którym
332działa dana maszyna i odpowiadają za dostarczanie atrybutów i danych
333plików na żądanie Directora. Usługi plikowe są także odpowiedzialne za
334zależną od systemu plików część odzyskiwania atrybutów i danych plików
335podczas operacji odzyskiwania danych. Program działa jako demon na
336maszynie, która ma być backupowana i w części dokumentacji demon ten
337(File) jest nazywany klientem (na przykład w pliku konfiguracyjnym
cc01862b
JB
338Baculi).
339
5ce18635
AM
340%package sd
341Summary: Bacula Storage services
6a00efc0 342Summary(pl.UTF-8): Usługi Bacula Storage
5ce18635 343Group: Networking/Utilities
237bfacd 344Requires(post): sed >= 4.0
abdcd1c5 345Requires: %{name}-common = %{epoch}:%{version}-%{release}
329073aa 346Conflicts: dvd+rw-tools <= 5.21.4.10.8-1
5ce18635
AM
347
348%description sd
349Bacula - It comes by night and sucks the vital essence from your
350computers.
351
352Bacula Storage services consist of the software programs that perform
353the storage and recovery of the file attributes and data to the
354physical backup media or volumes. In other words, the Storage daemon
355is responsible for reading and writing your tapes (or other storage
356media, e.g. files). The Storage services runs as a daemon on the
357machine that has the backup device (usually a tape drive).
bb6e7dc5 358
192fbfcf
JR
359%description sd -l pl.UTF-8
360Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
cc01862b 361
192fbfcf
JR
362Usługi Bacula Storage składają się z programów obsługujących
363przechowywanie danych oraz odzyskiwanie atrybutów i danych na
364fizycznych nośnikach lub wolumenach. Innymi słowy, demon Storage jest
365odpowiedzialny za odczyt i zapis taśm (lub innych nośników do
366przechowywania danych, np. plików). Usługi Storage działają jako demon
367na maszynie, która zawiera urządzenie backupowe (zwykle napęd
368taśmowy).
cc01862b 369
5ce18635 370%package rescue
bb6e7dc5 371Summary: Bacula - The Network Backup Solution
6a00efc0 372Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
bb6e7dc5 373Group: Networking/Utilities
cc01862b 374Requires: %{name}-fd = %{epoch}:%{version}-%{release}
bb6e7dc5
AM
375Requires: coreutils
376Requires: util-linux
bb6e7dc5
AM
377
378%description rescue
379Bacula - It comes by night and sucks the vital essence from your
380computers.
381
382Bacula is a set of computer programs that permit you (or the system
383administrator) to manage backup, recovery, and verification of
384computer data across a network of computers of different kinds. In
385technical terms, it is a network client/server based backup program.
386Bacula is relatively easy to use and efficient, while offering many
387advanced storage management features that make it easy to find and
cc01862b 388recover lost or damaged files.
bb6e7dc5
AM
389
390This package installs scripts for disaster recovery and builds rescue
1b0a2248 391floppy disk for bare metal recovery.
237bfacd 392
cd23ba7c
ER
393To make the bacula rescue disk run "./make_rescue_disk
394--copy-static-bacula
395- --copy-etc-files" from the %{_sysconfdir}/rescue directory. To
396 recreate the rescue information for this system run ./getdiskinfo
397 again.
cc01862b 398
192fbfcf
JR
399%description rescue -l pl.UTF-8
400Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
cc01862b 401
192fbfcf
JR
402Bacula to zbiór programów umożliwiających administratorowi na
403zarządzanie kopiami zapasowymi, odzyskiwaniem i weryfikacją danych w
404sieci komputerów różnego rodzaju. W terminologii technicznej jest to
405program do kopii zapasowych pracujący w architekturze klient-serwer.
406Bacula jest stosunkowo łatwa w użyciu i wydajna, oferując przy tym
407wiele zaawansowanych możliwości przy zarządzaniu nośnikami,
408ułatwiających znalezienie i odzyskanie utraconych lub uszkodzonych
409plików.
cc01862b 410
192fbfcf 411Ten pakiet zawiera skrypty do odtwarzania po awarii i tworzy dyskietkę
1b0a2248 412ratunkowe do odtwarzania systemu od zera.
cc01862b 413
192fbfcf 414Aby stworzyć dyskietkę ratunkową Baculi, należy uruchomić "./make_rescue_disk
cc01862b 415--copy-static-bacula - --copy-etc-files" z katalogu
192fbfcf
JR
416%{_sysconfdir}/rescue . Aby ponownie utworzyć informacje ratunkowe dla
417danego systemu, należy ponownie uruchomić ./getdiskinfo .
bb6e7dc5 418
bb6e7dc5 419%prep
7425cb9d 420%setup -q -a 1
329073aa 421%patch0 -p1
2007449a 422%patch1 -p1
41ac7784 423#%patch2 -p1
424#%patch3 -p1
425#%patch4 -p1
aa6db71e 426
c4265a25 427%patch10 -p0
428%patch11 -p0
429%patch12 -p0
430%patch13 -p0
431%patch14 -p0
432%patch15 -p0
433%patch16 -p0
434%patch17 -p0
435%patch18 -p0
436
437
783dd8b1 438tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue
7425cb9d 439sed -i -e 's#wx-config#wx-gtk2-unicode-config#g' configure*
2b68b0cb 440sed -i -e 's#-lreadline -lhistory -ltermcap#-lreadline -lhistory#g' configure*
10650249
AM
441sed -i -e 's#bindir=.*#bindir=%{_bindir}#g' \
442 src/cats/create_* src/cats/delete_* src/cats/drop_* \
443 src/cats/grant_* src/cats/make_* src/cats/update_*
237bfacd 444sed -i -e 's/@hostname@/--hostname--/' src/*/*.conf.in
bb6e7dc5
AM
445
446%build
e7f64ac8 447cp -f %{_datadir}/automake/config.sub autoconf
1bd568e8 448CPPFLAGS="-I/usr/include/ncurses -I%{_includedir}/readline"
bb6e7dc5 449%configure \
5ce18635 450 --with-scriptdir=%{_libexecdir}/%{name} \
e75759f3 451 --%{!?with_gnome:dis}%{?with_gnome:en}able-gnome \
c19580f6 452 %{?with_bat:--enable-bat} \
bb6e7dc5 453 --disable-conio \
5ce18635 454 --enable-smartalloc \
e3dd858d 455 %{?with_console_wx:--enable-bwx-console} \
237bfacd 456 --enable-tray-monitor \
2007449a 457 %{?with_python:--with-python} \
bb6e7dc5
AM
458 --with-readline \
459 --with-tcp-wrappers \
460 --with-working-dir=%{_var}/lib/%{name} \
461 --with-dump-email="root@localhost" \
462 --with-job-email="root@localhost" \
463 --with-smtp-host=localhost \
464 --with-pid-dir=/var/run \
465 --with-subsys-dir=/var/lock/subsys \
e090896a 466 --with-%{_database} \
aa6db71e 467 %{?with_sqlite3_sync_off:--enable-extra-sqlite3-init="pragma synchronous=0;"} \
237bfacd
JK
468 --with-dir-password="#FAKE-dir-password#" \
469 --with-fd-password="#FAKE-fd-password#" \
470 --with-sd-password="#FAKE-sd-password#" \
471 --with-mon-dir-password="#FAKE-mon-dir-password#" \
472 --with-mon-fd-password="#FAKE-mon-fd-password#" \
473 --with-mon-sd-password="#FAKE-mon-sd-password#" \
2b68b0cb 474 --with-openssl
bb6e7dc5
AM
475%{__make}
476
2b68b0cb
AM
477%if %{with rescue}
478cd rescue
479%configure \
480 --with-bacula=../
481cd linux/cdrom
482fakeroot %{__make}
483%endif
484
bb6e7dc5
AM
485%install
486rm -rf $RPM_BUILD_ROOT
487
237bfacd
JK
488install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig}
489install -d $RPM_BUILD_ROOT%{_sysconfdir}/rescue
490install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_mandir},%{_bindir}}
bb6e7dc5
AM
491
492%{__make} install \
493 DESTDIR=$RPM_BUILD_ROOT
494
d907cd57 495# static daemon
41ac7784 496#strip -R.comment -R.note src/filed/static-bacula-fd
497#install src/filed/static-bacula-fd $RPM_BUILD_ROOT%{_sysconfdir}/rescue/bacula-fd
d907cd57 498
5ce18635
AM
499install %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-dir
500install %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-fd
501install %{SOURCE12} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-sd
1a72afd2 502install %{SOURCE13} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-dir
4280e495
JK
503install %{SOURCE14} $RPM_BUILD_ROOT/etc/sysconfig/bacula-dir
504install %{SOURCE15} $RPM_BUILD_ROOT/etc/sysconfig/bacula-fd
505install %{SOURCE16} $RPM_BUILD_ROOT/etc/sysconfig/bacula-sd
d907cd57 506
cacc89f5
AZ
507%if %{with console_wx}
508# tray-monitor is for regular users
509mv $RPM_BUILD_ROOT%{_sbindir}/bacula-tray-monitor $RPM_BUILD_ROOT%{_bindir}
510
d907cd57 511install scripts/bacula.png $RPM_BUILD_ROOT%{_pixmapsdir}/bacula.png
237bfacd
JK
512install src/tray-monitor/generic.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/bacula-tray-monitor.xpm
513install scripts/bacula.desktop.gnome2 $RPM_BUILD_ROOT%{_desktopdir}/bacula.desktop
514sed -e 's/gnome-console/wx-console/g;s/Console/Wx Console/g' \
515 scripts/bacula.desktop.gnome2 > $RPM_BUILD_ROOT%{_desktopdir}/bacula-wx.desktop
516sed -e 's#%{_sbindir}#%{_bindir}#' \
517 scripts/bacula-tray-monitor.desktop > $RPM_BUILD_ROOT%{_desktopdir}/bacula-tray-monitor.desktop
cacc89f5 518%endif
d907cd57 519
2b68b0cb 520%if %{with rescue}
d907cd57 521# install the rescue stuff, these are the rescue scripts
237bfacd
JK
522install rescue/linux/floppy/backup.etc.list $RPM_BUILD_ROOT%{_sysconfdir}/rescue
523install rescue/linux/floppy/*_* $RPM_BUILD_ROOT%{_sysconfdir}/rescue
524install rescue/linux/floppy/getdiskinfo $RPM_BUILD_ROOT%{_sysconfdir}/rescue
525install rescue/linux/floppy/sfdisk.bz2 $RPM_BUILD_ROOT%{_sysconfdir}/rescue
2b68b0cb 526%endif
bb6e7dc5
AM
527
528# install the updatedb scripts
237bfacd 529install updatedb/update_sqlite* $RPM_BUILD_ROOT%{_libexecdir}/%{name}
d907cd57 530
237bfacd
JK
531# place for site passwords
532touch $RPM_BUILD_ROOT%{_sysconfdir}/{dir-password,fd-password,sd-password}
533touch $RPM_BUILD_ROOT%{_sysconfdir}/{mon-dir-password,mon-fd-password,mon-sd-password}
bb6e7dc5 534
1a72afd2
AM
535# some file changes
536rm -f $RPM_BUILD_ROOT%{_libexecdir}/%{name}/{gconsole,startmysql,stopmysql,bacula,bconsole,fd}
537rm -f $RPM_BUILD_ROOT%{_sbindir}/static-bacula-fd
d5d063ee 538%if !%{with console_wx}
1376b552 539rm -f $RPM_BUILD_ROOT%{_desktopdir}/bacula-wx.desktop
1376b552 540%endif
1a72afd2
AM
541touch $RPM_BUILD_ROOT%{_sysconfdir}/.pw.sed
542
f2337569
JB
543%clean
544rm -rf $RPM_BUILD_ROOT
545
5ce18635 546%pre common
fbc59152
ER
547%groupadd -P %{name}-common -g 136 -r -f bacula
548%useradd -P %{name}-common -u 136 -r -d /var/lib/bacula -s /bin/false -c "Bacula User" -g bacula bacula
5ce18635 549
237bfacd
JK
550%post common
551echo "Updating bacula passwords and names..."
552cd /etc/bacula
553for f in *-password ; do
fbc59152 554 if [ ! -s $f ] ; then
237bfacd
JK
555 openssl rand -base64 33 > $f
556 fi
557 p=`cat $f`
b41d8966 558 for cf in *.conf *.conf.rpmnew ; do
237bfacd
JK
559 [ -f $cf ] && sed -i -e"s:#FAKE-$f#:$p:" "$cf" || :
560 done
561done
b41d8966 562for cf in *.conf *.conf.rpmnew ; do
237bfacd
JK
563 [ -f $cf ] && sed -i -e"s:--hostname--:`hostname`:" "$cf" || :
564done
565
5ce18635 566%postun common
28c9f5d0
AM
567if [ "$1" = "0" ]; then
568 %userremove bacula
569 %groupremove bacula
570fi
5ce18635
AM
571
572%post dir
573umask 077
1a72afd2 574[ -s %{_localstatedir}/bacula.db ] && \
9aa69d51 575 DB_VER=`echo "select * from Version;" | \
cece716a 576 %{_bindir}/sqlite%{?with_sqlite3:3} %{_localstatedir}/bacula.db | tail -n 1 2>/dev/null`
5ce18635
AM
577if [ -z "$DB_VER" ]; then
578# grant privileges and create tables
9aa69d51 579 %{_libexecdir}/%{name}/grant_bacula_privileges > dev/null
580 %{_libexecdir}/%{name}/create_bacula_database > dev/null
581 %{_libexecdir}/%{name}/make_bacula_tables > dev/null
2007449a 582elif [ "$DB_VER" -lt "9" ]; then
9aa69d51 583 echo "Backing up bacula tables"
cece716a 584 echo ".dump" | sqlite%{?with_sqlite3:3} %{_localstatedir}/bacula.db | bzip2 > %{_localstatedir}/bacula_backup.sql.bz2
9aa69d51 585 echo "Upgrading bacula tables"
cece716a
JK
586 %if %{with sqlite3}
587 type=sqlite3
588 if [ "$DB_VER" -lt "9" ]; then
589 %{_libexecdir}/%{name}/update_${type}_tables_8_to_9
590 fi
aeaed87e 591 %endif
592 %if %{with sqlite}
cece716a
JK
593 type=sqlite
594 if [ "$DB_VER" -lt "9" ]; then
595 if [ "$DB_VER" -lt "8" ]; then
596 if [ "$DB_VER" -lt "7" ]; then
597 if [ "$DB_VER" -lt "6" ]; then
598 if [ "$DB_VER" -lt "5" ]; then
599 %{_libexecdir}/%{name}/update_${type}_tables_4_to_5
600 fi
601 %{_libexecdir}/%{name}/update_${type}_tables_5_to_6
2007449a 602 fi
cece716a 603 %{_libexecdir}/%{name}/update_${type}_tables_6_to_7
2b68b0cb 604 fi
cece716a 605 %{_libexecdir}/%{name}/update_${type}_tables_7_to_8
237bfacd 606 fi
cece716a 607 %{_libexecdir}/%{name}/update_${type}_tables_8_to_9
9aa69d51 608 fi
cece716a 609 %endif
9aa69d51 610 %{_libexecdir}/%{name}/update_bacula_tables
611 echo "If bacula works correctly you can remove the backup file %{_localstatedir}/bacula_backup.sql.bz2"
bb6e7dc5 612fi
28c9f5d0
AM
613chown -R bacula:bacula %{_localstatedir}
614chmod -R u+rX,go-rwx %{_localstatedir}/*
bb6e7dc5 615
237bfacd
JK
616echo "Updating Bacula passwords and names..."
617cd /etc/bacula
618for f in *-password ; do
619 p=`cat $f`
329073aa 620 sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 621done
329073aa 622sed -i -e"s:--hostname--:`hostname`:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 623
1a72afd2 624/sbin/chkconfig --add bacula-dir
52504a6d 625%service bacula-dir restart "Bacula Director daemon"
bb6e7dc5 626
5ce18635 627%preun dir
1a72afd2 628if [ "$1" = "0" ]; then
52504a6d 629 %service bacula-dir stop
9aa69d51 630 /sbin/chkconfig --del bacula-dir
1a72afd2 631fi
bb6e7dc5 632
5ce18635 633%post fd
237bfacd
JK
634echo "Updating Bacula passwords and names..."
635cd /etc/bacula
636for f in *-password ; do
637 p=`cat $f`
329073aa 638 sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 639done
329073aa 640sed -i -e"s:--hostname--:`hostname`:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 641
1a72afd2 642/sbin/chkconfig --add bacula-fd
52504a6d 643%service bacula-fd restart "Bacula File daemon"
bb6e7dc5 644
5ce18635 645%preun fd
1a72afd2 646if [ "$1" = "0" ]; then
52504a6d 647 %service bacula-fd stop
9aa69d51 648 /sbin/chkconfig --del bacula-fd
1a72afd2 649fi
5ce18635
AM
650
651%post sd
237bfacd
JK
652echo "Updating Bacula passwords and names..."
653cd /etc/bacula
654for f in *-password ; do
655 p=`cat $f`
329073aa 656 sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 657done
329073aa 658sed -i -e"s:--hostname--:`hostname`:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 659
1a72afd2 660/sbin/chkconfig --add bacula-sd
52504a6d 661%service bacula-sd restart "Bacula Storage daemon"
bb6e7dc5 662
5ce18635 663%preun sd
1a72afd2 664if [ "$1" = "0" ]; then
52504a6d 665 %service bacula-sd stop
9aa69d51 666 /sbin/chkconfig --del bacula-sd
1a72afd2 667fi
5ce18635
AM
668
669%pre console
670if [ -e %{_sysconfdir}/console.conf -a ! -e %{_sysconfdir}/bconsole.conf ]; then
9aa69d51 671 mv %{_sysconfdir}/console.conf %{_sysconfdir}/bconsole.conf
bb6e7dc5
AM
672fi
673
237bfacd
JK
674%post console
675echo "Updating Bacula passwords and names..."
676cd /etc/bacula
677for f in *-password ; do
678 p=`cat $f`
329073aa 679 sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 680done
329073aa 681sed -i -e"s:--hostname--:`hostname`:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd
JK
682
683%post console-wx
684echo "Updating Bacula passwords and names..."
685cd /etc/bacula
686for f in *-password ; do
687 p=`cat $f`
329073aa 688 sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 689done
329073aa 690sed -i -e"s:--hostname--:`hostname`:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd
JK
691
692%post console-gnome
693echo "Updating Bacula passwords and names..."
694cd /etc/bacula
695for f in *-password ; do
696 p=`cat $f`
329073aa 697 sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 698done
329073aa 699sed -i -e"s:--hostname--:`hostname`:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd
JK
700
701%post tray-monitor
702echo "Updating Bacula passwords and names..."
703cd /etc/bacula
704for f in *-password ; do
705 p=`cat $f`
329073aa 706 sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
237bfacd 707done
329073aa 708sed -i -e"s:--hostname--:`hostname`:" *.conf *.conf.rpmnew 2>/dev/null || :
bb6e7dc5 709
bb6e7dc5
AM
710%post rescue
711# link our current installed conf file to the rescue directory
f2337569 712ln -sf %{_sysconfdir}/bacula-fd.conf %{_sysconfdir}/rescue/bacula-fd.conf
bb6e7dc5
AM
713
714# run getdiskinfo
715echo "Creating rescue files for this system..."
d907cd57 716cd %{_sysconfdir}/rescue
bb6e7dc5
AM
717./getdiskinfo
718
719%preun rescue
720# remove the files created after the initial rpm installation
f2337569
JB
721if [ "$1" = "0" ]; then
722 rm -f %{_sysconfdir}/rescue/bacula-fd.conf
723 rm -f %{_sysconfdir}/rescue/partition.*
724 rm -f %{_sysconfdir}/rescue/format.*
725 rm -f %{_sysconfdir}/rescue/mount_drives
726 rm -f %{_sysconfdir}/rescue/start_network
727 rm -f %{_sysconfdir}/rescue/sfdisk
728 rm -rf %{_sysconfdir}/rescue/diskinfo/*
729fi
bb6e7dc5 730
5ce18635
AM
731%files common
732%defattr(644,root,root,755)
237bfacd 733%doc LICENSE
1a72afd2 734%dir %{_sysconfdir}
1b0a2248 735%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*-password
79d0fef6 736%attr(755,root,root) %{_sbindir}/bsmtp
7425cb9d 737%attr(755,root,root) %{_sbindir}/btraceback
c74b041d 738%{_mandir}/man8/bacula.8*
7425cb9d
JK
739%{_mandir}/man1/bsmtp.1*
740%{_mandir}/man8/btraceback.8*
5ce18635 741%dir %{_libexecdir}/%{name}
1376b552 742%{_libexecdir}/%{name}/btraceback.dbx
5ce18635 743%{_libexecdir}/%{name}/btraceback.gdb
d6dbe33c 744%attr(770,root,bacula) %dir %{_localstatedir}
5ce18635
AM
745
746%files dir
bb6e7dc5 747%defattr(644,root,root,755)
237bfacd 748%doc ChangeLog CheckList ReleaseNotes kernstodo LICENSE
28647453 749#%doc examples %{name}-docs-%{version}/manual/{*.pdf,bacula}
1b0a2248 750%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-dir.conf
1a72afd2 751%ghost %{_sysconfdir}/.pw.sed
28c9f5d0 752%attr(640,root,root) %config(noreplace) /etc/logrotate.d/bacula-dir
1a72afd2 753%attr(754,root,root) /etc/rc.d/init.d/bacula-dir
cd23ba7c 754%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bacula-dir
5ff0b6a3 755%attr(755,root,root) %{_sbindir}/bacula-dir
cacc89f5
AZ
756%attr(755,root,root) %{_sbindir}/bregex
757%attr(755,root,root) %{_sbindir}/bwild
5ce18635 758%attr(755,root,root) %{_sbindir}/dbcheck
79d0fef6 759%{_mandir}/man8/bacula-dir.8*
7425cb9d 760%{_mandir}/man8/dbcheck.8*
79d0fef6 761%{_libexecdir}/%{name}/query.sql
7425cb9d
JK
762%if %{with sqlite3}
763%attr(755,root,root) %{_libexecdir}/%{name}/create_sqlite3_database
764%attr(755,root,root) %{_libexecdir}/%{name}/drop_sqlite3_database
765%attr(755,root,root) %{_libexecdir}/%{name}/drop_sqlite3_tables
766%attr(755,root,root) %{_libexecdir}/%{name}/grant_sqlite3_privileges
767%attr(755,root,root) %{_libexecdir}/%{name}/make_sqlite3_tables
768%attr(755,root,root) %{_libexecdir}/%{name}/update_sqlite3_*
aeaed87e 769%endif
770%if %{with sqlite}
f0a88766 771%attr(755,root,root) %{_libexecdir}/%{name}/create_sqlite_database
772%attr(755,root,root) %{_libexecdir}/%{name}/drop_sqlite_database
773%attr(755,root,root) %{_libexecdir}/%{name}/drop_sqlite_tables
774%attr(755,root,root) %{_libexecdir}/%{name}/grant_sqlite_privileges
775%attr(755,root,root) %{_libexecdir}/%{name}/make_sqlite_tables
7425cb9d
JK
776%attr(755,root,root) %{_libexecdir}/%{name}/update_sqlite_*
777%endif
aeaed87e 778%if %{with mysql}
779%attr(755,root,root) %{_libexecdir}/%{name}/create_mysql_database
780%attr(755,root,root) %{_libexecdir}/%{name}/drop_mysql_database
781%attr(755,root,root) %{_libexecdir}/%{name}/drop_mysql_tables
782%attr(755,root,root) %{_libexecdir}/%{name}/grant_mysql_privileges
783%attr(755,root,root) %{_libexecdir}/%{name}/make_mysql_tables
784%attr(755,root,root) %{_libexecdir}/%{name}/update_mysql_*
785%endif
e090896a
JK
786%if %{with pgsql}
787%attr(755,root,root) %{_libexecdir}/%{name}/create_postgresql_database
788%attr(755,root,root) %{_libexecdir}/%{name}/drop_postgresql_database
789%attr(755,root,root) %{_libexecdir}/%{name}/drop_postgresql_tables
790%attr(755,root,root) %{_libexecdir}/%{name}/grant_postgresql_privileges
791%attr(755,root,root) %{_libexecdir}/%{name}/make_postgresql_tables
792%attr(755,root,root) %{_libexecdir}/%{name}/update_postgresql_*
793%endif
f0a88766 794%attr(755,root,root) %{_libexecdir}/%{name}/create_bacula_database
795%attr(755,root,root) %{_libexecdir}/%{name}/drop_bacula_database
796%attr(755,root,root) %{_libexecdir}/%{name}/drop_bacula_tables
797%attr(755,root,root) %{_libexecdir}/%{name}/grant_bacula_privileges
798%attr(755,root,root) %{_libexecdir}/%{name}/make_bacula_tables
799%attr(755,root,root) %{_libexecdir}/%{name}/update_bacula_tables
800%attr(755,root,root) %{_libexecdir}/%{name}/make_catalog_backup
801%attr(755,root,root) %{_libexecdir}/%{name}/delete_catalog_backup
5ce18635
AM
802
803%files fd
804%defattr(644,root,root,755)
237bfacd 805%doc LICENSE
1b0a2248 806%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-fd.conf
1a72afd2 807%attr(754,root,root) /etc/rc.d/init.d/bacula-fd
cd23ba7c 808%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bacula-fd
5ff0b6a3 809%attr(755,root,root) %{_sbindir}/bacula-fd
79d0fef6 810%{_mandir}/man8/bacula-fd.8*
5ce18635
AM
811
812%files sd
813%defattr(644,root,root,755)
237bfacd 814%doc LICENSE
1a72afd2 815%dir %{_sysconfdir}
1b0a2248 816%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-sd.conf
1a72afd2 817%attr(754,root,root) /etc/rc.d/init.d/bacula-sd
cd23ba7c 818%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bacula-sd
5ff0b6a3
AM
819%attr(755,root,root) %{_sbindir}/bacula-sd
820%attr(755,root,root) %{_sbindir}/bcopy
821%attr(755,root,root) %{_sbindir}/bextract
822%attr(755,root,root) %{_sbindir}/bls
823%attr(755,root,root) %{_sbindir}/bscan
824%attr(755,root,root) %{_sbindir}/btape
329073aa 825%attr(755,root,root) %{_libexecdir}/%{name}/mtx-changer
150db1c2 826%attr(755,root,root) %{_libexecdir}/%{name}/disk-changer
329073aa 827%attr(755,root,root) %{_libexecdir}/%{name}/dvd-handler
5ce18635 828%{_mandir}/man8/bacula-sd.8*
7425cb9d
JK
829%{_mandir}/man8/bcopy.8*
830%{_mandir}/man8/bextract.8*
831%{_mandir}/man8/bls.8*
832%{_mandir}/man8/bscan.8*
833%{_mandir}/man8/btape.8*
5ce18635
AM
834
835%files console
bb6e7dc5 836%defattr(644,root,root,755)
237bfacd 837%doc LICENSE
1b0a2248 838%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bconsole.conf
1a72afd2 839%attr(755,root,root) %{_sbindir}/bconsole
7425cb9d 840%{_mandir}/man8/bconsole.8*
5ce18635 841
1376b552 842%if %{with console_wx}
5ce18635
AM
843%files console-wx
844%defattr(644,root,root,755)
237bfacd 845%doc LICENSE
1a72afd2 846%{_pixmapsdir}/%{name}.png
237bfacd 847%{_desktopdir}/bacula-wx.desktop
e3dd858d 848%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwx-console.conf
849%attr(755,root,root) %{_sbindir}/bwx-console
850%{_mandir}/man1/bacula-bwxconsole.1*
1376b552 851%endif
bb6e7dc5 852
e75759f3 853%if %{with gnome}
237bfacd
JK
854%files console-gnome
855%defattr(644,root,root,755)
856%doc LICENSE
857%{_pixmapsdir}/%{name}.png
858%{_desktopdir}/bacula.desktop
e3dd858d 859%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bgnome-console.conf
860%attr(755,root,root) %{_sbindir}/bgnome-console
861%{_mandir}/man1/bacula-bgnome-console.1*
e75759f3 862%endif
237bfacd 863
cacc89f5 864%if %{with console_wx}
237bfacd
JK
865%files tray-monitor
866%defattr(644,root,root,755)
867%doc LICENSE
868%{_pixmapsdir}/%{name}-tray-monitor.xpm
869%{_desktopdir}/%{name}-tray-monitor.desktop
cd23ba7c 870%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tray-monitor.conf
237bfacd 871%attr(755,root,root) %{_bindir}/bacula-tray-monitor
7425cb9d 872%{_mandir}/man1/bacula-tray-monitor.1*
cacc89f5 873%endif
237bfacd 874
2b68b0cb 875%if %{with rescue}
bb6e7dc5
AM
876%files rescue
877%defattr(644,root,root,755)
c741b8e0 878%doc LICENSE
4280e495 879%dir %{_sysconfdir}/rescue
1b0a2248 880%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/backup.etc.list
881%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/bacula-fd
882%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/format_floppy
883%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/getdiskinfo
884%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/make_rescue_disk
885%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/restore_bacula
886%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/restore_etc
887%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/run_grub
888%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/run_lilo
889%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/sfdisk.bz2
2b68b0cb 890%endif
This page took 0.181597 seconds and 4 git commands to generate.