Release 2020.06.29

This commit is contained in:
Stuart D. Gathman 2020-06-30 17:11:42 -04:00
commit f6fcbbac2c
3 changed files with 46 additions and 36 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
abcMIDI-2009-03-17.zip
abcMIDI-*.zip

View file

@ -1,13 +1,13 @@
Name: abcMIDI
Version: 20090317
Release: 3%{?dist}
Version: 2020.06.29
Release: 1%{?dist}
Summary: ABC to/from MIDI conversion utilities
Group: Applications/Multimedia
License: GPLv2+
URL: http://abc.sourceforge.net/abcMIDI
Source0: http://ifdo.pugmarks.com/~seymour/runabc/abcMIDI-2009-03-17.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: https://ifdo.ca/~seymour/runabc/top.html
Source0: https://ifdo.ca/~seymour/runabc/%{name}-%{version}.zip
BuildRequires: gcc dos2unix
%description
The abcMIDI package contains four programs: abc2midi to convert ABC
@ -18,51 +18,61 @@ 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.
A mirror github repo is at https://github.com/sdgathman/abcmidi
%prep
%setup -q -n abcmidi
# correct end-of-line encoding
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
find . -type f | xargs dos2unix
# make license easier to find in files
mv doc/gpl.txt doc/LICENSE
%build
make %{?_smp_mflags} -f makefiles/unix.mak all CFLAGS="-DANSILIBS $RPM_OPT_FLAGS"
%configure
%{make_build}
%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 %{buildroot}%{_bindir}
install -p -m 755 abc2midi %{buildroot}%{_bindir}
install -p -m 755 abcmatch %{buildroot}%{_bindir}
install -p -m 755 midi2abc %{buildroot}%{_bindir}
install -p -m 755 midicopy %{buildroot}%{_bindir}
install -p -m 755 abc2abc %{buildroot}%{_bindir}
install -p -m 755 mftext %{buildroot}%{_bindir}
install -p -m 755 yaps %{buildroot}%{_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
mkdir -p %{buildroot}%{_mandir}/man1
install -p -m 644 doc/abc2abc.1 %{buildroot}%{_mandir}/man1
install -p -m 644 doc/abc2midi.1 %{buildroot}%{_mandir}/man1
install -p -m 644 doc/mftext.1 %{buildroot}%{_mandir}/man1
install -p -m 644 doc/midi2abc.1 %{buildroot}%{_mandir}/man1
install -p -m 644 doc/midicopy.1 %{buildroot}%{_mandir}/man1
install -p -m 644 doc/yaps.1 %{buildroot}%{_mandir}/man1
%files
%defattr(-,root,root,-)
%doc *.abc VERSION doc/*.txt doc/AUTHORS doc/CHANGES
%license doc/LICENSE
%doc doc/programming VERSION doc/*.txt doc/AUTHORS doc/CHANGES
%{_mandir}/man*/*
%{_bindir}/*
%changelog
* Mon Jun 29 2020 Stuart Gathman <stuart@gathman.org> - 2020.06.29-1
- New upstream release
* Tue Jun 02 2020 Stuart Gathman <stuart@gathman.org> - 2020.05.06-2
- Patch some warnings and dup globals
* Mon Jun 01 2020 Stuart Gathman <stuart@gathman.org> - 2020.05.06-1
- New upstream release
* Sun Mar 22 2020 Stuart Gathman <stuart@gathman.org> - 2020.02.12-1
- New release 2020-02-12
* Sun Nov 12 2017 Stuart Gathman <stuart@gathman.org> - 2013.04.30-1
- New release 2013-04-30
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090317-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View file

@ -1 +1 @@
e58ee677884bfc85fd3cd150179966c1 abcMIDI-2009-03-17.zip
SHA512 (abcMIDI-2020.06.29.zip) = a53acf12a4360a4ae7e5b0c96084fc7e151e2c7640486824524520e73b12d51cf0c3345aca8d39331e886fb50023db2912575c772dd376db6dd976e3393be55f