File jigdo.spec of Package jigdo

#
# spec file for package jigdo (Version 0.7.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild
# usedforbuild    aaa_base acl attr audit-libs autoconf automake bash binutils bzip2 coreutils cpio cpp cpp42 cracklib curl-ca-bundle cvs diffutils file filesystem fillup findutils gawk gcc gcc-c++ gcc42 gcc42-c++ gdbm gettext gettext-devel glibc glibc-devel glibc-locale grep groff gzip info insserv less libacl libattr libbz2-1 libbz2-devel libcurl-devel libcurl4 libdb-4_5 libdb-4_5-devel libgcc42 libgomp42 libidn libidn-devel libltdl-3 libmudflap42 libopenssl-devel libopenssl0_9_8 libreadline5 libstdc++42 libstdc++42-devel libtool libuuid1 libvolume_id libxcrypt libzio linux-kernel-headers m4 make man mktemp ncurses net-tools netcfg openssl-certs pam pam-modules patch perl perl-base permissions popt rpm sed sysvinit tar texinfo timezone util-linux wget zlib zlib-devel

Name:           jigdo
BuildRequires:  gcc-c++ libbz2-devel zlib-devel libdb-4_5-devel
Url:            http://atterer.net/jigdo/
License:        GPL v2 or later
Group:          Productivity/Networking/Other
AutoReqProv:    on
Summary:        Jigsaw Download
Version:        0.7.3
Release:        63
Source:         %{name}-%{version}.tar.bz2
Patch:          %{name}.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 <richard@atterer.net>

%prep
%setup -q
%patch

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

%install
make install DESTDIR=$RPM_BUILD_ROOT
%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
* Sat Feb 28 2009 - andreas.stieger@gmx.de
- added find_lang macro
- fix build on post-10.3 by adding header files to jigdo.patch 
- added zlib-devel to BuildRequires
- added libdb-4_5-devel to BuildRequires
- removed curl-devel from BuildRequires
- removed db_devel from BuildRequires
- removed wget from BuildRequires
* Sat Mar 24 2007 - aj@suse.de
- Add libbz2-devel to BuildRequires.
* Mon Nov 06 2006 - cthiel@suse.de
- fix build (man pages don't need to be executable)
* Sun Oct 01 2006 - cthiel@suse.de
- update to version 0.7.3
  * A maintenance release with some bug fixes
  * Fix for compilation on 64 bit architectures
  * Fixes to make the code compile cleanly with GCC 4.1
* Wed May 24 2006 - cthiel@suse.de
- remove GUI part of jigdo, as it's broken anyway
- removed irrelevant parts from jigdo-0.7.2.patch
* Sat May 13 2006 - cthiel@suse.de
- added wget to Requires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Oct 30 2005 - cthiel@suse.de
- fix build with gcc 4.1
* Tue Sep 13 2005 - cthiel@suse.de
- specfile cleanup
* Fri Sep 02 2005 - cthiel@suse.de
- install desktop file (#114918)
- don't strip symbols to fix -debuginfo package (#114918)
* Tue Aug 23 2005 - cthiel@suse.de
- initial package (version 0.7.2)
openSUSE Build Service is sponsored by