File jigdo.spec of Package jigdo

#
# spec file for package jigdo
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           jigdo
BuildRequires:  gcc-c++
BuildRequires:  libbz2-devel
BuildRequires:  libdb-4_5-devel
BuildRequires:  zlib-devel
Url:            http://atterer.org/jigdo/
Summary:        Jigsaw Download
License:        GPL-2.0
Group:          Productivity/Networking/Other
Version:        0.7.3
Release:        0
Source:         %{name}-%{version}.tar.bz2
Patch1:         jigdo-0.7.3-makefile-do-not-strip.patch
Patch2:		jigdo-0.7.3-makefile-paths.patch
Patch3:         jigdo-0.7.3-add-includes.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       wget

%description
Jigsaw Download, or jigdo, is an intelligent tool that can be used on
the pieces of any chopped-up big file to create a special template file
that makes reassembly of the file very easy for users who only have the
pieces. What makes jigdo special is that there are no restrictions on
what offsets or sizes the individual pieces have in the original big
image. This makes the program very well suited for distributing CD or
DVD images (or large zip or tar archives) because you can put the files
of the CD on an FTP server--when jigdo is presented the files along
with the template you generated, it is able to recreate the CD image.



Authors:
--------
    Richard Atterer <atterer@debian.org>

%prep
%setup -q
%patch1
%patch2
%patch3

%build
%configure \
	--prefix=%{_prefix} \
	--infodir=%{_infodir} \
	--mandir=%{_mandir} \
	--with-gui=no

%__make 

%install
%makeinstall
%find_lang %{name}

%clean
%__rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-, root, root)
%doc changelog COPYING README THANKS doc/*.html doc/*.txt 
%{_bindir}/*
%{_mandir}/*/*
%{_datadir}/locale/*/*/*
%{_datadir}/%{name}

%changelog
openSUSE Build Service is sponsored by