d2b8bd1
Name:           swami
08149df
Version:        2.0.0
Orcan Ogetbil 41ac5ba
Release:        22.20110806svn386%{?dist}
d2b8bd1
Summary:        MIDI instrument and sound editor
08149df
License:        GPLv2
08149df
URL:            http://www.swamiproject.org/
08149df
# Upstream applied our patches and switched to cmake in trunk. It is easier
08149df
# just to package the trunk than patching it. The original tarball is at
08149df
#Source0:        http://downloads.sourceforge.net/swami/swami-%%{version}.tar.gz
08149df
Source0:        swami-2.0.0-svn386.tar.bz2
08149df
# To fetch the sources
08149df
Source1:        swami-snapshot.sh
Orcan Ogetbil cf40c8b
Patch0:         swami-gpointer-int-size.patch
08149df
08149df
BuildRequires:  cmake
d2b8bd1
BuildRequires:  desktop-file-utils
08149df
BuildRequires:  fftw-devel
d2b8bd1
BuildRequires:  fluidsynth-devel
Orcan Ogetbil e33cb33
BuildRequires:  gcc
08149df
BuildRequires:  libglade2-devel
08149df
BuildRequires:  libgnomecanvas-devel
08149df
BuildRequires:  libinstpatch-devel
08149df
BuildRequires:  librsvg2-devel
d2b8bd1
d2b8bd1
Requires:       hicolor-icon-theme
Rex Dieter 9cb9106
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
d2b8bd1
d2b8bd1
%description
d2b8bd1
The Swami Project - Sampled Waveforms And Musical Instruments - is a collection
d2b8bd1
of free software for editing and sharing MIDI instruments and sounds. Swami
d2b8bd1
aims to provide an instrument editing and sharing software for instrument 
d2b8bd1
formats such as SoundFont, DLS and GigaSampler. 
d2b8bd1
08149df
%package libs
08149df
Summary:        MIDI instrument and sound editor library
d2b8bd1
08149df
%description libs
08149df
Shared libraries for The Swami Project - Sampled Waveforms And Musical
08149df
Instruments.
d2b8bd1
08149df
%package devel
08149df
Summary:        MIDI instrument and sound editor development files
Rex Dieter 9cb9106
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
d2b8bd1
08149df
%description devel
08149df
Headers and development files for The Swami Project - Sampled Waveforms And
08149df
Musical Instruments.
d2b8bd1
08149df
%prep
08149df
%setup -q
Orcan Ogetbil cf40c8b
%patch0 -p1 -b .gpointer_int_size
d2b8bd1
08149df
%build
08149df
mkdir -p %{_target_platform}
08149df
pushd %{_target_platform}
08149df
%{cmake} -DLIB_SUFFIX="" -DPLUGINS_DIR=%{_libdir}/swami/ ..
08149df
popd
d2b8bd1
08149df
make %{?_smp_mflags} -C %{_target_platform}
d2b8bd1
d2b8bd1
08149df
%install
08149df
make install DESTDIR=%{buildroot} -C %{_target_platform}
293be9f
desktop-file-install                                    \
293be9f
    --add-category="AudioVideo"                         \
293be9f
    --add-category="X-Jack"                             \
293be9f
    --remove-category="Application"                     \
293be9f
    --remove-key="Encoding"                             \
293be9f
    --delete-original                                   \
293be9f
    --dir=%{buildroot}%{_datadir}/applications          \
293be9f
    %{buildroot}/%{_datadir}/applications/%{name}.desktop
