[bacula/f15] Remove bacula-docs

Simone Caronni slaanesh at fedoraproject.org
Wed Jan 11 15:34:25 UTC 2012


commit 3b48670b83833ea1ab088e7a2ee39bfa108c7fe5
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Wed Jan 11 16:34:17 2012 +0100

    Remove bacula-docs

 bacula.spec |   44 +-------------------------------------------
 sources     |    1 -
 2 files changed, 1 insertions(+), 44 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index d10f7e6..f73196b 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -11,7 +11,6 @@ URL:			http://www.bacula.org
 BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Source0:		http://download.sourceforge.net/bacula/bacula-%{version}.tar.gz
-Source1:		http://download.sourceforge.net/bacula/bacula-docs-%{version}.tar.bz2
 Source2:		bacula.logrotate
 Source3:		bacula-checkconf
 Source4:		bacula-fd.init
@@ -350,18 +349,6 @@ different computers. It is based on a client/server architecture.
 This development package contains static libraries and header files.
 
 
-%package docs
-Summary:		Bacula documentation
-Group:			Documentation
-
-%description docs
-Bacula is a set of programs that allow you to manage the backup,
-recovery, and verification of computer data across a network of
-different computers. It is based on a client/server architecture.
-
-This package contains the documentation for most of the bacula-packages.
-
-
 %package -n nagios-plugins-bacula
 Summary:		Nagios Plugin - check_bacula
 Group:			Applications/System
@@ -372,7 +359,6 @@ Provides check_bacula support for Nagios.
 
 %prep
 %setup -q -c -n bacula-%{version}
-%setup -q -a 1 -D -T
 
 pushd bacula-%{version}
 %patch1 -p1 -b .config
@@ -517,11 +503,6 @@ pushd bacula-postgresql
 		--with-postgresql
 popd
 
-# Build the docs
-pushd bacula-docs-%{version}
-	%configure --with-bacula=%{_builddir}/bacula-%{version}/bacula-%{version}
-	make
-popd
 
 %install
 rm -rf %{buildroot}
@@ -604,11 +585,6 @@ pushd bacula-postgresql
 	done
 popd
 
-pushd bacula-docs-%{version}
- # No install target anymore, we'll include the stuff directly in the %%files section
- #	make install DESTDIR=%{buildroot}
-popd
-
 # Fix some wrapper braindeadness
 rm -f %{buildroot}%{_libexecdir}/bacula/bconsole
 rm -f %{buildroot}%{_libexecdir}/bacula/gconsole
@@ -664,9 +640,6 @@ chmod 644 %{buildroot}%{_libexecdir}/bacula/btraceback.*
 
 # Remove extra docs
 rm -rf %{buildroot}%{_datadir}/doc/bacula/
-find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.idx" -exec rm -f {} \;
-find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.pl" -exec rm -f {} \;
-find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.tex" -exec rm -f {} \;
 
 # Install headers
 %{__mkdir_p} %{buildroot}%{_includedir}/bacula
@@ -1135,22 +1108,6 @@ fi
 %{_libdir}/libbacsql.la
 
 
-%files docs
-%defattr(-,root,root,-)
-%doc bacula-docs-%{version}/manuals/en/problems/problems.pdf
-%doc bacula-docs-%{version}/manuals/en/problems/problems
-%doc bacula-docs-%{version}/manuals/en/console/console.pdf
-%doc bacula-docs-%{version}/manuals/en/console/console
-%doc bacula-docs-%{version}/manuals/en/utility/utility.pdf
-%doc bacula-docs-%{version}/manuals/en/utility/utility
-%doc bacula-docs-%{version}/manuals/en/developers/developers.pdf
-%doc bacula-docs-%{version}/manuals/en/developers/developers
-%doc bacula-docs-%{version}/manuals/en/main/main.pdf
-%doc bacula-docs-%{version}/manuals/en/main/main
-%doc bacula-docs-%{version}/manuals/en/misc/misc.pdf
-%doc bacula-docs-%{version}/manuals/en/misc/misc
-
-
 %files -n nagios-plugins-bacula
 %defattr(-,root,root)
 %{_libdir}/nagios/plugins/check_bacula
@@ -1159,6 +1116,7 @@ fi
 %changelog
 * Wed Jan 11 2012 Simone Caronni <negativo17 at gmail.com> - 5.0.3-19
 - Add devel subpackage.
+- Split off docs subpackage.
 
 * Mon Jan 09 2012 Simone Caronni <negativo17 at gmail.com> - 5.0.3-18
 - Enable batch insert code.
diff --git a/sources b/sources
index f7a51e8..16d346d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
 9de254ae39cab0587fdb2f5d8d90b03b  bacula-5.0.3.tar.gz
-7a00557dcf0dfa40de9e74176fefd1ae  bacula-docs-5.0.3.tar.bz2


More information about the scm-commits mailing list