summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTizenOpenSource <tizenopensrc@samsung.com>2022-12-26 17:25:57 +0900
committerTizenOpenSource <tizenopensrc@samsung.com>2022-12-26 17:25:57 +0900
commit72d2987b90f8baca9cf59b30944784faa900cdf7 (patch)
tree0b1f5db32f3a55643b36dad798c67f03891c7d43
parent37a0f909140771bb9fec3d6d13ff5680166b390f (diff)
downloaddosfstools-72d2987b90f8baca9cf59b30944784faa900cdf7.tar.gz
dosfstools-72d2987b90f8baca9cf59b30944784faa900cdf7.tar.bz2
dosfstools-72d2987b90f8baca9cf59b30944784faa900cdf7.zip
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-rw-r--r--packaging/dosfstools.changes7
-rw-r--r--packaging/dosfstools.manifest5
-rw-r--r--packaging/dosfstools.spec56
3 files changed, 68 insertions, 0 deletions
diff --git a/packaging/dosfstools.changes b/packaging/dosfstools.changes
new file mode 100644
index 0000000..9bc0438
--- /dev/null
+++ b/packaging/dosfstools.changes
@@ -0,0 +1,7 @@
+* Sat May 11 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130509.173910@757bab6
+- Set license using %license
+
+* Wed Mar 06 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> upstream/3.0.16@a25f309
+- Add packaging
+- Imported Upstream version 3.0.16
+
diff --git a/packaging/dosfstools.manifest b/packaging/dosfstools.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/dosfstools.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/dosfstools.spec b/packaging/dosfstools.spec
new file mode 100644
index 0000000..de89c80
--- /dev/null
+++ b/packaging/dosfstools.spec
@@ -0,0 +1,56 @@
+Name: dosfstools
+Version: 4.2
+Release: 0
+License: GPL-3.0+
+Group: Base/File Systems
+Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
+URL: http://www.daniel-baumann.ch/software/dosfstools/
+Source: %{name}-%{version}.orig.tar.xz
+Source1001: dosfstools.manifest
+
+%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
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%configure \
+ --enable-compat-symlinks
+%make_build CFLAGS=" -fPIC -pie %{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+
+%install
+make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
+
+rm -rf %{buildroot}%{_datadir}/doc/dosfstools
+
+
+%docs_package
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%manifest dosfstools.manifest
+%{_sbindir}/dosfsck
+%{_sbindir}/dosfslabel
+%{_sbindir}/fatlabel
+%{_sbindir}/fsck.fat
+%{_sbindir}/fsck.msdos
+%{_sbindir}/fsck.vfat
+%{_sbindir}/mkdosfs
+%{_sbindir}/mkfs.fat
+%{_sbindir}/mkfs.msdos
+%{_sbindir}/mkfs.vfat
+%{_mandir}/man8/dosfsck.8%{?ext_man}
+%{_mandir}/man8/dosfslabel.8%{?ext_man}
+%{_mandir}/man8/fatlabel.8%{?ext_man}
+%{_mandir}/man8/fsck.fat.8%{?ext_man}
+%{_mandir}/man8/fsck.msdos.8%{?ext_man}
+%{_mandir}/man8/fsck.vfat.8%{?ext_man}
+%{_mandir}/man8/mkdosfs.8%{?ext_man}
+%{_mandir}/man8/mkfs.fat.8%{?ext_man}
+%{_mandir}/man8/mkfs.msdos.8%{?ext_man}
+%{_mandir}/man8/mkfs.vfat.8%{?ext_man}