diff --git a/.gitignore b/.gitignore index 21773a3..19ed06f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,13 +6,3 @@ /amsynth-1.6.4.tar.bz2 /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 diff --git a/amsynth.appdata.xml b/amsynth.appdata.xml new file mode 100644 index 0000000..7351110 --- /dev/null +++ b/amsynth.appdata.xml @@ -0,0 +1,56 @@ + + + + amsynth.desktop + CC0-1.0 + GPL-2.0 + Amsynth + A classic synthesizer with dual oscillators + Un synthétiseur classique avec deux oscillateurs + +

+ Amsynth is a simple synthesizer who come with more than 2000 different sounds, and allow you to create others even more! + This software includes midi learning for a large part of the settings and provides a large panel of customizations (like the use of different keyboards or different scales...). + It features: +

+ +

+ Amsynth est un synthétiseur simple, fournit avec plus de 2000 sons différents et vous permet d'en créer encore plus! + Ce logiciel inclut l'apprentissage midi pour yune grande partie des réglages et vient avec un grand panel de personalisations possibles (comme l'utilisation de différents claviers ou tempéraments). + Il met en avant: +

+ +
+ + + http://amsynth.github.io/images/ScreenShot.png + The main window showing the application in action + La fenêtre principale + + + + audio + + http://amsynth.github.io/ + nobrakal@gmail.com + + Nick Dowell + + https://github.com/amsynth/amsynth/issues + + https://github.com/amsynth/amsynth/wiki +
diff --git a/amsynth.spec b/amsynth.spec index 0ca63ed..2b933b0 100644 --- a/amsynth.spec +++ b/amsynth.spec @@ -1,25 +1,23 @@ Name: amsynth -Version: 1.13.4 -Release: 4%{?dist} +Version: 1.7.1 +Release: 1%{?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 +#Source1: %%{name}.appdata.xml +Source2: lv2-%{name}-plugin.metainfo.xml +Source3: dssi-%{name}-plugin.metainfo.xml +Source4: vst-%{name}-plugin.metainfo.xml -# 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: gtk2-devel gtkmm24-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 +42,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,34 +51,43 @@ 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 %package -n vst-amsynth-plugin -Summary: Amsynth vst plugin +Summary: Amsynth lv2 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 + %build -%configure --with-jack --with-alsa --with-sndfile --with-lash --with-dssi -%make_build V=1 +# Build in C++11 mode as glibmm headers use C++11 features. This can be dropped +# when GCC in Fedora switches to C++11 by default (with GCC 6, most likely). +export CXXFLAGS="%{optflags} -std=c++11" + +%configure --with-jack --with-alsa --with-jack --with-sndfile --with-lash --with-dssi --prefix=/usr +make %{?_smp_mflags} %install %make_install +# Install appdata files +install -pDm644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/ +install -pDm644 %{SOURCE3} %{buildroot}%{_datadir}/appdata/ +install -pDm644 %{SOURCE4} %{buildroot}%{_datadir}/appdata/ + desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*%{name}.*.xml @@ -92,10 +99,6 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*%{name}.* %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/appdata/%{name}.appdata.xml -%{_mandir}/de/man1/amsynth.1* -%{_mandir}/fr/man1/amsynth.1* -%{_mandir}/man1/amsynth.1* - %files data -f %{name}.lang %doc README AUTHORS @@ -115,119 +118,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 - 1.13.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Wed Jul 23 2025 Fedora Release Engineering - 1.13.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu Jan 16 2025 Fedora Release Engineering - 1.13.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sun Sep 29 2024 Guido Aulisi - 1.13.4-1 -- Update to 1.13.4 - -* Thu Jul 25 2024 Miroslav Suchý - 1.13.2-6 -- convert license to SPDX - -* Wed Jul 17 2024 Fedora Release Engineering - 1.13.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Mon Jan 22 2024 Fedora Release Engineering - 1.13.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 1.13.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Jul 19 2023 Fedora Release Engineering - 1.13.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sun Feb 05 2023 Guido Aulisi - 1.13.2-1 -- Update to 1.13.2 - -* Wed Jan 18 2023 Fedora Release Engineering - 1.13.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Tue Dec 27 2022 Guido Aulisi - 1.13.0-1 -- Update to 1.13.0 - -* Wed Jul 20 2022 Fedora Release Engineering - 1.12.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed Jan 19 2022 Fedora Release Engineering - 1.12.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Mon Jan 10 2022 Guido Aulisi - 1.12.4-1 -- Update to 1.12.4 -- Add BR lv2-devel - -* Wed Jul 21 2021 Fedora Release Engineering - 1.12.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 1.12.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Dec 29 08:20:42 CET 2020 Guido Aulisi - 1.12.2-1 -- Update to 1.12.2 -- Fix #1911367 - -* Mon Nov 16 2020 Guido Aulisi - 1.12.1-1 -- Update to 1.12.1 - -* Sun Oct 04 2020 Guido Aulisi - 1.11.0-1 -- Update to 1.11.0 - -* Fri Jul 31 2020 Fedora Release Engineering - 1.10.0-3 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 1.10.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri May 08 2020 Guido Aulisi - 1.10.0-1 -- Update to 1.10.0 -- Some spec cleanup - -* Tue Jan 28 2020 Fedora Release Engineering - 1.9.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Jul 24 2019 Fedora Release Engineering - 1.9.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Tue Apr 23 2019 Guido Aulisi - 1.9.0-1 -- Update to 1.9.0 -- Patch a format string overflow -- Minor spec tuning - -* Thu Jan 31 2019 Fedora Release Engineering - 1.8.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jul 12 2018 Fedora Release Engineering - 1.8.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 1.8.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Jan 09 2018 Guido Aulisi - 1.8.0-5 -- Fix FTBFS with new Automake: patch Makefile.in, not Makefile.am - -* Sun Jan 07 2018 Igor Gnatenko - 1.8.0-4 -- Remove obsolete scriptlets - -* Tue Aug 01 2017 Alexandre Moine - 1.8.0-3 -- Fix RHBGZ #1476525 -- Spec cleanup - -* Wed Jul 26 2017 Fedora Release Engineering - 1.8.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Mon Jun 26 2017 Alexandre Moine - 1.8.0-1 -- New upstream release -- Drop dependency on gtkmm -- Add man page - * Fri Mar 17 2017 Alexandre Moine - 1.7.1-1 - New upstream release diff --git a/dssi-amsynth-plugin.metainfo.xml b/dssi-amsynth-plugin.metainfo.xml new file mode 100644 index 0000000..d06c1a1 --- /dev/null +++ b/dssi-amsynth-plugin.metainfo.xml @@ -0,0 +1,11 @@ + + + dssi-amsynth-plugin + amsynth.desktop + DSSI plugin + Plugin for the dssi audio API + Plugin pour l'API audio dssi + CC0-1.0 + GPL-2.0 + nobrakal@gmail.com + diff --git a/lv2-amsynth-plugin.metainfo.xml b/lv2-amsynth-plugin.metainfo.xml new file mode 100644 index 0000000..bc3ce9d --- /dev/null +++ b/lv2-amsynth-plugin.metainfo.xml @@ -0,0 +1,11 @@ + + + lv2-amsynth-plugin + amsynth.desktop + lv2 plugin + Plugin for the lv2 audio standard + Plugin pour le standard lv2 + CC0-1.0 + GPL-2.0 + nobrakal@gmail.com + diff --git a/sources b/sources index 092d806..1767ab1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (amsynth-1.13.4.tar.gz) = 94da080036667cc89dd22c04cadc8993fa4ff534b0f009f84d374fa20d391928a3b104287e6c6856edbdb1e5d26daf2c730a73fc08734db8c7eb62c8f35cc129 +SHA512 (amsynth-1.7.1.tar.bz2) = 0ecb87f943352c215743d5b20b9fb6829d8035203d00e05dda3af18b7ca81e2c247faf516abe4392bdaf95a7439bbbc7310c430c635d9806d623a284923da74a diff --git a/vst-amsynth-plugin.metainfo.xml b/vst-amsynth-plugin.metainfo.xml new file mode 100644 index 0000000..acfac9f --- /dev/null +++ b/vst-amsynth-plugin.metainfo.xml @@ -0,0 +1,11 @@ + + + vst-amsynth-plugin + amsynth.desktop + VST plugin + Amsynth plugin for the vst protocl + Plugin amsynth pour le protocole vst + CC0-1.0 + GPL-2.0 + nobrakal@gmail.com +