]>
Commit | Line | Data |
---|---|---|
a2ea9f00 | 1 | Summary: Disktype - detect the content format of a disk or disk image |
32f33470 | 2 | Summary(pl.UTF-8): Disktype - narzędzie do wykrywania formatu dysku lub jego obrazu |
92b8cbcf | 3 | Name: disktype |
d2513b50 | 4 | Version: 9 |
92b8cbcf | 5 | Release: 1 |
07c5c41b | 6 | License: MIT |
92b8cbcf | 7 | Group: Applications/System |
07c5c41b | 8 | Source0: http://dl.sourceforge.net/disktype/%{name}-%{version}.tar.gz |
d2513b50 | 9 | # Source0-md5: 25a673f162b9c01cd565109202559489 |
92b8cbcf | 10 | URL: http://disktype.sourceforge.net/ |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | The purpose of disktype is to detect the content format of a disk or | |
15 | disk image. It knows about common file systems, partition tables, and | |
16 | boot codes. | |
17 | ||
1cba5b8d JR |
18 | %description -l pl.UTF-8 |
19 | disktype służy do wykrywania formatu dysku lub jego obrazu. Zna | |
20 | podstawowe systemy plików, tablice partycji oraz kody startowe. | |
8981f4b3 | 21 | |
92b8cbcf | 22 | %prep |
23 | %setup -q | |
24 | ||
25 | %build | |
26 | %{__make} \ | |
59e36e7f | 27 | CC="%{__cc}" \ |
28 | CFLAGS="%{rpmcflags}" \ | |
29 | LDFLAGS="%{rpmldflags}" | |
92b8cbcf | 30 | |
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | install -D disktype $RPM_BUILD_ROOT%{_bindir}/disktype | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
07c5c41b | 41 | %doc HISTORY LICENSE README TODO |
92b8cbcf | 42 | %attr(755,root,root) %{_bindir}/* |