158 lines
5.4 KiB
RPMSpec
158 lines
5.4 KiB
RPMSpec
Name: swami
|
|
Version: 2.0.0
|
|
Release: 2mamba
|
|
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
|
|
Source1: swami.desktop
|
|
Source2: swami.svg
|
|
Source3: swami.xml
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: fluidsynth-devel
|
|
BuildRequires: glibc-devel
|
|
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: libinstpatch-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpython27-devel
|
|
BuildRequires: libpython-devel
|
|
BuildRequires: librsvg-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: hicolor-icon-theme
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
# FIXME:
|
|
#**************************************************************
|
|
#Enabled features (Feature name - Swami usage):
|
|
# fluidsynth - Soft synth wavetable plugin
|
|
# audiofile - Sound file library plugin
|
|
# libsndfile - Sound file library plugin
|
|
# Splash image
|
|
# Debugging (compiler flags)
|
|
#
|
|
#Disabled features:
|
|
# GnomeCanvas - Graphical envelope editor
|
|
|
|
%description
|
|
The Swami Project - Sampled Waveforms And Musical Instruments - is a collection of free software for editing and sharing MIDI instruments and sounds. Swami aims to provide cross platform (Linux, Windows and Mac OSX) instrument editing and sharing software for instrument formats such as SoundFont, DLS and GigaSampler.
|
|
|
|
%package devel
|
|
Summary: Static libraries and headers for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
The Swami Project - Sampled Waveforms And Musical Instruments - is a collection of free software for editing and sharing MIDI instruments and sounds. Swami aims to provide cross platform (Linux, Windows and Mac OSX) instrument editing and sharing software for instrument formats such as SoundFont, DLS and GigaSampler.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make CFLAGS="-ldl"
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/swami.desktop
|
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/apps/swami.svg
|
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_datadir}/mime/packages/swami.xml
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%posttrans
|
|
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
|
|
%{_datadir}/applications/swami.desktop
|
|
%{_datadir}/icons/hicolor/apps/swami.svg
|
|
%{_datadir}/mime/packages/swami.xml
|
|
%dir %{_datadir}/swami
|
|
%dir %{_datadir}/swami/images
|
|
%{_datadir}/swami/images/*.png
|
|
%{_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
|
|
%{_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
|
|
%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
|
|
%{_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
|
|
|
|
%changelog
|
|
* Thu May 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Mon Oct 24 2011 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
- update to 2.0.0
|
|
|
|
* Mon Jan 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4-1mamba
|
|
- package created by autospec
|