diff options
author | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-22 10:26:52 +0900 |
---|---|---|
committer | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-22 10:26:52 +0900 |
commit | a2e0919bfdaa462850a66a26708bb98ff311993e (patch) | |
tree | 7c4e2d5779a7c1cc9a2fe4ef75c234845343fd77 | |
parent | 902a2cbbb3e9ce18b4ce821042ee670b4acfed8c (diff) | |
download | mtools-tizen.tar.gz mtools-tizen.tar.bz2 mtools-tizen.zip |
Bump to 4.0.43HEADaccepted/tizen/unified/20231227.063253tizensandbox/mtools_4.0.43accepted/tizen_unified
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-rw-r--r-- | packaging/mtools.manifest | 5 | ||||
-rw-r--r-- | packaging/mtools.spec | 61 |
2 files changed, 66 insertions, 0 deletions
diff --git a/packaging/mtools.manifest b/packaging/mtools.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/mtools.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/mtools.spec b/packaging/mtools.spec new file mode 100644 index 0000000..a1da122 --- /dev/null +++ b/packaging/mtools.spec @@ -0,0 +1,61 @@ +Name: mtools +Version: 4.0.43 +Release: 0 +License: GPL-3.0+ +Summary: Access Files on an MS-DOS File System +Url: http://mtools.linux.lu/ +Group: System/File Systems +Source: %{name}-%{version}.tar.bz2 +Source1001: mtools.manifest +BuildRequires: autoconf +BuildRequires: makeinfo + +%description +Mtools allows uncomplicated access to an MS-DOS file system on disk +without mounting it. It includes commands for working with MS-DOS +files: mdir, mcd, mcopy, and mformat. + +XDF support for OS/2 is also provided. + +%package doc +License: GPL-3.0+ and GFDL-1.3 +Summary: Access Files on an MS-DOS File System +Group: System/File Systems +Requires: %{name} = %{version} + +%description doc +Mtools allows uncomplicated access to an MS-DOS file system on disk +without mounting it. It includes commands for working with MS-DOS +files: mdir, mcd, mcopy, and mformat. + +XDF support for OS/2 is also provided. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +autoconf --force +export CC=gcc +export INSTALL_PROGRAM="install" +export CPPFLAGS+=" -fPIC" +export LDFLAGS+=" -pie" +%configure \ + --includedir=/usr/src/linux/include + +%install +install -d -m 755 %{buildroot}%{_sysconfdir} +%make_install +cp -p mtools.conf %{buildroot}%{_sysconfdir} + +rm -rf %{buildroot}%{_mandir}/man?*/f* +rm -rf %{buildroot}%{_bindir}/f* + +%docs_package + +%files +%manifest %{name}.manifest +%license COPYING +%defattr(-,root,root) +%config %{_sysconfdir}/mtools.conf +%{_bindir}/* |