## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 28; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global git_commit a3e413489ccdd05431401357bf21690536425012 %global git_date 20201227 Summary: Uncompress the Apple compressed disk image files Name: dmg2img Version: 1.6.7 Release: %autorelease -s %{git_date}git%{sub %git_commit 0 7} # dmg2img is GPL without specific version # vfdecrypt is MIT licensed # Automatically converted from old format: GPL+ and MIT - review is highly recommended. License: GPL-1.0-or-later AND LicenseRef-Callaway-MIT URL: http://vu1tur.eu.org/tools/ Source0: https://github.com/Lekensteyn/%{name}/archive/%{git_commit}/%{name}-%{version}.git.tar.gz BuildRequires: gcc # FIXME Basically all Big-Endian arches but we have only one at this moment %ifnarch s390x BuildRequires: lzfse-devel %endif BuildRequires: make BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) %description This package contains dmg2img utility that is able to uncompress compressed dmg files into plain disk or filesystem images. %prep %autosetup -p1 -n %{name}-%{git_commit} %build # FIXME Basically all Big-Endian arches but we have only one at this moment %ifnarch s390x make CC="%{__cc}" HAVE_LZFSE=1 CFLAGS="%{optflags}" %{_smp_mflags} %else make CC="%{__cc}" CFLAGS="%{optflags}" %{_smp_mflags} %endif %install install -D -p -m 0755 dmg2img %{buildroot}%{_bindir}/dmg2img install -D -p -m 0755 vfdecrypt %{buildroot}%{_bindir}/vfdecrypt install -D -p -m 0644 vfdecrypt.1 %{buildroot}%{_mandir}/man1/vfdecrypt.1 %files %license COPYING %doc README %{_bindir}/dmg2img %{_bindir}/vfdecrypt %{_mandir}/man1/vfdecrypt.1* %changelog ## START: Generated by rpmautospec * Wed Aug 28 2024 Miroslav Suchý - 1.6.7-28.20201227gita3e4134 - convert license to SPDX * Thu Aug 08 2024 Peter Lemenkov - 1.6.7-27.20201227gita3e4134 - Spec-file cleanup * Wed Jul 17 2024 Fedora Release Engineering - 1.6.7-26.20201227gita3e4134 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 04 2024 Peter Lemenkov - 1.6.7-25.20201227gita3e4134 - Fix FTBFS on s390x arch * Tue Jun 04 2024 Peter Lemenkov - 1.6.7-24.20201227gita3e4134 - Build with LZFSE library * Wed Jan 24 2024 Fedora Release Engineering - 1.6.7-19.20170502.git.f16f247 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.6.7-18.20170502.git.f16f247 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.6.7-17.20170502.git.f16f247 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.6.7-16.20170502.git.f16f247 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.6.7-15.20170502.git.f16f247 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.6.7-14.20170502.git.f16f247 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 14 2021 Sahana Prasad - 1.6.7-13.20170502.git.f16f247 - Rebuilt with OpenSSL 3.0.0 * Wed Jul 21 2021 Fedora Release Engineering - 1.6.7-12.20170502.git.f16f247 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.6.7-11.20170502.git.f16f247 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Oct 26 2020 Peter Lemenkov - 1.6.7-10.20170502.git.f16f247 - Fix building with OpenSSL 1.1 * Mon Jul 27 2020 Fedora Release Engineering - 1.6.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.6.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.6.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.6.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.6.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.6.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.6.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.6.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Mar 30 2017 Peter Lemenkov - 1.6.7-1 - Ver. 1.6.7 * Fri Feb 10 2017 Fedora Release Engineering - 1.6.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.6.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Nov 16 2014 Peter Lemenkov - 1.6.5-1 - Ver. 1.6.5 * Sat Aug 16 2014 Fedora Release Engineering - 1.6.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.6.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.6.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.6.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jan 09 2012 Lubomir Rintel - 1.6.2-2 - Add a missing BR (Richard Shaw, #749752) - Cosmetic fixes (Scott Tsai, #749752) * Fri Oct 29 2011 Lubomir Rintel - 1.6.2-1 - Initial packaging ## END: Generated by rpmautospec