6fdece8
Summary: Additional error protection for CD/DVD media
d7f9afc
Name: dvdisaster
Dmitry Butskoy 1c44496
Version: 0.72.3
0c47027
Release: 2%{?dist}
606a175
Group: Applications/Archiving
b333c15
License: GPLv2+
606a175
URL: http://www.dvdisaster.com
fc3ff03
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Dmitry Butskoy 75bd25d
Patch0: dvdisaster-0.72.3-glib.patch
Dmitry Butskoy a37ba42
Patch1: dvdisaster-0.72.3-png.patch
606a175
606a175
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
606a175
d7f9afc
BuildRequires: gtk2-devel >= 2.6.0
606a175
BuildRequires: gettext, desktop-file-utils
51c7ca0
BuildRequires: bzip2-devel, libpng-devel
2d4e62b
Requires: xdg-utils
606a175
606a175
%description
606a175
%{name} provides a margin of safety against data loss on CD and DVD media
606a175
caused by scratches or aging. It creates error correction data,
606a175
which is used to recover unreadable sectors if the disc becomes damaged
606a175
at a later time.
606a175
606a175
%description -l de
606a175
%{name} erzeugt einen Sicherheitspuffer gegen Datenverluste, die auf
606a175
CD- und DVD-Datenträgern durch Alterung oder Kratzer entstehen. Es erzeugt
606a175
Fehlerkorrekturdaten, um bei nachfolgenden Datenträger-Problemen unlesbare
606a175
Sektoren zu rekonstruieren.
606a175
606a175
%description -l it
606a175
%{name} offre un margine di sicurezza contro la perdita di dati dei supporti
606a175
CD e DVD causata dall'invecchiamento e dai graffi. Crea dei dati di correzione
606a175
degli errori che saranno poi utilizzati per recuperare i settori illeggibili
606a175
se il supporto dovesse danneggiarsi col tempo.
606a175
969b5d2
%description -l cs
6fdece8
%{name} poskytuje dodatečnou ochranu proti ztrátě dat na médiích CD a DVD
6fdece8
způsobených poškrábáním nebo stárnutím. Vytváří data oprav chyb, která
6fdece8
jsou použita pro obnovu nečitelných sektorů, pokud se disk později
6fdece8
poškodí.
969b5d2
606a175
606a175
%prep
4385b82
%setup -q
Dmitry Butskoy 75bd25d
%patch0 -p1
Dmitry Butskoy a37ba42
%patch1 -p1
606a175
606a175
606a175
%build
606a175
6fdece8
%configure	\
6fdece8
	--docdir=%{_docdir} \
ff3cf9f
	--localedir=%{_datadir}/locale