d2b8bd1
d2b8bd1
%files
08149df
%doc AUTHORS ChangeLog NEWS README
d2b8bd1
%{_libdir}/%{name}/
08149df
%{_datadir}/%{name}/
d2b8bd1
%{_bindir}/%{name}
d2b8bd1
%{_datadir}/applications/%{name}.desktop
08149df
%{_datadir}/icons/hicolor/*/apps/*
d2b8bd1
%{_datadir}/mime/packages/%{name}.xml
d2b8bd1
08149df
%files libs
Orcan Ogetbil cf40c8b
%license COPYING
08149df
%{_libdir}/lib%{name}*.so.*
08149df
08149df
%files devel
08149df
%doc HACKERS
08149df
%{_libdir}/lib%{name}*.so
08149df
%{_includedir}/%{name}/
08149df
08149df
d2b8bd1
%changelog
Orcan Ogetbil 41ac5ba
* Mon Feb 17 2020 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 2.0.0-22.20110806svn386
Orcan Ogetbil 41ac5ba
- Rebuild against fluidsynth2
Orcan Ogetbil 41ac5ba
e30dcb6
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-21.20110806svn386
e30dcb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e30dcb6
e49f3c0
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-20.20110806svn386
e49f3c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e49f3c0
b0abc83
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-19.20110806svn386
b0abc83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b0abc83
Orcan Ogetbil cf40c8b
* Tue Oct 23 2018 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.0.0-18.20110806svn386
Orcan Ogetbil cf40c8b
- Patch for invalid pointer cast on 64bit systems
Orcan Ogetbil cf40c8b
- Remove old scriptlets
Orcan Ogetbil cf40c8b
acad54f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-17.20110806svn386
acad54f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
acad54f
db2e873
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-16.20110806svn386
db2e873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
db2e873
d33547b
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-15.20110806svn386
d33547b
- Remove obsolete scriptlets
d33547b
41e0010
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-14.20110806svn386
41e0010
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
41e0010
86c06e4
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-13.20110806svn386
86c06e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
86c06e4
e36978c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-12.20110806svn386
e36978c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e36978c
2d68bfe
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-11.20110806svn386
2d68bfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2d68bfe
4a458a5
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-10.20110806svn386
4a458a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4a458a5
Rex Dieter 9cb9106
* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-9.20110806svn386
Rex Dieter 9cb9106
- update icon/mime scriptlets, use %%name macro in subpkg deps
Rex Dieter 9cb9106
f281f0f
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8.20110806svn386
f281f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f281f0f
5d6ed83
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-7.20110806svn386
5d6ed83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5d6ed83
9506ead
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-6.20110806svn386
9506ead
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9506ead
bd88105
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-5.20110806svn386
bd88105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bd88105
3efb060
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4.20110806svn386
3efb060
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3efb060
3d90404
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-3.20110806svn386
3d90404
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3d90404
accd8b0
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.0.0-2.20110806svn386
accd8b0
- Rebuild for new libpng
accd8b0
08149df
* Fri Aug 12 2011 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.0.0-1.20110806svn386
08149df
- Update to swami2. Fixes RHBZ#728694
08149df
9b51f13
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-7
9b51f13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9b51f13
78afdc2
* Wed Aug 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.9.4-6
40bf866
- Update .desktop file
40bf866
5138521
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-5
5138521
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5138521
d2b8bd1
* Sun Apr 12 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.9.4-4
d2b8bd1
- Add Requires: hicolor-icon-theme
d2b8bd1
d2b8bd1
* Fri Mar 27 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.9.4-3
d2b8bd1
- Initial Fedora build
d2b8bd1
d2b8bd1
* Sun Jul 27 2008 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.4-2
d2b8bd1
- updated for new fluidsynth libraries (1.0.8) on fc8
d2b8bd1
d2b8bd1
* Wed Nov 14 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
d2b8bd1
- updated desktop categories
d2b8bd1
- add popt-devel build requirement for f8
d2b8bd1
d2b8bd1
* Fri Sep 14 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.4-1
d2b8bd1
- updated to 0.9.4
d2b8bd1
d2b8bd1
* Tue May  8 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.3-2
d2b8bd1
- build on fc7, use autogen.sh to use the newer versions of auto* tools
d2b8bd1
- add MKINSTALLDIRS explicitly in make invocation
d2b8bd1
d2b8bd1
* Mon Apr 16 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.3-2
d2b8bd1
- spec file tweaks, build on fc6
d2b8bd1
d2b8bd1
* Mon May 29 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.3-1
d2b8bd1
- added Planet CCRMA categories to desktop file, spec file cleanups
d2b8bd1
- updated to 0.9.3
d2b8bd1
d2b8bd1
* Fri Nov 18 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.2-3
d2b8bd1
- rebuild for new version of fluidsynth (1.0.6)
d2b8bd1
- build requires lash (name change from ladcca)
d2b8bd1
- change all references from ladcca to lash
d2b8bd1
- added autotools build requirement (for change to lash), needs
d2b8bd1
  automake17
d2b8bd1
d2b8bd1
* Fri Dec 31 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
d2b8bd1
- spec file cleanup
d2b8bd1
d2b8bd1
* Fri Sep 24 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.2-2
d2b8bd1
- built for new fluidsynth libraries
d2b8bd1
- set libfluidsynth require to be for the exact version, swami is
d2b8bd1
  very picky and won't work with newer versions than the one it was
d2b8bd1
  compiled with
d2b8bd1
d2b8bd1
* Thu May 20 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
d2b8bd1
- added code to recognize libpng12.pc in configure
d2b8bd1
d2b8bd1
* Wed May 12 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
d2b8bd1
- added buildrequires
d2b8bd1
d2b8bd1
* Sun Feb 29 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.2-1
d2b8bd1
- updated to 0.9.2
d2b8bd1
- patched config.status to force recognition of libpng
d2b8bd1
- erased and obsoleted old libswami and libswami-devel packages
d2b8bd1
d2b8bd1
* Mon Nov 17 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.1a-3
d2b8bd1
- spec file tweaks, autogen ommited, does not work on FC1
d2b8bd1
d2b8bd1
* Fri Jul 25 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.1-3
d2b8bd1
- rebuilt for fluidsynth 1.0.3
d2b8bd1
- added release tags and an explicit dependency with the current
d2b8bd1
  version of libfluidsynth
d2b8bd1
d2b8bd1
* Fri Jul 25 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.1-2
d2b8bd1
- rebuilt for fluidsynth 1.0.2
d2b8bd1
d2b8bd1
* Thu May  8 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.1-1
d2b8bd1
- updated to 0.9.1a
d2b8bd1
d2b8bd1
* Thu Mar  6 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.0-1.cvs
d2b8bd1
- cvs: 20030306.185320
d2b8bd1
d2b8bd1
* Thu Feb 27 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.0-1.cvs
d2b8bd1
- adapted from mandrake spec file
d2b8bd1
- switched over to cvs swami
d2b8bd1
d2b8bd1
* Fri Jan 31 2003 Austin Acton <aacton@yorku.ca> 0.9.0-1mdk
d2b8bd1
- adapted spec file from Torbjorn Turpeinen <tobbe@nyvalls.se>