Lubomir Rintel 0da71f
Summary:        Uncompress the Apple compressed disk image files
Lubomir Rintel 0da71f
Name:           dmg2img
f429c4
Version:        1.6.5
b0d78e
Release:        2%{?dist}
Lubomir Rintel 0da71f
# dmg2img is GPL without specific version
Lubomir Rintel 0da71f
# vfdecrypt is MIT licensed
Lubomir Rintel 0da71f
License:        GPL+ and MIT
Lubomir Rintel 0da71f
Group:          Applications/File
Lubomir Rintel 0da71f
Source0:        http://vu1tur.eu.org/tools/%{name}-%{version}.tar.gz
Lubomir Rintel 0da71f
Patch0:         dmg2img-1.6.2-nostrip.patch
Lubomir Rintel 0da71f
URL:            http://vu1tur.eu.org/tools/
Lubomir Rintel 0da71f
BuildRequires:  bzip2-devel
Lubomir Rintel 0da71f
BuildRequires:  openssl-devel
Lubomir Rintel 0da71f
BuildRequires:  zlib-devel
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
%description
Lubomir Rintel 0da71f
This package contains dmg2img utility that is able to uncompress compressed dmg 
Lubomir Rintel 0da71f
files into plain disk or filesystem images.
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
%prep
Lubomir Rintel 0da71f
%setup -q
Lubomir Rintel 0da71f
%patch0 -p1
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
%build
Lubomir Rintel 0da71f
make CC="%{__cc}" CFLAGS="%{optflags}" %{_smp_mflags}
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
%install
Lubomir Rintel 0da71f
install -d $RPM_BUILD_ROOT%{_mandir}/man1
Lubomir Rintel 0da71f
install -d $RPM_BUILD_ROOT%{_bindir}
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
install dmg2img $RPM_BUILD_ROOT%{_bindir}
Lubomir Rintel 0da71f
install vfdecrypt $RPM_BUILD_ROOT%{_bindir}
Lubomir Rintel 0da71f
install -pm644 vfdecrypt.1 $RPM_BUILD_ROOT%{_mandir}/man1
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
%files
Lubomir Rintel 0da71f
%{_bindir}/dmg2img
Lubomir Rintel 0da71f
%{_bindir}/vfdecrypt
Lubomir Rintel 0da71f
%{_mandir}/man1/vfdecrypt.1*
Lubomir Rintel 0da71f
%doc README COPYING
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
%changelog
b0d78e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-2
b0d78e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b0d78e
f429c4
* Sun Nov 16 2014 Peter Lemenkov <lemenkov@gmail.com> - 1.6.5-1
f429c4
- Ver. 1.6.5
f429c4
2113a0
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-7
2113a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2113a0
ac0628
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-6
ac0628
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ac0628
495b1c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-5
495b1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
495b1c
32f773
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4
32f773
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
32f773
65ac52
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3
65ac52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
65ac52
Lubomir Rintel 0da71f
* Mon Jan 09 2012 Lubomir Rintel <lkundrak@v3.sk> - 1.6.2-2
Lubomir Rintel 0da71f
- Add a missing BR (Richard Shaw, #749752)
Lubomir Rintel 0da71f
- Cosmetic fixes (Scott Tsai, #749752)
Lubomir Rintel 0da71f
Lubomir Rintel 0da71f
* Fri Oct 29 2011 Lubomir Rintel <lkundrak@v3.sk> - 1.6.2-1
Lubomir Rintel 0da71f
- Initial packaging