Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MAsm-6.11-d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jean-Claude COLSON
MAsm-6.11-d
Commits
fde6d1ea
Commit
fde6d1ea
authored
5 years ago
by
Jean-Claude COLSON
Browse files
Options
Downloads
Patches
Plain Diff
MAsm-6.11.spec
parent
5c0b58c9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MAsm-6.11.spec
+64
-0
64 additions, 0 deletions
MAsm-6.11.spec
with
64 additions
and
0 deletions
MAsm-6.11.spec
0 → 100644
+
64
−
0
View file @
fde6d1ea
%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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment