Blob Blame Raw
Summary:        Uncompress the Apple compressed disk image files
Name:           dmg2img
Version:        1.6.5
Release:        4%{?dist}
# dmg2img is GPL without specific version
# vfdecrypt is MIT licensed
License:        GPL+ and MIT
Group:          Applications/File
Source0:        http://vu1tur.eu.org/tools/%{name}-%{version}.tar.gz
Patch0:         dmg2img-1.6.2-nostrip.patch
URL:            http://vu1tur.eu.org/tools/
BuildRequires:  bzip2-devel
BuildRequires:  openssl-devel
BuildRequires:  zlib-devel

%description
This package contains dmg2img utility that is able to uncompress compressed dmg 
files into plain disk or filesystem images.


%prep
%setup -q
%patch0 -p1


%build
make CC="%{__cc}" CFLAGS="%{optflags}" %{_smp_mflags}


%install
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install -d $RPM_BUILD_ROOT%{_bindir}

install dmg2img $RPM_BUILD_ROOT%{_bindir}
install vfdecrypt $RPM_BUILD_ROOT%{_bindir}
install -pm644 vfdecrypt.1 $RPM_BUILD_ROOT%{_mandir}/man1


%files
%{_bindir}/dmg2img
%{_bindir}/vfdecrypt
%{_mandir}/man1/vfdecrypt.1*
%doc README COPYING


%changelog
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sun Nov 16 2014 Peter Lemenkov <lemenkov@gmail.com> - 1.6.5-1
- Ver. 1.6.5

* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Mon Jan 09 2012 Lubomir Rintel <lkundrak@v3.sk> - 1.6.2-2
- Add a missing BR (Richard Shaw, #749752)
- Cosmetic fixes (Scott Tsai, #749752)

* Fri Oct 29 2011 Lubomir Rintel <lkundrak@v3.sk> - 1.6.2-1
- Initial packaging