]> git.pld-linux.org Git - packages/disktype.git/commitdiff
- raw PLD spec
authorareq <areq@pld-linux.org>
Sun, 30 Nov 2003 22:20:25 +0000 (22:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    disktype.spec -> 1.1

disktype.spec [new file with mode: 0644]

diff --git a/disktype.spec b/disktype.spec
new file mode 100644 (file)
index 0000000..77598ba
--- /dev/null
@@ -0,0 +1,37 @@
+Summary:       Disktype detect the content format of a disk or disk image.
+Name:          disktype
+Version:       6
+Release:       1
+License:       GPL
+Group:         Applications/System
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: ae8dc60c0dd9cd9c3a339872141b7e16
+URL:           http://disktype.sourceforge.net/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The purpose of disktype is to detect the content format of a disk or
+disk image. It knows about common file systems, partition tables, and
+boot codes.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+        CC="%{__cc}" \
+        CFLAGS="%{rpmcflags}" \
+        LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D disktype $RPM_BUILD_ROOT%{_bindir}/disktype
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc HISTORY README TODO
+%attr(755,root,root) %{_bindir}/*
This page took 0.0706 seconds and 4 git commands to generate.