]> git.pld-linux.org Git - packages/gpart.git/blob - gpart.spec
- removed all Group fields translations (oure rpm now can handle translating
[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:        1
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 URL:            http://home.pages.de/~michab/gpart/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _sbindir        /sbin
15
16 %description
17 Gpart is a small tool which tries to guess what partitions are on a PC
18 type harddisk in case the primary partition table was damaged.
19
20 %description -l pl
21 Gpart jest niewielkim narzêdziem próbuj±cym odgadn±æ jakie partycje
22 znajduj± siê na twardym dysku. Znajduje on zastosowanie w przypadku
23 uszkodzenia tablicy partycji.
24
25 %description -l pt
26 Gpart é uma pequena ferramenta que tenha adivinhar quais partições
27 existem um disco rígido e tenta recuperar a tabela de partições caso
28 ela esteja danificada.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 %{__make} OPT="%{rpmcflags}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_mandir}/man8,%{_sbindir}}
40
41 install src/gpart $RPM_BUILD_ROOT%{_sbindir}/
42 install man/gpart.8 $RPM_BUILD_ROOT%{_mandir}/man8
43
44 gzip -9nf Changes README
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc *.gz
52 %attr(755,root,root) %{_sbindir}/gpart
53 %{_mandir}/man8/*
This page took 0.094266 seconds and 4 git commands to generate.