]> git.pld-linux.org Git - packages/gpart.git/blob - gpart.spec
4eaf2a4c4bf74cdec2e23aebbc2ef5a5bd0e0985
[packages/gpart.git] / gpart.spec
1 Summary:        Guesses and recovers damaged Master Boot Records
2 Summary(pl):    Odgaduje zawarto¶æ i odzyskuje uszkodzony Master Boot Record
3 Summary(pt):    Adivinha e recupera um Master Boot Record danificado
4 Name:           gpart
5 Version:        0.1h
6 Release:        3
7 License:        GPL
8 Group:          Applications/System
9 Source0:        http://www.stud.uni-hannover.de/user/76201/gpart/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-Makefile.patch
11 Patch1:         %{name}-ntfs-ppc.patch
12 Patch2:         %{name}-errno.patch
13 URL:            http://home.pages.de/~michab/gpart/
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _sbindir        /sbin
17
18 %description
19 Gpart is a small tool which tries to guess what partitions are on a PC
20 type harddisk in case the primary partition table was damaged.
21
22 %description -l pl
23 Gpart jest niewielkim narzêdziem próbuj±cym odgadn±æ jakie partycje
24 znajduj± siê na twardym dysku. Znajduje on zastosowanie w przypadku
25 uszkodzenia tablicy partycji.
26
27 %description -l pt
28 Gpart é uma pequena ferramenta que tenha adivinhar quais partições
29 existem um disco rígido e tenta recuperar a tabela de partições caso
30 ela esteja danificada.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36 %patch2 -p1
37
38 %build
39 %{__make} OPT="%{rpmcflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_mandir}/man8,%{_sbindir}}
44
45 install src/gpart $RPM_BUILD_ROOT%{_sbindir}/
46 install man/gpart.8 $RPM_BUILD_ROOT%{_mandir}/man8
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
54 %attr(755,root,root) %{_sbindir}/gpart
55 %{_mandir}/man8/*
This page took 0.052183 seconds and 3 git commands to generate.