rpms/backup-manager/EL-5 backup-manager-0.7.7-configtpl.patch, NONE, 1.1 backup-manager.cron.daily, NONE, 1.1 backup-manager.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Guillaume Kulakowski
llaumgui at fedoraproject.org
Tue Jan 27 18:37:59 UTC 2009
- Previous message (by thread): rpms/backup-manager/F-10 backup-manager-0.7.7-configtpl.patch, NONE, 1.1 backup-manager.cron.daily, NONE, 1.1 backup-manager.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/crda/devel crda.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: llaumgui
Update of /cvs/pkgs/rpms/backup-manager/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7316/EL-5
Modified Files:
.cvsignore sources
Added Files:
backup-manager-0.7.7-configtpl.patch backup-manager.cron.daily
backup-manager.spec import.log
Log Message:
initial import branch EL5
backup-manager-0.7.7-configtpl.patch:
--- NEW FILE backup-manager-0.7.7-configtpl.patch ---
--- backup-manager-0.7.7/backup-manager.conf.tpl.configtpl 2008-04-14 19:58:43.000000000 +0200
+++ backup-manager-0.7.7/backup-manager.conf.tpl 2009-01-15 19:52:38.000000000 +0100
@@ -12,8 +12,11 @@
# Repository - everything about where archives are
#############################################################
+# RPM-specific : Enabled daily cron
+export BM_DAILY_CRON="false"
+
# Where to store the archives
-export BM_REPOSITORY_ROOT="/var/archives"
+export BM_REPOSITORY_ROOT="/var/backup-manager"
# Where to place temporary files
export BM_TEMP_DIR="/tmp"
--- NEW FILE backup-manager.cron.daily ---
#!/bin/bash
#
# backup-manager's cron script
#
# This script do backup if option BM_DAILY_CRON in config is true
BM_PATH=$(which backup-manager)
eval $(grep BM_DAILY_CRON /etc/backup-manager.conf)
if [ ${BM_DAILY_CRON} = "true" ]; then
${BM_PATH} -v
else
echo "[backup-manager] Daily cron is disabled"
fi
exit 0
--- NEW FILE backup-manager.spec ---
Name: backup-manager
Version: 0.7.7
Release: 7%{?dist}
Summary: A command line backup tool for GNU/Linux
Group: Applications/System
License: GPLv2+
URL: http://www.backup-manager.org
Source0: http://www.backup-manager.org/download/%{name}-%{version}.tar.gz
Source1: %{name}.cron.daily
Patch0: %{name}-%{version}-configtpl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: /bin/bash
Requires: /usr/bin/cdrecord
Requires: /usr/bin/logger
Requires: /usr/bin/mkisofs
Requires: bc
Requires: bzip2
Requires: coreutils
Requires: diffutils
Requires: dvd+rw-tools
Requires: less
Requires: ftp
Requires: genisoimage
Requires: gettext
Requires: gnupg
Requires: gzip
Requires: openssh-clients
Requires: rsync
Requires: sed
Requires: tar
Requires: which
%description
Backup Manager is a command line backup tool for GNU/Linux, designed to help
you make daily archives of your file system. Written in bash and perl, it can
make archives in lots of open formats (tar, gzip, bzip2, lzma, dar, zip) and
provides lots of interesting features (such as network exports or CD/DVD
automated-burning).
The program is designed to be as easy to use as possible and is popular with
desktop users and sysadmins. The whole backup process is defined in one
full-documented configuration file which needs no more than 5 minutes to tune
for your needs.
%prep
%setup -q
%patch0 -p1 -b .configtpl
# Clean Makefile
sed -i -e "s at install --owner=root --group=root @install @" Makefile
# Replace #!/bin/sh by #!/bin/bash
for file in t/*.sh; do sed -i -e "s@#!/bin/sh@#!/bin/bash@" "$file"; done
for file in doc/*; do sed -i -e "s@#!/bin/sh@#!/bin/bash@" "$file"; done
# rpmlint : Convert to utf-8
for file in AUTHORS ChangeLog COPYING NEWS README THANKS; do
mv $file timestamp
iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
touch -r timestamp $file
done
%build
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} \
PERL5DIR=%{buildroot}%{perl_vendorlib}
INSTALL="install -p"
%find_lang %{name}
# Create backup directory
install -d %{buildroot}%{_localstatedir}/%{name}
# Copy configuration
install -p -D -m 0644 %{buildroot}%{_datadir}/%{name}/%{name}.conf.tpl \
%{buildroot}%{_sysconfdir}/%{name}.conf
# Add cron.daily
install -p -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/cron.daily/%{name}.cron
# rpmlint : sanitize.sh is a non-executable-script
chmod 755 %{buildroot}%{_datadir}/%{name}/sanitize.sh
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%{_bindir}/%{name}-purge
%{_bindir}/%{name}-upload
%{_sbindir}/%{name}
%{perl_vendorlib}/BackupManager
%{_datadir}/%{name}
%{_mandir}/man8/%{name}*
%config(noreplace) %{_sysconfdir}/%{name}.conf
%{_sysconfdir}/cron.daily/%{name}.cron
%{_localstatedir}/%{name}
%changelog
* Thu Jan 15 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.7.7-7
- Replace some sed by a patch
- Replace /bin/sh by /bin/bash
* Wed Jan 13 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.7.7-6
- Fix Requires
- Fix use %%{_localstatedir} insted %%{_var}/lib
* Sun Jan 10 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.7.7-5
- Fix Requires
- Add %%{_var}/lib/backup-manager directory
- Use %%{buildroot} insted $RPM_BUILD_ROOT
* Sun Jan 10 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.7.7-4
- Fix license
- Fix timestamp in install
* Fri Oct 10 2008 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.7.7-3
- Add a daily cron (backup-manager.cron.daily)
* Wed Aug 20 2008 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.7.7-2
- utf-8 correction with Iconv
- Configuration file correction
* Sun Aug 17 2008 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.7.7-1
- Initial packaging
--- NEW FILE import.log ---
backup-manager-0_7_7-7_fc10:EL-5:backup-manager-0.7.7-7.fc10.src.rpm:1233081406
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/backup-manager/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 26 Jan 2009 22:19:44 -0000 1.1
+++ .cvsignore 27 Jan 2009 18:37:29 -0000 1.2
@@ -0,0 +1 @@
+backup-manager-0.7.7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/backup-manager/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 26 Jan 2009 22:19:44 -0000 1.1
+++ sources 27 Jan 2009 18:37:29 -0000 1.2
@@ -0,0 +1 @@
+076af845dee01453f450bd06d021fcc3 backup-manager-0.7.7.tar.gz
- Previous message (by thread): rpms/backup-manager/F-10 backup-manager-0.7.7-configtpl.patch, NONE, 1.1 backup-manager.cron.daily, NONE, 1.1 backup-manager.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/crda/devel crda.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list