]> git.pld-linux.org Git - packages/disktype.git/blob - disktype.spec
- raw PLD spec
[packages/disktype.git] / disktype.spec
1 Summary:        Disktype detect the content format of a disk or disk image.
2 Name:           disktype
3 Version:        6
4 Release:        1
5 License:        GPL
6 Group:          Applications/System
7 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
8 # Source0-md5:  ae8dc60c0dd9cd9c3a339872141b7e16
9 URL:            http://disktype.sourceforge.net/
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 The purpose of disktype is to detect the content format of a disk or
14 disk image. It knows about common file systems, partition tables, and
15 boot codes.
16
17 %prep
18 %setup -q
19
20 %build
21 %{__make} \
22         CC="%{__cc}" \
23         CFLAGS="%{rpmcflags}" \
24         LDFLAGS="%{rpmldflags}"
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28
29 install -D disktype $RPM_BUILD_ROOT%{_bindir}/disktype
30
31 %clean
32 rm -rf $RPM_BUILD_ROOT
33
34 %files
35 %defattr(644,root,root,755)
36 %doc HISTORY README TODO
37 %attr(755,root,root) %{_bindir}/*
This page took 0.046791 seconds and 4 git commands to generate.