update to 2.2.1 [release 2.2.1-1mamba;Tue Apr 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:13:56 +01:00
parent 84c84cac8c
commit f4c367739c

View File

@ -1,13 +1,14 @@
Name: swami
Version: 2.0.0
Release: 2mamba
Version: 2.2.1
Release: 1mamba
Summary: A collection of free software for editing and sharing MIDI instruments and sounds
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://swami.resonance.org/trac
Source: http://downloads.sourceforge.net/project/swami/swami/%{version}/swami-%{version}.tar.gz
Source: https://github.com/swami/swami.git/v%{version}/swami-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/project/swami/swami/%{version}/swami-%{version}.tar.gz
Source1: swami.desktop
Source2: swami.svg
Source3: swami.xml
@ -15,28 +16,23 @@ License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: fluidsynth-devel
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libart_lgpl-devel
BuildRequires: libatk-devel
BuildRequires: libaudiofile-devel
BuildRequires: libcairo-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglade-devel
BuildRequires: libglib-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnomeprint-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtksourceview1-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libinstpatch-devel
BuildRequires: libpango-devel
BuildRequires: libpython27-devel
BuildRequires: libpython-devel
BuildRequires: librsvg-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libsndfile-devel
## AUTOBUILDREQ-END
BuildRequires: libinstpatch-devel >= 1.1.4
Requires: hicolor-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -65,16 +61,19 @@ The Swami Project - Sampled Waveforms And Musical Instruments - is a collection
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
%build
%configure
%make CFLAGS="-ldl"
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%makeinstall -C build
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/swami.desktop
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/apps/swami.svg
@ -89,64 +88,53 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%defattr(-,root,root)
%{_bindir}/swami
#%{_libdir}/swami/samplelib_audiofile.*
#%{_libdir}/swami/samplelib_libsndfile.*
#%{_libdir}/swami/wavetbl_fluidsynth.*
%{_libdir}/libswami.so.*
%{_libdir}/libswamigui.so.*
%dir %{_libdir}/swami
%{_libdir}/swami/fftune.a
%{_libdir}/swami/fftune.la
%{_libdir}/swami/fftune.so
%{_libdir}/swami/fftune_gui.a
%{_libdir}/swami/fftune_gui.la
%{_libdir}/swami/fftune_gui.so
%{_libdir}/swami/fluidsynth.a
%{_libdir}/swami/fluidsynth.la
%{_libdir}/swami/fluidsynth.so
%{_libdir}/swami/fluidsynth_gui.a
%{_libdir}/swami/fluidsynth_gui.la
%{_libdir}/swami/fluidsynth_gui.so
%{_libdir}/swami/fluidsynth_plugin.so
%{_datadir}/applications/swami.desktop
%{_datadir}/icons/hicolor/apps/swami.svg
%{_datadir}/mime/packages/swami.xml
%dir %{_datadir}/swami
%{_datadir}/swami/swami-2.ui
%dir %{_datadir}/swami/images
%{_datadir}/swami/images/*.png
%{_datadir}/swami/images/knob.svg
#%{_datadir}/swami/images/knob.svg
%{_datadir}/swami/images/DLS.png
%{python_sitearch}/swamiguimodule.a
%{python_sitearch}/swamiguimodule.la
%{python_sitearch}/swamiguimodule.so
%{python_sitearch}/swamimodule.a
%{python_sitearch}/swamimodule.la
%{python_sitearch}/swamimodule.so
#%{python_sitearch}/swamiguimodule.a
#%{python_sitearch}/swamiguimodule.la
#%{python_sitearch}/swamiguimodule.so
#%{python_sitearch}/swamimodule.a
#%{python_sitearch}/swamimodule.la
#%{python_sitearch}/swamimodule.so
%{_datadir}/icons/hicolor/48x48/apps/swami.png
%{_datadir}/icons/hicolor/scalable/apps/swami.svg
%{_datadir}/pygtk/2.0/defs/swami.defs
%{_datadir}/pygtk/2.0/defs/swamigui.defs
#%{_datadir}/pygtk/2.0/defs/swami.defs
#%{_datadir}/pygtk/2.0/defs/swamigui.defs
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/swami/libswami
%{_includedir}/swami/libswami/*.h
%dir %{_includedir}/swami/swamigui
%{_includedir}/swami/swamigui/*.h
%{_libdir}/libswami.a
%{_libdir}/libswami.la
%dir %{_includedir}/swami/libswamigui
%{_includedir}/swami/libswamigui/*.h
%{_libdir}/libswami.so
%{_libdir}/libswamigui.a
%{_libdir}/libswamigui.la
%{_libdir}/libswamigui.so
%dir %{_datadir}/gtk-doc/html/libswami
%{_datadir}/gtk-doc/html/libswami/*
%{_datadir}/swami/swami-2.glade
%dir %{_datadir}/gtk-doc/html/swamigui
%{_datadir}/gtk-doc/html/swamigui/*
%doc ChangeLog NEWS README
#%dir %{_datadir}/gtk-doc/html/libswami
#%{_datadir}/gtk-doc/html/libswami/*
#%{_datadir}/swami/swami-2.glade
#%dir %{_datadir}/gtk-doc/html/swamigui
#%{_datadir}/gtk-doc/html/swamigui/*
%doc ChangeLog NEWS
%changelog
* Tue Apr 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- update to 2.2.1
* Thu May 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
- python 2.7 mass rebuild