Skip to content
Snippets Groups Projects
Commit fde6d1ea authored by Jean-Claude COLSON's avatar Jean-Claude COLSON
Browse files

MAsm-6.11.spec

parent 5c0b58c9
No related branches found
No related tags found
No related merge requests found
%define Nom MAsm
%define Version 6.11
Name: %{Nom}
Version: %{Version}
Release: d
%define dir %{Nom}-%{Version}
Summary: Microsoft Assembler and Debugger
Group: Development/Tools
License: (C) Copyright 1993, Microsoft Corporation
#Source: https://downloads.sourceforge.net/project/masm611/MASM611/masm611.rar
URL: https://sourceforge.net/projects/masm611/
BuildArch: noarch
BuildRequires: dosbox rsync
Requires: dosbox
Prefix: %{_datadir}
# Use the .tar.gz version because the unrar isn't "free".
Source0: masm611.tar.gz
# The manually installed result :
Source1: MAsm-6.11
%description
Microsoft Assembler and Debugger for use with dosbox.
Sample dosbox config to put at the end of the ~/.dosbox/dosbox-*.conf :
@echo off
mount c: ~/.dosbox/C >NUL
mount m: %{dir}/%{dir} >NUL
mount p: ~/Projects/Assembler
SET PATH=M:\MASM611\BIN;M:\DEBUG;%PATH%
SET LIB=M:\MASM611\LIB
SET INCLUDE=M:\MASM611\INCLUDE
SET INIT=M:\MASM611\INIT
SET HELPFILES=M:\MASM611\HELP\*.HLP
SET ASMEX=M:\MASM611\SAMPLES
SET TMP=C:\TMP
SET DOSX=-swapdir C:\
C:
echo on
%prep
rm -rf %{_builddir}/%{dir}
mkdir %{_builddir}/%{dir}
%build
# unrar x masm611.rar
# dosbox -c 'mount i: /tmp/Install' -c 'I:\MASM611\DISK1\SETUP.EXE'
cp -a ../SOURCES/%{dir}/* %{dir}/
%install
mkdir -p %{buildroot}/%{_datadir}
rsync -a $RPM_BUILD_DIR/%{dir} %{buildroot}/%{_datadir}/
%clean
rm -rf %{buildroot}/*
%files
%attr(-,root,root)
%{_datadir}/%{dir}
%changelog
* Thu Apr 9 2020 Jean-Claude.COLSON@univ-lorraine.fr
- Création du rpm à partir du dossier recopié sur les machines de l'I.U.T. de Metz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment