]> git.pld-linux.org Git - packages/dmg2img.git/blob - dmg2img.spec
rebuild with openssl 3.0.0
[packages/dmg2img.git] / dmg2img.spec
1 Summary:        Tool to convert Apple's compressed DMG to standard (hfsplus) disk image file
2 Summary(pl.UTF-8):      Narzędzie konwertujące skompresowane pliki Apple DMG na obrazy dysków (hfsplus)
3 Name:           dmg2img
4 Version:        1.6.7
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/File
8 Source0:        http://vu1tur.eu.org/tools/%{name}-%{version}.tar.gz
9 # Source0-md5:  1f0e66285ee4a46b480f3130bc112512
10 URL:            http://vu1tur.eu.org/tools/
11 BuildRequires:  bzip2-devel
12 BuildRequires:  openssl-devel
13 BuildRequires:  sed >= 4.0
14 BuildRequires:  zlib-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 dmg2img is an Apple's compressed DMG to standard (hfsplus) image disk
19 file convert tool.
20
21 %description -l pl.UTF-8
22 dwg2img to konwerter skompresowanych plików Apple DMG na standardowe
23 pliki obrazów dysków (hfsplus).
24
25 %prep
26 %setup -q
27
28 %{__sed} -i -e '/CC/s/-s /$(LDFLAGS)/' Makefile
29
30 %build
31 %{__make} \
32         CC="%{__cc}" \
33         CFLAGS="%{rpmcflags} %{rpmcppflags}" \
34         LDFLAGS="%{rpmldflags}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39 install -p dmg2img $RPM_BUILD_ROOT%{_bindir}
40 install -p vfdecrypt $RPM_BUILD_ROOT%{_bindir}
41 cp -p vfdecrypt.1 $RPM_BUILD_ROOT%{_mandir}/man1
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README
49 %attr(755,root,root) %{_bindir}/dmg2img
50 %attr(755,root,root) %{_bindir}/vfdecrypt
51 %{_mandir}/man1/vfdecrypt.1*
This page took 0.091153 seconds and 3 git commands to generate.