dvdisaster/dvdisaster.spec

97 lines
2.9 KiB
RPMSpec
Raw Normal View History

Name: dvdisaster
Version: 0.79.10
Release: 1mamba
Summary: Rescue damaged optical discs by adding error correction data
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://dvdisaster.jcea.es/
Source: https://dvdisaster.jcea.es/downloads/dvdisaster-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
%description
dvdisaster stores data on CD/DVD/BD (supported media) in a way that it is fully recoverable even after some read errors have developed.
This enables you to rescue the complete data to a new medium.
Data loss is prevented by using error correcting codes.
Error correction data is either added to the medium or kept in separate error correction files.
dvdisaster works at the image level so that the recovery does not depend on the file system of the medium.
The maximum error correction capacity is user-selectable.
dvdisaster can not make defective media readable again.
Contents of a defective medium can not be recovered without the error correction data.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall \
BUILDROOT=%{buildroot} \
CFG_DOCDIR=%{_docdir}
rm -f %{buildroot}/%{_bindir}/*-uninstall.sh
# install icon image
install -D -m0644 contrib/dvdisaster48.png \
%{buildroot}/%{_datadir}/pixmaps/dvdisaster48.png
# install desktop file
install -D -m0644 contrib/dvdisaster.desktop \
%{buildroot}/%{_datadir}/applications/dvdisaster.desktop
%find_lang %{name} --with-man --all-name
rm -rf %{buildroot}%{_docdir}/dvdisaster-%{version}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/dvdisaster
%{_datadir}/pixmaps/*.png
%{_datadir}/applications/dvdisaster.desktop
%{_mandir}/man1/dvdisaster.1*
%doc COPYING
#README
%changelog
* Tue Aug 02 2022 Automatic Build System <autodist@mambasoft.it> 0.79.10-1mamba
- automatic version update by autodist
* Sun Oct 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.79.9-1mamba
- update to 0.79.9
* Mon Sep 25 2017 Automatic Build System <autodist@mambasoft.it> 0.79.5-1mamba
- automatic version update by autodist
* Mon Jun 30 2014 Automatic Build System <autodist@mambasoft.it> 0.72.6-1mamba
- automatic version update by autodist
* Fri Nov 29 2013 Automatic Build System <autodist@mambasoft.it> 0.72.5-1mamba
- automatic version update by autodist
* Mon Jun 25 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.72.4-1mamba
- package created by autospec