Sisyphus repository
Last update: 16 october 2019 | SRPMs: 17499 | Visits: 15275497
en ru br
ALT Linux repos
S:0.72.3-alt3
5.0: 0.70.6-alt1
4.1: 0.70.6-alt1
4.0: 0.70.4-alt1
3.0: 0.62-alt1

Other repositories
Upstream:0.71.devel23

Group :: File tools
RPM: dvdisaster

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: dvdisaster
Version: 0.72.3
Release: alt2.1

Summary: Additional error protection for CD/DVD media
License: GPLv2+
Group: File tools

URL: http://www.dvdisaster.com/
Source: http://dvdisaster.net/downloads/dvdisaster-%version.tar.bz2
Source1: dvdisaster.desktop
Patch: dvdisaster-0.72.3-alt-libpng15.patch

# Automatically added by buildreq on Tue Mar 08 2011

BuildRequires: bzlib-devel libgtk+2-devel libpng-devel

Requires: %name-help = %version
BuildRequires: desktop-file-utils

%description
dvdisaster provides a margin of safety against data loss on CD and DVD media
caused by aging or scratches. It creates error correction data, which is used
to recover unreadable sectors if the disc becomes damaged at a later time.

%package help
Summary: Help files for %name
Group: File tools
BuildArch: noarch

%description help
Help files for %name.

%prep
%setup
%patch -p2

subst 's/\ at \$/\$/' GNUmakefile.template
subst 's/-O2/%optflags/' configure

subst 's~glib/gstrfuncs.h~glib.h~' memtrack.c dvdisaster.h

%build
./configure --prefix=/usr --with-embedded-src-path=no --docdir=%_docdir --with-nls=yes
%make_build

%install
%make_install install \
BUILDROOT=%buildroot LOCALEDIR=%_prefix/share/locale MANDIR=%_mandir

rm -f %buildroot%_bindir/dvdisaster-uninstall.sh
install -pD -m644 contrib/dvdisaster16.png %buildroot%_miconsdir/dvdisaster.png
install -pD -m644 contrib/dvdisaster32.png %buildroot%_niconsdir/dvdisaster.png
install -pD -m644 contrib/dvdisaster48.png %buildroot%_liconsdir/dvdisaster.png
install -pD -m644 contrib/dvdisaster48.png %buildroot%_pixmapsdir/dvdisaster.png
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/dvdisaster.desktop

%find_lang %name
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=System \
--remove-category=Utility \
--remove-category=Archiving \
--add-category=AudioVideo \
--add-category=DiscBurning \
%buildroot%_desktopdir/dvdisaster.desktop

%files -f %name.lang
%_bindir/dvdisaster
%_pixmapsdir/*
%_miconsdir/*
%_niconsdir/*
%_liconsdir/*
%_desktopdir/*
%_man1dir/*
%lang(de) %_mandir/de/man1/*
%lang(it) %_mandir/it/man1/*
%lang(cs) %_mandir/cs/man1/*

%files help
# Do not remove docs below - documentation accessed from GUI!
#%doc documentation/en documentation/images
# file COPYING accessed from Help->License menu item in GUI, so we package it
#%doc COPYING
%_defaultdocdir/dvdisaster-%version

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin