rpms/abcMIDI/devel abcMIDI.spec, NONE, 1.1 abcmidi-snprintf.patch, NONE, 1.1 abcmidi-sprintf.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Gérard Milmeister (gemi)
fedora-extras-commits at redhat.com
Sat Jun 10 12:07:11 UTC 2006
Author: gemi
Update of /cvs/extras/rpms/abcMIDI/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19429/devel
Modified Files:
.cvsignore sources
Added Files:
abcMIDI.spec abcmidi-snprintf.patch abcmidi-sprintf.patch
Log Message:
auto-import abcMIDI-20060422-1 on branch devel from abcMIDI-20060422-1.src.rpm
--- NEW FILE abcMIDI.spec ---
Name: abcMIDI
Version: 20060422
Release: 1%{?dist}
Summary: ABC to/from MIDI conversion utilities
Group: Applications/Multimedia
License: GPL
URL: http://abc.sourceforge.net/abcMIDI
Source0: http://ifdo.pugmarks.com/~seymour/runabc/abcMIDI-2006-04-22.zip
Patch0: abcmidi-snprintf.patch
Patch1: abcmidi-sprintf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
The abcMIDI package contains four programs: abc2midi to convert ABC
music notation to MIDI, midi2abc to convert MIDI files to (a first
approximation to) the corresponding ABC, abc2abc to reformat and/or
transpose ABC files, and yaps to typeset ABC files as PostScript.
For a description of the ABC syntax, please see the ABC userguide
which is a part of the abcm2ps.
%prep
%setup -q -n abcmidi
%patch0 -p1
%patch1 -p1
# correct end-of-line encoding
sed -i 's/\r//' doc/*.txt demo.abc doc/AUTHORS VERSION
%build
make %{?_smp_mflags} -f makefiles/unix.mak all CFLAGS="-DANSILIBS $RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 abc2midi $RPM_BUILD_ROOT%{_bindir}
install -m 755 abcmatch $RPM_BUILD_ROOT%{_bindir}
install -m 755 midi2abc $RPM_BUILD_ROOT%{_bindir}
install -m 755 midicopy $RPM_BUILD_ROOT%{_bindir}
install -m 755 abc2abc $RPM_BUILD_ROOT%{_bindir}
install -m 755 mftext $RPM_BUILD_ROOT%{_bindir}
install -m 755 yaps $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 doc/abc2abc.1 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 doc/abc2midi.1 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 doc/mftext.1 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 doc/midi2abc.1 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 doc/midicopy.1 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 doc/yaps.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc demo.abc VERSION doc/*.txt doc/AUTHORS doc/CHANGES
%{_mandir}/man*/*
%{_bindir}/*
%changelog
* Sun Jun 4 2006 Gerard Milmeister <gemi at bluewin.ch> - 20060422-1
- new version 2006-04-22
* Tue Mar 7 2006 Gerard Milmeister <gemi at bluewin.ch> - 20060207-1
- First Fedora release
abcmidi-snprintf.patch:
--- NEW FILE abcmidi-snprintf.patch ---
--- abcmidi/store.c.snprintf 2006-03-07 21:34:00.000000000 +0100
+++ abcmidi/store.c 2006-03-07 21:34:10.000000000 +0100
@@ -73,7 +73,6 @@
extern char* strchr();
extern void reduce();
#endif
-int snprintf(char *str, size_t size, const char *format, ...);
#define MAXLINE 500
abcmidi-sprintf.patch:
--- NEW FILE abcmidi-sprintf.patch ---
--- abcmidi/store.c.sprintf 2006-06-10 14:00:57.000000000 +0200
+++ abcmidi/store.c 2006-06-10 14:01:34.000000000 +0200
@@ -1222,7 +1222,7 @@
if(strcmp(command,"gracedivider") == 0) {
int b;
- char msg[40];
+ char msg[200];
skipspace(&p);
b = -1;
b = readnump(&p);
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/abcMIDI/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 10 Jun 2006 12:06:21 -0000 1.1
+++ .cvsignore 10 Jun 2006 12:07:11 -0000 1.2
@@ -0,0 +1 @@
+abcMIDI-2006-04-22.zip
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/abcMIDI/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Jun 2006 12:06:21 -0000 1.1
+++ sources 10 Jun 2006 12:07:11 -0000 1.2
@@ -0,0 +1 @@
+fe0d98b79da415ebab4e7faf3a9c12ab abcMIDI-2006-04-22.zip
More information about the fedora-extras-commits
mailing list