diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index c23c94a..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -abcMIDI-2007-01-06.zip diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a916e0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +abcMIDI-2008-09-24.zip diff --git a/Makefile b/Makefile deleted file mode 100644 index 4fc6be3..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: abcMIDI -# $Id$ -NAME := abcMIDI -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/abcMIDI.spec b/abcMIDI.spec index 6fe050d..c26e21e 100644 --- a/abcMIDI.spec +++ b/abcMIDI.spec @@ -1,12 +1,12 @@ Name: abcMIDI -Version: 20070106 +Version: 20080924 Release: 1%{?dist} Summary: ABC to/from MIDI conversion utilities Group: Applications/Multimedia -License: GPL +License: GPLv2+ URL: http://abc.sourceforge.net/abcMIDI -Source0: http://ifdo.pugmarks.com/~seymour/runabc/abcMIDI-2007-01-06.zip +Source0: http://ifdo.pugmarks.com/~seymour/runabc/abcMIDI-2008-09-24.zip BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -22,7 +22,9 @@ which is a part of the abcm2ps. %prep %setup -q -n abcmidi # correct end-of-line encoding -sed -i 's/\r//' doc/*.txt demo.abc doc/AUTHORS VERSION +sed -i 's/\r//' doc/*.txt *.abc doc/AUTHORS VERSION +# remove executable flag from text files +chmod 0644 *.abc VERSION doc/*.txt doc/AUTHORS doc/CHANGES %build @@ -55,12 +57,15 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc demo.abc VERSION doc/*.txt doc/AUTHORS doc/CHANGES +%doc *.abc VERSION doc/*.txt doc/AUTHORS doc/CHANGES %{_mandir}/man*/* %{_bindir}/* %changelog +* Wed Sep 24 2008 Gerard Milmeister - 20080924-1 +- new release 2008-09-24 + * Tue Jan 9 2007 Gerard Milmeister - 20070106-1 - new version 20070106 diff --git a/abcmidi-snprintf.patch b/abcmidi-snprintf.patch deleted file mode 100644 index bcf37aa..0000000 --- a/abcmidi-snprintf.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- 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 diff --git a/abcmidi-sprintf.patch b/abcmidi-sprintf.patch deleted file mode 100644 index 7bd1345..0000000 --- a/abcmidi-sprintf.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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); diff --git a/sources b/sources index d5dba47..c610e7a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -be1d03c642ae5a6d99728e4108aa6ae6 abcMIDI-2007-01-06.zip +3aa16f97bfc3bf187dc6ce5ea6a60750 abcMIDI-2008-09-24.zip