Compare commits

..

2 commits

Author SHA1 Message Date
Guido Aulisi
32f4426fbd Add BR for C compiler too
See https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
2018-02-19 11:16:12 +00:00
Guido Aulisi
ac66197e54 Add BR for C++ compiler
See https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
2018-02-19 07:55:29 +00:00
5 changed files with 54 additions and 125 deletions

9
.gitignore vendored
View file

@ -7,12 +7,3 @@
/amsynth-1.7.0.tar.bz2
/amsynth-1.7.1.tar.bz2
/amsynth-1.8.0.tar.bz2
/amsynth-1.9.0.tar.bz2
/amsynth-1.10.0.tar.gz
/amsynth-1.11.0.tar.gz
/amsynth-1.12.1.tar.gz
/amsynth-1.12.2.tar.gz
/amsynth-1.12.4.tar.gz
/amsynth-1.13.0.tar.gz
/amsynth-1.13.2.tar.gz
/amsynth-1.13.4.tar.gz

View file

@ -0,0 +1,13 @@
--- amsynth-1.8.0/src/GUI/editor_menus.cpp 2017-06-26 11:03:50.759991095 +0200
+++ amsynth.new/src/GUI/editor_menus.cpp 2017-06-26 11:03:11.541393614 +0200
@@ -197,8 +197,8 @@
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- message);
- gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), secondary);
+ "%s",message);
+ gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),"%s", secondary);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}

11
amsynth.fixMetainfo.patch Normal file
View file

@ -0,0 +1,11 @@
--- amsynth-1.8.0/Makefile.am 2017-06-25 22:29:19.000000000 +0200
+++ amsynth.new/Makefile.am 2017-06-26 11:21:45.823110134 +0200
@@ -296,7 +296,7 @@
appdata_in_files += data/dssi-amsynth-plugin.metainfo.xml.in
appdata_in_files += data/lv2-amsynth-plugin.metainfo.xml.in
appdata_in_files += data/vst-amsynth-plugin.metainfo.xml.in
-appdata_DATA = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
EXTRA_DIST += $(appdata_in_files)

View file

@ -1,25 +1,25 @@
Name: amsynth
Version: 1.13.4
Release: 4%{?dist}
Version: 1.8.0
Release: 3%{?dist}
Summary: A classic synthesizer with dual oscillators
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
License: GPLv2+
URL: http://amsynth.github.io/
Source0: https://github.com/%{name}/%{name}/releases/download/release-%{version}/%{name}-%{version}.tar.gz
Source0: https://github.com/nixxcode/%{name}/releases/download/release-%{version}/%{name}-%{version}.tar.bz2
Patch0: amsynth.fixConstString.patch
Patch1: amsynth.fixMetainfo.patch
# https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: lash-devel
BuildRequires: jack-audio-connection-kit-devel lash-devel libsndfile-devel libsndfile-utils
BuildRequires: mesa-libGL-devel mesa-libEGL-devel
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: intltool
BuildRequires: pandoc
BuildRequires: lv2-devel
Requires: jack-audio-connection-kit libsndfile-utils lash
Requires: hicolor-icon-theme
Requires: %{name}-data = %{version}-%{release}
@ -44,7 +44,7 @@ Sound banks and skins used in amsynth
Summary: Amsynth lv2 plugin
Requires: lv2
Requires: %{name}-data = %{version}-%{release}
Obsoletes: lv2-amsynth-plugins < 1.6.0
Obsoletes: lv2-amsynth-plugins
%description -n lv2-amsynth-plugin
Amsynth plugin for the lv2 audio standard
@ -53,10 +53,9 @@ Amsynth plugin for the lv2 audio standard
%package -n dssi-amsynth-plugin
Summary: Amsynth dssi plugin
BuildRequires: dssi-devel liblo liblo-devel
BuildRequires: make
Requires: dssi
Requires: %{name}-data = %{version}-%{release}
Obsoletes: dssi-amsynth-plugins < 1.6.0
Obsoletes: dssi-amsynth-plugins
%description -n dssi-amsynth-plugin
Amsynth plugin for the dssi audio API
@ -64,18 +63,20 @@ Amsynth plugin for the dssi audio API
%package -n vst-amsynth-plugin
Summary: Amsynth vst plugin
Requires: %{name}-data = %{version}-%{release}
Obsoletes: vst-amsynth-plugins < 1.6.0
Obsoletes: vst-amsynth-plugins
%description -n vst-amsynth-plugin
Amsynth plugin for the vst protocol
Amsynth plugin for the vst protocl
%prep
%autosetup -p1
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure --with-jack --with-alsa --with-sndfile --with-lash --with-dssi
%make_build V=1
%configure --with-jack --with-alsa --with-jack --with-sndfile --with-lash --with-dssi --prefix=/usr
%make_build
%install
@ -115,107 +116,20 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*%{name}.*
%{_libdir}/vst/%{name}_vst.so
%{_datadir}/appdata/vst-%{name}-plugin.metainfo.xml
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Sep 29 2024 Guido Aulisi <guido.aulisi@inps.it> - 1.13.4-1
- Update to 1.13.4
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 1.13.2-6
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Feb 05 2023 Guido Aulisi <guido.aulisi@gmail.com> - 1.13.2-1
- Update to 1.13.2
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Dec 27 2022 Guido Aulisi <guido.aulisi@gmail.com> - 1.13.0-1
- Update to 1.13.0
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Jan 10 2022 Guido Aulisi <guido.aulisi@gmail.com> - 1.12.4-1
- Update to 1.12.4
- Add BR lv2-devel
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 29 08:20:42 CET 2020 Guido Aulisi <guido.aulisi@gmail.com> - 1.12.2-1
- Update to 1.12.2
- Fix #1911367
* Mon Nov 16 2020 Guido Aulisi <guido.aulisi@gmail.com> - 1.12.1-1
- Update to 1.12.1
* Sun Oct 04 2020 Guido Aulisi <guido.aulisi@gmail.com> - 1.11.0-1
- Update to 1.11.0
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 08 2020 Guido Aulisi <guido.aulisi@gmail.com> - 1.10.0-1
- Update to 1.10.0
- Some spec cleanup
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Apr 23 2019 Guido Aulisi <guido.aulisi@gmail.com> - 1.9.0-1
- Update to 1.9.0
- Patch a format string overflow
- Minor spec tuning
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 09 2018 Guido Aulisi <guido.aulisi@gmail.com> - 1.8.0-5
- Fix FTBFS with new Automake: patch Makefile.in, not Makefile.am
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-4
- Remove obsolete scriptlets
* Tue Aug 01 2017 Alexandre Moine <nobrakal@cthugha.org> - 1.8.0-3
- Fix RHBGZ #1476525
- Spec cleanup

View file

@ -1 +1 @@
SHA512 (amsynth-1.13.4.tar.gz) = 94da080036667cc89dd22c04cadc8993fa4ff534b0f009f84d374fa20d391928a3b104287e6c6856edbdb1e5d26daf2c730a73fc08734db8c7eb62c8f35cc129
SHA512 (amsynth-1.8.0.tar.bz2) = a47489b103dbdd1cb2233d8629acfda2a1d26ac1f7ea5b8c4e7925676842cac21758ca94b50894e71426517bd826e9a9b6fd26800516054e24d62f7cbce4f0f9