rpms/atasm/F-9 atasm-1.06-defines.patch, NONE, 1.1 atasm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Dan Horák
sharkcz at fedoraproject.org
Wed Apr 8 08:27:38 UTC 2009
- Previous message: rpms/hyphen-ml/devel hyph_ml_IN.dic, NONE, 1.1 hyphen-ml.spec, NONE, 1.1 import.log, NONE, 1.1
- Next message: rpms/atasm/EL-5 atasm-1.06-defines.patch, NONE, 1.1 atasm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sharkcz
Update of /cvs/pkgs/rpms/atasm/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28893
Modified Files:
.cvsignore sources
Added Files:
atasm-1.06-defines.patch atasm.spec
Log Message:
initial import
atasm-1.06-defines.patch:
--- NEW FILE atasm-1.06-defines.patch ---
diff -Nrup atasm106.orig/src/asm.c atasm106/src/asm.c
--- atasm106.orig/src/asm.c 2009-03-17 21:39:26.000000000 +0100
+++ atasm106/src/asm.c 2009-03-22 15:14:31.000000000 +0100
@@ -2163,8 +2163,8 @@ int main(int argc, char *argv[]) {
}
else if (!strncasecmp(argv[i],"-d",2)) {
str_list *str=(str_list *)malloc(sizeof(str_list));
- str->str=(char *)malloc(strlen(argv[i]+1));
- strcpy(str->str,argv[i]+1);
+ str->str=(char *)malloc(strlen(argv[i]+2));
+ strcpy(str->str,argv[i]+2);
str->next=predefs;
predefs=str;
} else if (!strcasecmp(argv[i],"-s"))
--- NEW FILE atasm.spec ---
Name: atasm
Version: 1.06
Release: 2%{?dist}
Summary: 6502 cross-assembler
Group: Development/Tools
License: GPLv2+
URL: http://atari.miribilist.com/atasm/
Source0: http://downloads.sourceforge.net/%{name}/%{name}106.zip
Patch0: %{name}-1.06-defines.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
%description
ATasm is a 6502 command-line cross-assembler that is compatible with the
original Mac/65 macroassembler released by OSS software. Code
development can now be performed using "modern" editors and compiles
with lightning speed.
%prep
%setup -q -n %{name}106
%patch0 -p1
%build
pushd src
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -DZLIB_CAPABLE"
sed -e 's|%DOCDIR%|%{_docdir}/%{name}-%{version}|g' %{name}.1.in > %{name}.1
popd
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
pushd src
install -p -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
install -p -m 644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
popd
%clean
rm -rf $RPM_BUILD_ROOT
%check
pushd tests
make test
%files
%defattr(-,root,root,-)
%doc LICENSE VERSION.TXT docs/atasm.blurb docs/atasm.pdf
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Tue Apr 7 2009 Dan Horák <dan[at]danny.cz> - 1.06-2
- don't compress the man page
* Thu Mar 19 2009 Dan Horák <dan[at]danny.cz> - 1.06-1
- update to 1.06
* Sun Oct 7 2007 Dan Horák <dan[at]danny.cz> - 1.05-0.1.beta
- initial Fedora version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/atasm/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Apr 2009 02:41:54 -0000 1.1
+++ .cvsignore 8 Apr 2009 08:27:08 -0000 1.2
@@ -0,0 +1 @@
+atasm106.zip
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/atasm/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Apr 2009 02:41:54 -0000 1.1
+++ sources 8 Apr 2009 08:27:08 -0000 1.2
@@ -0,0 +1 @@
+8019a72f5d27e4e563f433c9368a6c2c atasm106.zip
- Previous message: rpms/hyphen-ml/devel hyph_ml_IN.dic, NONE, 1.1 hyphen-ml.spec, NONE, 1.1 import.log, NONE, 1.1
- Next message: rpms/atasm/EL-5 atasm-1.06-defines.patch, NONE, 1.1 atasm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list