SPECS: ibbackup.spec - add innobackup perl script

glen glen at pld-linux.org
Fri Oct 20 19:42:45 CEST 2006


Author: glen                         Date: Fri Oct 20 17:42:45 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add innobackup perl script

---- Files affected:
SPECS:
   ibbackup.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/ibbackup.spec
diff -u SPECS/ibbackup.spec:1.6 SPECS/ibbackup.spec:1.7
--- SPECS/ibbackup.spec:1.6	Fri Oct 20 19:08:20 2006
+++ SPECS/ibbackup.spec	Fri Oct 20 19:42:40 2006
@@ -1,15 +1,19 @@
 # $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
 Summary:	InnoDB Hot Backup
 Name:		ibbackup
 Version:	3.0.0
-Release:	1
-License:	restricted (http://www.innodb.com/hotbackuplicense.php)
+Release:	1.1
+License:	restricted (http://www.innodb.com/hotbackuplicense.php) / GPL v2 (innobackup)
 Group:		Applications/Databases
 Source0:	%{name}.gz
 # NoSource0-md5:	dc2c361ed2c9af01b189e3b11b9d3bc2
 NoSource:	0
-Source1:	%{name}.conf
+Source1:	http://www.innodb.com/innobackup.txt
+# Source1-md5:	50c91492fd85838598761476712dea3b
+Source2:	%{name}.conf
 URL:		http://www.innodb.com/
+BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,8 +35,9 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
-install %{name} $RPM_BUILD_ROOT%{_bindir}
-install -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
+install %{name} $RPM_BUILD_ROOT%{_bindir}/ibbackup
+install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/innobackup
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -40,6 +45,7 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/ibbackup
+%attr(755,root,root) %{_bindir}/innobackup
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ibbackup.conf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -48,6 +54,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/10/20 17:42:40  glen
+- add innobackup perl script
+
 Revision 1.6  2006/10/20 17:08:20  glen
 - add sample config
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ibbackup.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list