606a175
1b7c549
# can not build locales with %{?_smp_mflags}
1b7c549
make 
606a175
606a175
606a175
%install
606a175
rm -rf $RPM_BUILD_ROOT
606a175
ff3cf9f
make install BUILDROOT=$RPM_BUILD_ROOT
606a175
6fdece8
rm -f $RPM_BUILD_ROOT%{_bindir}/*-uninstall.sh
606a175
606a175
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
49fae4c
install -p -m644 contrib/dvdisaster48.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
606a175
606a175
desktop-file-install --vendor fedora			\
606a175
	--dir ${RPM_BUILD_ROOT}%{_datadir}/applications	\
6fdece8
	contrib/%{name}.desktop
606a175
	
606a175
%find_lang %{name}
606a175
606a175
606a175
%clean
606a175
rm -rf $RPM_BUILD_ROOT
606a175
606a175
606a175
%files -f %{name}.lang
606a175
%defattr(-,root,root,-)
606a175
%{_bindir}/*
606a175
%{_datadir}/applications/*
606a175
%{_datadir}/pixmaps/*
606a175
98bfd1f
%dir %{_docdir}/%{name}-%{version}
606a175
%{_docdir}/%{name}-%{version}/CHANGELOG
606a175
%{_docdir}/%{name}-%{version}/COPYING
606a175
%{_docdir}/%{name}-%{version}/CREDITS.en
edfbdff
%{_docdir}/%{name}-%{version}/README.MODIFYING
606a175
%lang(de) %{_docdir}/%{name}-%{version}/CREDITS.de
969b5d2
%lang(cs) %{_docdir}/%{name}-%{version}/CREDITS.cs
606a175
%{_docdir}/%{name}-%{version}/TODO
606a175
%{_docdir}/%{name}-%{version}/en
606a175
%lang(de) %{_docdir}/%{name}-%{version}/de
ff3cf9f
%lang(ru) %{_docdir}/%{name}-%{version}/ru
606a175
%{_docdir}/%{name}-%{version}/images
ff3cf9f
%{_docdir}/%{name}-%{version}/include
606a175
606a175
%{_mandir}/man1/*
606a175
%lang(de) %{_mandir}/de/man1/*
606a175
%lang(it) %{_mandir}/it/man1/*
969b5d2
%lang(cs) %{_mandir}/cs/man1/*
606a175
606a175
606a175
%changelog
0c47027
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.72.3-2
0c47027
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0c47027
Dmitry Butskoy 1c44496
* Thu Nov 24 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.72.3-1
Dmitry Butskoy 1c44496
- Update to 0.72.3
Dmitry Butskoy 75bd25d
- Fix build with glib2 >= 2.31
Dmitry Butskoy 1c44496
Dmitry Butskoy 1f8d795
* Fri Mar 25 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.72.2-1
Dmitry Butskoy 1f8d795
- Update to 0.72.2
Dmitry Butskoy 1f8d795
0248561
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.72.1-2
0248561
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0248561
29dbfea
* Wed Aug 19 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.72.1-1
29dbfea
- Update to 0.72.1
29dbfea
d3897d8
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.72-2
d3897d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d3897d8
ff3cf9f
* Mon Jul 13 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.72-1
ff3cf9f
- Upgrade to 0.72
97d006a
d7f9afc
* Tue Apr  8 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70.6-1
ff3cf9f
- Update to 0.70.6
d7f9afc
03a81b9
* Tue Mar  4 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70.5-1
ff3cf9f
- Update to 0.70.5
03a81b9
7d114e6
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.70.4-4
7d114e6
- Autorebuild for GCC 4.3
7d114e6
2d4e62b
* Tue Nov  6 2007 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70.4-3
2d4e62b
- Add xdg-open patch (by Ville Skytta, #365401)
2d4e62b
fc3ff03
* Tue Aug 28 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
fc3ff03
- Correct Source0 url
fc3ff03
b333c15
* Thu Aug 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
b333c15
- Change License tag to GPLv2+
b333c15
5ac9ce3
* Tue Jun 26 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
5ac9ce3
- drop X-Fedora category from desktop file
5ac9ce3
98bfd1f
* Mon Mar 26 2007 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70.4-2
98bfd1f
- own root docdir too (#233832)
98bfd1f
4565d1e
* Fri Feb 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70.4-1
4565d1e
- update to 0.70.4
4565d1e
ce1fd95
* Fri Dec 15 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70.3-1
ce1fd95
- update to 0.70.3
901e5ef
4385b82
* Mon Oct 23 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70.2-1
4385b82
- update to 0.70.2
4385b82
c5ac5b1
* Fri Sep 11 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70.1-1
098c88c
- update to 0.70.1
c5ac5b1
- add two upstream's pre-0.70.2 patches.
098c88c
edfbdff
* Mon Jul 24 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.70-1
edfbdff
- upgrade to 0.70
edfbdff
49fae4c
* Fri Mar 31 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.66-2
49fae4c
- fix pixmap icon name
49fae4c
6fdece8
* Thu Mar 30 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.66-1
6fdece8
- upgrade to 0.66
6fdece8
- spec file changes/cleanups, merged from a skeleton now included upstream
6fdece8
- still specify dirs explicitly on install due to typo in GNUmakefile
6fdece8
- remove unneeded uninstall.sh script after install
531bfa5
969b5d2
* Tue Jan 31 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.65-1
969b5d2
- upgrade to 0.65
969b5d2
- drop browser patch (no more needed)
969b5d2
- drop manual convertations to utf8 -- already in good encodings.
969b5d2
- handle new locale (czech)
969b5d2
606a175
* Thu Nov  3 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64.2-2
606a175
- use user preferred browser to view manuals online (patch0)
606a175
- Accepted for Fedora Extra (review by Ville Skytta <ville.skytta@iki.fi>)
606a175
606a175
* Wed Nov  2 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64.2-1
606a175
- update to 0.64.2
606a175
- drop the patches (no more needed).
606a175
606a175
* Thu Oct 27 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-3
606a175
- add 0.64-pl1 patch, generated by upstream "0.64-1" version
606a175
  (do not include new version tarball itself due to bad versioning scheme).
606a175
- remove StartupNotify from .desktop file at all.
606a175
- add patch1 -- do not create files with executable bit set.
606a175
606a175
* Sat Oct 22 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-2
606a175
- spec file cleanups
606a175
- build and install stages correct
606a175
606a175
* Fri Oct 21 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-1
606a175
- initial release
606a175
- convert locale manuals to utf8
606a175
- add desktop file
606a175