Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
03b4860343 dist-git conversion 2010-07-28 09:31:16 +00:00
Bill Nottingham
6e9bebb94b Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:24:13 +00:00
Jesse Keating
06a0332c9c Initialize branch F-12 for abcm2ps 2009-09-29 08:15:22 +00:00
4 changed files with 24 additions and 203 deletions

10
.gitignore vendored
View file

@ -1,12 +1,2 @@
abcm2ps-5.9.5.tar.gz abcm2ps-5.9.5.tar.gz
abcplus_en-1.1.0.zip abcplus_en-1.1.0.zip
/abcm2ps-5.9.21.tar.gz
/abcm2ps-7.8.14.tar.gz
/abcplus_en-2012-03-30.zip
/abcplus_en-DRAFT3.pdf
/abcm2ps-8.14.7.tar.gz
/abcm2ps-8.14.10.tar.gz
/abcm2ps-8.14.11.tar.gz
/abcm2ps-8.14.13.tar.gz
/abcm2ps-8.14.15.tar.gz
/abcplus_en-2024-07-10.zip

View file

@ -1,47 +0,0 @@
diff -up ./abcm2ps-8.14.15/format.c.gnu23 ./abcm2ps-8.14.15/format.c
--- ./abcm2ps-8.14.15/format.c.gnu23 2024-01-08 02:15:18.000000000 -0500
+++ ./abcm2ps-8.14.15/format.c 2025-01-24 16:13:01.068045837 -0500
@@ -1158,13 +1158,13 @@ void interpret_fmt_line(char *w, /* key
}
if (strcmp(w, "writehistory") == 0) { /* compatibility */
struct SYMBOL *s;
- int bool;
+ int ibool;
unsigned u;
- bool = get_bool(p);
+ ibool = get_bool(p);
for (s = info['I' - 'A']; s != 0; s = s->next) {
u = s->text[0] - 'A';
- if (bool)
+ if (ibool)
cfmt.fields[0] |= (1 << u);
else
cfmt.fields[0] &= ~(1 << u);
@@ -1215,7 +1215,7 @@ void interpret_fmt_line(char *w, /* key
}
break;
case 1: { /* %%writefields */
- int bool;
+ int ibool;
unsigned u;
q = p;
@@ -1223,7 +1223,7 @@ void interpret_fmt_line(char *w, /* key
p++;
while (isspace((unsigned char) *p))
p++;
- bool = get_bool(p);
+ ibool = get_bool(p);
while (*q != '\0' && !isspace((unsigned char) *q)) {
u = *q - 'A';
if (u < 26) {
@@ -1235,7 +1235,7 @@ void interpret_fmt_line(char *w, /* key
else
break; /*fixme: error */
}
- if (bool)
+ if (ibool)
cfmt.fields[i] |= (1 << u);
else
cfmt.fields[i] &= ~(1 << u);

View file

@ -1,16 +1,15 @@
Name: abcm2ps Name: abcm2ps
Version: 8.14.15 Version: 5.9.5
Release: 8%{?dist} Release: 2%{?dist}
Summary: A program to typeset ABC tunes into Postscript Summary: A program to typeset ABC tunes into Postscript
# Automatically converted from old format: GPLv3 - review is highly recommended. Group: Applications/Multimedia
License: GPL-3.0-only License: GPLv2
URL: http://moinejf.free.fr URL: http://moinejf.free.fr
Source0: https://github.com/leesavide/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: http://moinejf.free.fr/abcm2ps-%{version}.tar.gz
Source1: https://sourceforge.net/projects/abcplus/files/Abcplus/abcplus_en-2024-07-10.zip Source1: http://abcplus.sourceforge.net/abcplus_en-1.1.0.zip
Patch0: abcm2ps-gnu23.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc make
%description %description
Abcm2ps is a package which converts music tunes from ABC format to Abcm2ps is a package which converts music tunes from ABC format to
Postscript. Based on abc2ps version 1.2.5, it was developed mainly to Postscript. Based on abc2ps version 1.2.5, it was developed mainly to
@ -19,161 +18,40 @@ or many keyboards and a pedal-board. Abcm2ps introduces many
extensions to the ABC language that make it suitable for classical extensions to the ABC language that make it suitable for classical
music. music.
%package doc
Summary: Example ABC files with output
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Some sample ABC files with output as mp3, mid, and pdf.
%prep %prep
%setup -q %setup -q
%setup -q -a 1 %setup -q -a 1
%patch -P 0 -p 2
%build %build
%configure --enable-a4 %configure --enable-a4
%make_build CFLAGS="%{optflags}" make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make install \ make install \
prefix=%{buildroot}%{_prefix} \ prefix=$RPM_BUILD_ROOT%{_prefix} \
bindir=%{buildroot}%{_bindir} \ bindir=$RPM_BUILD_ROOT%{_bindir} \
libdir=%{buildroot}%{_libdir} \ libdir=$RPM_BUILD_ROOT%{_libdir} \
datadir=%{buildroot}%{_datadir} \ datadir=$RPM_BUILD_ROOT%{_datadir} \
mandir=%{buildroot}%{_mandir} \ docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
docdir=$PWD/_docs_staging
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%doc INSTALL README.md _docs_staging/abcm2ps/* %defattr(-,root,root,-)
%license COPYING %doc abcplus_en*/*
%doc *.abc *.eps License README features.txt format.txt options.txt Changes
%{_bindir}/abcm2ps %{_bindir}/abcm2ps
%{_datadir}/abcm2ps %{_datadir}/abcm2ps
%{_mandir}/man1/*
%files doc
%doc abcplus_en*/*
%changelog %changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.15-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.15-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Apr 12 2025 Stuart Gathman <stuart@gathman.org> - 8.14.15-6
- Update examples and pdf manual
* Fri Jan 24 2025 Stuart Gathman <stuart@gathman.org> - 8.14.15-5
- Patch to compile with gcc-15 (gnu23)
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 8.14.15-3
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Apr 12 2024 Stuart Gathman <stuart@gathman.org> - 8.14.15-1
- New upstream release
* Sat Mar 12 2022 Stuart Gathman <stuart@gathman.org> - 8.14.13-1
- New upstream release
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 22 2020 Stuart Gathman <stuart@gathman.org> - 8.14.11-1
- New upstream release
* Fri Nov 20 2020 Stuart Gathman <stuart@gathman.org> - 8.14.10-1
- New upstream release
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.7-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.14.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 12 2020 Stuart Gathman <stuart@gathman.org> - 8.14.7-2
- Move sample ABC output to subpackage
* Tue May 12 2020 Stuart Gathman <stuart@gathman.org> - 8.14.7-1
- New upstream release
* Wed Apr 29 2020 Filipe Rosset <rosset.filipe@gmail.com> - 7.8.14-11
- Fix FTBFS
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jul 9 2015 Gérard Milmeister <gemi@bluewin.ch> - 7.8.14-1
- New release 7.8.14
- Added draft manual
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.21-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.21-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.21-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Aug 2 2013 Ville Skyttä <ville.skytta@iki.fi> - 5.9.21-7
- Don't ship two copies of most docs, use special %%doc to install them.
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.21-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.21-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.21-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sat Feb 26 2011 Gérard Milmeister <gemi@bluewin.ch> - 5.9.21-3
- Unretired package
* Sat Feb 5 2011 Gérard Milmeister <gemi@bluewin.ch> - 5.9.21-1
- new release 5.9.21
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.5-2 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View file

@ -1,2 +1,2 @@
SHA512 (abcm2ps-8.14.15.tar.gz) = 5466051b337328cccf9c12838aecfffc782e9906b7b659f4929c5da3af9d25eb67bf679720a924197cf0ffaae68e0bdc5e3e8efcc7614524fe954769379a79e1 08282cc997a7cd74a95e39a5fa1c57e2 abcm2ps-5.9.5.tar.gz
SHA512 (abcplus_en-2024-07-10.zip) = a1bf7b07d8be2c6497334c6c918fbf2fa62353d02781510ba24a7ebbc5b108e219824f1be8dd166f39f9bce883244b6d193c29b12df87b3106b3d0f1ceb05a4e bf8d8ad90ba520f6a9872d2142efbda9 abcplus_en-1.1.0.zip