Add new docs to package

This commit is contained in:
Simone Caronni 2013-02-21 17:34:40 +01:00
parent 20c451d8fe
commit 2e1584db90
2 changed files with 9 additions and 6 deletions

View File

@ -12,7 +12,11 @@ URL: http://www.bacula.org
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source0: http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.gz
Source5: README.Fedora
Source2: quickstart_postgresql.txt
Source3: quickstart_mysql.txt
Source4: quickstart_sqlite3.txt
Source5: README
Source6: bacula.logrotate
Source7: bacula-fd.init
Source8: bacula-dir.init
@ -316,6 +320,7 @@ Provides check_bacula support for Nagios.
%patch3 -p0 -b .priv
%patch4 -p1 -b .bat-build
%patch5 -p1 -b .seg-fault
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} .
# Remove execution permissions from files we're packaging as docs later on
find updatedb -type f | xargs chmod -x
@ -385,8 +390,6 @@ pushd src/qt-console/tray-monitor
popd
%endif
cp %{SOURCE5} .
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
@ -749,8 +752,8 @@ fi
%files common
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE SUPPORT ReleaseNotes
%doc README.Fedora
%doc AUTHORS ChangeLog LICENSE SUPPORT
%doc README quickstart_*
%config(noreplace) %{_sysconfdir}/logrotate.d/bacula
%dir %{_sysconfdir}/%{name}
%dir %{_libexecdir}/%{name}
@ -905,7 +908,7 @@ fi
%changelog
* Thu Feb 21 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-2
- Removed bacula-checkconf stuff.
- Updataed README with sqlite3 and mysql how to.
- Separated postgresql, sqlite3 and mysql how to from README.
* Wed Feb 20 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-1
- Update to 5.2.13, drop upstreamed patch.