]> git.pld-linux.org Git - packages/gpart.git/blob - gpart.spec
Massive attack. We use -O0 instead -O flags while debug enabled.
[packages/gpart.git] / gpart.spec
1 Summary:        Guesses and recovers damaged Master Boot Records
2 Summary(es):    Guesses and recovers damaged Master Boot Records
3 Summary(pt):    Adivinha e recupera um Master Boot Record danificado
4 Name:           gpart
5 Version:        0.1g
6 Release:        2
7 License:        GPL
8 Group:          Applications/System
9 Group(de):      Applikationen/System
10 Group(pl):      Aplikacje/System
11 Source0:        http://www.stud.uni-hannover.de/user/76201/gpart/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-Makefile.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 es
23 Gpart is a small tool which tries to guess what partitions are on a PC
24 type harddisk in case the primary partition table was damaged.
25
26 %description -l pt
27 Gpart é uma pequena ferramenta que tenha adivinhar quais partições
28 existem um disco rígido e tenta recuperar a tabela de partições caso
29 ela esteja danificada.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__make} OPT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_mandir}/man8,%{_sbindir}}
41
42 install src/gpart $RPM_BUILD_ROOT%{_sbindir}/
43 install man/gpart.8 $RPM_BUILD_ROOT%{_mandir}/man8
44
45 gzip -9nf Changes README
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc *.gz
53 %attr(755,root,root) %{_sbindir}/gpart
54 %{_mandir}/man8/*
This page took 0.055584 seconds and 4 git commands to generate.