dosfstools/dosfstools.spec

70 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package dosfstools (Version 3.0.10)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dosfstools
Provides: mkdosfs dosfsck
License: GPLv3
Group: System/Filesystems
AutoReqProv: on
Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
Version: 3.0.10
Release: 1
Url: http://freshmeat.net/projects/dosfstools
Source: %{name}_%{version}.orig.tar.bz2
Patch0: %{name}-suse-dirs.patch
Patch1: %{name}-mdraid-partition.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Supplements: filesystem(vfat)
%description
The dosfstools package includes the mkdosfs and dosfsck utilities,
which respectively make and check MS-DOS FAT file systems on hard
drives or on floppies.
Authors:
--------
Dave Hudson <dave@humbug.demon.co.uk>
Werner Almesberger <werner.almesberger@lrc.di.epfl.ch>
Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
%prep
%setup
%patch0 -p1
%patch1
%build
make OPTFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $RPM_OPT_FLAGS"
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}
/sbin/*
%{_mandir}/man8/*.gz
%changelog