2007-01-16 00:10:35 +01:00
|
|
|
#
|
2011-03-14 11:37:37 +01:00
|
|
|
# spec file for package dosfstools
|
2007-01-16 00:10:35 +01:00
|
|
|
#
|
2014-03-06 13:26:08 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:10:35 +01:00
|
|
|
#
|
2009-06-18 17:16:36 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:10:35 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: dosfstools
|
2014-06-26 14:12:17 +02:00
|
|
|
Version: 3.0.26
|
|
|
|
Release: 0
|
2007-01-16 00:10:35 +01:00
|
|
|
Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
|
2012-09-28 14:17:26 +02:00
|
|
|
License: GPL-3.0+
|
2012-02-09 11:46:12 +01:00
|
|
|
Group: System/Filesystems
|
2013-06-03 15:52:42 +02:00
|
|
|
Url: http://daniel-baumann.ch/software/dosfstools/
|
2013-06-13 16:21:50 +02:00
|
|
|
#Freecode-URL: http://freecode.com/projects/dosfstools
|
|
|
|
#Git-Clone: git://daniel-baumann.ch/git/software/dosfstools
|
2014-06-26 14:12:17 +02:00
|
|
|
Source: http://daniel-baumann.ch/files/software/dosfstools/%{name}-%{version}.tar.xz
|
|
|
|
Source2: http://daniel-baumann.ch/files/software/dosfstools/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source3: %{name}.keyring
|
2010-11-01 13:27:32 +01:00
|
|
|
Patch0: %{name}-suse-dirs.patch
|
2014-06-26 14:12:17 +02:00
|
|
|
Supplements: filesystem(vfat)
|
|
|
|
Provides: dosfsck
|
|
|
|
Provides: mkdosfs
|
2007-01-16 00:10:35 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-06-13 16:21:50 +02:00
|
|
|
%if 0%{?suse_version} >= 1230
|
|
|
|
BuildRequires: gpg-offline
|
|
|
|
%endif
|
2007-01-16 00:10:35 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
2014-06-26 14:12:17 +02:00
|
|
|
%{?gpg_verify: %gpg_verify %{SOURCE2}}
|
|
|
|
%setup -q
|
2010-11-01 13:27:32 +01:00
|
|
|
%patch0 -p1
|
2007-01-16 00:10:35 +01:00
|
|
|
|
|
|
|
%build
|
2014-06-26 14:12:17 +02:00
|
|
|
make CC="gcc" OPTFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE %{optflags}" %{?_smp_mflags}
|
2007-01-16 00:10:35 +01:00
|
|
|
|
|
|
|
%install
|
2014-06-26 14:12:17 +02:00
|
|
|
make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
|
2012-02-09 11:46:12 +01:00
|
|
|
#UsrMerge
|
2014-06-26 14:12:17 +02:00
|
|
|
mkdir %{buildroot}/sbin
|
|
|
|
ln -sf %{_sbindir}/{dosfsck,dosfslabel,mkdosfs,fsck.msdos,mkfs.msdos,fsck.fat,fsck.vfat,mkfs.fat,mkfs.vfat} %{buildroot}/sbin
|
2012-02-09 11:46:12 +01:00
|
|
|
#EndUsrMerge
|
2007-01-16 00:10:35 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}
|
2012-02-09 11:46:12 +01:00
|
|
|
#UsrMerge
|
2007-01-16 00:10:35 +01:00
|
|
|
/sbin/*
|
2012-02-09 11:46:12 +01:00
|
|
|
#EndUsrMerge
|
|
|
|
%{_sbindir}/*
|
2007-01-16 00:10:35 +01:00
|
|
|
%{_mandir}/man8/*.gz
|
2013-06-11 11:48:56 +02:00
|
|
|
%{_mandir}/de/man8/*.gz
|
2007-01-16 00:10:35 +01:00
|
|
|
|
2007-04-04 20:41:44 +02:00
|
|
|
%changelog
|