]> git.pld-linux.org Git - SPECS.git/blob - pdisk.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / pdisk.spec
1 Summary:        A partitioning tool for Apple Macintosh-style partitioned disks
2 Summary(pl.UTF-8):      Narzędzie do partycjonowania dysków Apple Macintosh
3 Name:           pdisk
4 Version:        0.8
5 Release:        4
6 License:        Apple Free Copyright
7 Group:          Applications/System
8 Source0:        ftp://cfcl.com/pub/ev/%{name}.20000516.src.tar
9 # Source0-md5:  ca1279cc31edb92acaf00fd8b58b1dda
10 Patch0:         %{name}-docs.patch
11 Patch1:         %{name}-CC.patch
12 URL:            http://www.cfcl.com/~eryk/linux/pdisk/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sbindir        /sbin
16
17 %description
18 pdisk enables you to view and modify Apple Macintosh-style partition
19 maps. Normally, it is used to create MkLinux (or PPC Linux) partitions
20 on your disk, however, it can create partitions of any type, including
21 HFS (except it would be up to Mac OS or some other tool to actually
22 create the HFS filesystem in that HFS partition). pdisk won't put Mac
23 OS disk drivers onto your disk.
24
25 %description -l pl.UTF-8
26 pdisk jest odpowiednikiem fdiska, umożliwiającym podgląd i modyfikację
27 tablic partycji zapisanych w formacie Apple Macintosh. Jest używany do
28 tworzenia partycji linuksowych na dysku, a także do tworzenia partycji
29 innych typów, takich jak HFS. Nie nagrywa sterowników pod MacOS na
30 dysk.
31
32 %prep
33 %setup -q -n %{name}
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 %{__make} CC="%{__cc}" LDFLAGS="%{rpmldflags}" CFLAGS="%{rpmcflags}"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
43
44 install pdisk $RPM_BUILD_ROOT%{_sbindir}/pdisk
45 install cvt_pt $RPM_BUILD_ROOT%{_sbindir}/cvt_pt
46 install pdisk.8 $RPM_BUILD_ROOT%{_mandir}/man8/pdisk.8
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README pdisk.html
54 %attr(755,root,root) %{_sbindir}/pdisk
55 %attr(755,root,root) %{_sbindir}/cvt_pt
56 %{_mandir}/man8/*
This page took 0.147595 seconds and 3 git commands to generate.