Skip to content

Commit

Permalink
adapt rpm spec file for 2.0.36, test on CentOS7
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofl authored and grke committed Apr 6, 2016
1 parent 808e965 commit 85bb98d
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions rhel/SPECS/burp.spec
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
Name: burp
Summary: Burp is a network-based simple yet powerful backup and restore program for Unix and Windows.
Version: 2.0.28
Release: 4%{?dist}
Version: 2.0.36
Release: 1%{?dist}
License: GPL
URL: http://burp.grke.org/
Source0: https://github.com/grke/burp/archive/burp-%{version}.tar.bz2
Source0: https://github.com/grke/burp/archive/burp-%{version}.tar.gz
Source1: burp.init
Source2: burp.service
BuildRequires: librsync-devel, zlib-devel, openssl-devel, ncurses-devel, libacl-devel, uthash
BuildRequires: librsync-devel, zlib-devel, openssl-devel, ncurses-devel, libacl-devel, uthash, autoconf, automake, libtool, pkgconfig
Requires: openssl-perl

%define _unpackaged_files_terminate_build 0
%define _unpackaged_files_terminate_build 0

%description
Burp is a network backup and restore program, using client and server.
It uses librsync in order to save network traffic and to save on the
amount of space that is used by each backup.
It also uses VSS (Volume Shadow Copy Service) to make snapshots when
It uses librsync in order to save network traffic and to save on the
amount of space that is used by each backup.
It also uses VSS (Volume Shadow Copy Service) to make snapshots when
backing up Windows computers.

%prep
%setup -q -n %{name}-%{version}

%build
autoreconf -vif
%configure --sysconfdir=%{_sysconfdir}/%{name}
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
make install-all DESTDIR=%{buildroot}
%if ! (0%{?rhel} >= 7 || 0%{?fedora} >= 15)
mkdir -p %{buildroot}%{_initrddir}
install -p -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/
Expand Down Expand Up @@ -64,6 +65,10 @@ rm -rf %{buildroot}
%endif

%changelog
* Tue Apr 05 2016 Marco Fretz <marco.fretz@vshn.ch>
- Change Version, Test build for CentOS 7
- Version 2.0.36

* Thu Dec 10 2015 Marco Fretz <marco.fretz@gmail.com>
- Trying to build quick and dirty rpm for CentOS 7
- Version 2.0.28
Expand Down

0 comments on commit 85bb98d

Please sign in to comment.