Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
timidity
timidity.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File timidity.spec of Package timidity
# # spec file for package timidity (Version 2.13.2) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: timidity Summary: Software Synthesizer and MIDI Player Version: 2.13.2 Release: 247 Group: Productivity/Multimedia/Sound/Midi AutoReqProv: on License: GPL v2 or later Url: http://timidity.sourceforge.net/ %define package_version 2.13.2 %define _use_internal_dependency_generator 0 %define my_provides /tmp/my-provides BuildRequires: arts-devel esound-devel gtk2-devel libao-devel ncurses-devel openmotif openmotif-devel slang-devel tk-devel update-desktop-files xaw3d %if 0%{?suse_version} > 1020 BuildRequires: fdupes xaw3d-devel %endif Source: TiMidity++-%{package_version}.tar.bz2 # Source: timidity-cvs20040227.tar.bz2 Source1: timidity-patches.tar.bz2 Source2: %name.desktop Source3: timidity.png Source4: timidity.cfg Patch: timidity-el-path.dif Patch1: timidity-gcc4-fix.diff Patch2: timidity-array-range-fix.diff Patch3: timidity-tcl-wish-path-fix.diff Patch4: timidity-alsaseq-poll-fix.diff Patch5: timidity-fonts-fix.diff Patch6: timidity-tcl8.5-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description TiMidity plays MIDI files without external MIDI instruments and converts MIDI files to WAV using GUS/patch and SoundFont for voice data. Authors: -------- Masanao Izumo <mo@goice.co.jp> %prep %setup -q -n TiMidity++-%{package_version} -a 1 # %setup -q -n timidity -a 1 %patch %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 # save the original INSTALL file mv INSTALL INSTALL-orig %build echo >> autoconf/arts.m4 autoreconf --force --install cp INSTALL-orig INSTALL %configure \ --enable-dynamic=ncurses,emacs,slang,vt100,xaw,xskin,gtk,motif,tcltk,alsaseq,server \ --enable-audio=alsa,arts,oss,esd,vorbis,jack,ao \ --with-default-output=alsa \ --enable-network \ --enable-spectrogram \ --enable-wrd \ --with-module-dir=%{_libdir}/timidity \ --with-default-path=/etc make %{?jobs:-j %jobs} WISH=tclsh CFLAGS="$RPM_OPT_FLAGS" %install %makeinstall WISH=tclsh mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults/ cp TiMidity.ad $RPM_BUILD_ROOT/usr/share/X11/app-defaults/TiMidity # for japanese locale # UTF-8 version mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/{ja,ja_JP.UTF-8,ja_JP.eucJP,ja_JP.ujis}/app-defaults iconv -feuc-jp -tutf-8 TiMidity-uj.ad > $RPM_BUILD_ROOT%{_datadir}/X11/ja/app-defaults/TiMidity ln -s ../../ja/app-defaults/TiMidity $RPM_BUILD_ROOT%{_datadir}/X11/ja_JP.UTF-8/app-defaults/TiMidity # EUC-jp version cp TiMidity-uj.ad $RPM_BUILD_ROOT%{_datadir}/X11/ja_JP.eucJP/app-defaults/TiMidity ln -s ../../ja_JP.eucJP/app-defaults/TiMidity $RPM_BUILD_ROOT%{_datadir}/X11/ja_JP.ujis/app-defaults/TiMidity # copy documents mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} cp AUTHORS COPYING ChangeLog* INSTALL NEWS README TODO \ $RPM_BUILD_ROOT%{_docdir}/%{name} for i in *.ja; do iconv -f euc-jp -t utf8 $i > $RPM_BUILD_ROOT%{_docdir}/%{name}/$i done mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/en (cd doc/C for i in * ; do case $i in Makefile*|*.[1-9]) ;; *) cp $i $RPM_BUILD_ROOT%{_docdir}/%{name}/en ;; esac done ) mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/ja_JP (cd doc/ja_JP.eucJP for i in * ; do case $i in Makefile*|*.[1-9]) ;; *) iconv -f euc-jp -t utf8 $i > $RPM_BUILD_ROOT%{_docdir}/%{name}/ja_JP/$i ;; esac done ) # copy sample patches and config file mkdir -p $RPM_BUILD_ROOT%{_datadir}/timidity cp -a timidity-patches/* $RPM_BUILD_ROOT%{_datadir}/timidity mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp mkdir -p $RPM_BUILD_ROOT%{_datadir}/xemacs/site-lisp/lisp cp interface/timidity.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp cp interface/timidity.el $RPM_BUILD_ROOT%{_datadir}/xemacs/site-lisp/lisp %suse_update_desktop_file -i -u %name AudioVideo Midi mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps cp %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps mkdir -p $RPM_BUILD_ROOT/etc install -c -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc # exclude plugins from the provide-list cat << EOF > %{my_provides} grep -v $RPM_BUILD_ROOT%{_libdir}/timidity | %{__find_provides} EOF chmod 755 %{my_provides} %define __find_provides %{my_provides} %if 0%{?suse_version} > 1020 %fdupes -s $RPM_BUILD_ROOT %endif %clean [ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT rm -f %{my_provides} %files %defattr(-,root,root) %{_libdir}/timidity %{_datadir}/timidity %{_bindir}/timidity /usr/share/applications/*.desktop %{_datadir}/pixmaps/*.png %config /etc/timidity.cfg %doc %{_mandir}/man*/* /usr/share/X11/app-defaults/TiMidity /usr/share/X11/ja* %doc %{_docdir}/%{name} %{_datadir}/emacs %{_datadir}/xemacs %changelog * Thu Sep 25 2008 lrupp@suse.de - build on older distributions - disable internal dependency generator * Wed Apr 16 2008 tiwai@suse.de - fix build with tcl8.5 * Tue Jan 15 2008 tiwai@suse.de - fix app-defaults for UTF-8 japanese locale (#353816) - fix fonts to work without 100dpi fonts * Thu Aug 02 2007 tiwai@suse.de - fix alsaseq polling at idle time - clean up spec file * Wed Jun 20 2007 tiwai@suse.de - fix fdupes usage - fix encoding of ja_JP documents * Tue Jun 12 2007 tiwai@suse.de - add missing libao support - use fdupes to make rpmlint happy * Fri Jun 01 2007 dmueller@suse.de - fix buildrequires * Wed May 23 2007 tiwai@suse.de - fixed path in non-executable *.tcl files * Mon Apr 02 2007 rguenther@suse.de - add ncurses-devel BuildRequires * Wed Jan 31 2007 tiwai@suse.de - fix invalid array access (#240161) - fix broken gcc4-fix patch * Wed Aug 30 2006 ro@suse.de - add a newline to autoconf/arts.m4 for new m4 * Thu Aug 03 2006 tiwai@suse.de - fixed app-defaults path to /usr/share/X11. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Dec 02 2005 tiwai@suse.de - fixed compile warning (#134737). * Thu Oct 13 2005 tiwai@suse.de - removed glib* from neededforbuild. * Tue May 10 2005 meissner@suse.de - use RPM_OPT_FLAGS. Fix problems spotted by gcc4. * Thu Apr 14 2005 sbrabec@suse.cz - Added audiofile-devel to neededforbuild. * Fri Apr 08 2005 tiwai@suse.de - fix compilation with gcc-4.0. * Fri Jan 21 2005 tiwai@suse.de - updated to version 2.13.2. - link with gtk2. * Thu Aug 05 2004 tiwai@suse.de - updated to 2.13.0 final. - enabled server mode again. * Mon Mar 01 2004 tiwai@suse.de - updated to 2.13.0-rc2 tarball. * Fri Feb 27 2004 tiwai@suse.de - updated to 2.13.0-rc2 (cvs version). - build interfaces as dynamic objects. - fixed the path of timidity.el. * Tue Feb 17 2004 adrian@suse.de - fix Categories * Wed Feb 11 2004 tiwai@suse.de - updated to version 2.13.0-rc1. - added glib2 and glib2-devel for arts. * Mon Jan 12 2004 adrian@suse.de - build as user * Fri Jan 09 2004 tiwai@suse.de - updated to cvs 2004.01.09 version. * Mon Nov 17 2003 tiwai@suse.de - updated to cvs 2003.11.17 version. all patches have been merged. - use /etc/timidity.cfg as the config file (bug #32486). * Thu Sep 18 2003 tiwai@suse.de - fixed a segfault when a non-existing drum is played. - fixed the fallback device detection. * Mon Sep 15 2003 tiwai@suse.de - added desktop icon. * Fri Sep 12 2003 tiwai@suse.de - security fix for realtime-priority mode. - added RT-priority and sequencer ports options. - fixed the effect table. - fixed the option parser. * Mon Sep 08 2003 tiwai@suse.de - use the absolute path in desktop file to avoid the name confliction. * Thu Sep 04 2003 adrian@suse.de - it is installed by default -> hide menu entry by default * Wed Sep 03 2003 tiwai@suse.de - fixed the generation of tclIndex on build system. - clean up make install stuffs. * Tue Sep 02 2003 tiwai@suse.de - fixed the xaw interface bug. - exit timidity properly when the interface is killed. - install japanese X resource files. * Wed Aug 27 2003 tiwai@suse.de - improved the rendering resolution on ALSA sequencer interface. supporting non-stream type output devices like WAV. - set the proper client name on ALSA sequener interface. * Mon Aug 25 2003 tiwai@suse.de - updated to cvs 2003.08.25. supporting JACK output. - fixed neededforbuild for JACK support. * Tue Aug 19 2003 tiwai@suse.de - updated to cvs version 2003.08.19. supported long options. - use xaw interface for desktop command. * Fri Aug 15 2003 adrian@suse.de - add desktop file * Thu Jul 24 2003 tiwai@suse.de - added tk-devel to neededforbuild. * Wed Jul 23 2003 uli@suse.de - no ALSA on s390* * Tue Jul 22 2003 tiwai@suse.de - updated to cvs 2003.07.22. fixed the fallback output-device. - added aRts output support. * Mon Jul 14 2003 sbrabec@suse.cz - GNOME prefix change to /opt/gnome. * Mon Jul 07 2003 tiwai@suse.de - updated to cvs 2003.07.07. - removed obsolete documents. * Thu Jul 03 2003 tiwai@suse.de - fixed the build on x86-64. * Wed Jul 02 2003 tiwai@suse.de - use the nightly tarball 2003.07.02 including many fixes. * Thu Jun 05 2003 ro@suse.de - remove unpackaged files from buildroot * Thu Aug 29 2002 tiwai@suse.de - fixed alsaseq interface to initialize effects (bug #18558). * Tue Aug 20 2002 tiwai@suse.de - fixed the declarations of variables on 64bit architectures. * Mon Aug 12 2002 tiwai@suse.de - updated to the patch to 20020804 version. * Mon Aug 12 2002 schwab@suse.de - Fix makefile. * Mon Jul 15 2002 tiwai@suse.de - added detection of tcl/tk 8.4. * Wed Jul 03 2002 tiwai@suse.de - fixed seg-fault on alsa seq interface mode. * Mon Jul 01 2002 tiwai@suse.de - updated to version 2.12.0-pre1b. alsa 0.9 patch is already included. - added unofficial enhancement patches. * Fri May 31 2002 ro@suse.de - changed neededforbuild <slang> to <slang slang-devel> * Mon May 06 2002 tiwai@suse.de - fixed __libdir. * Mon Apr 08 2002 ro@suse.de - build with current automake/autoconf * Thu Mar 07 2002 tiwai@suse.de - open the device with non-block mode on alsa output. * Mon Feb 18 2002 tiwai@suse.de - fixed the path in default config file (Bug #13392). * Fri Feb 01 2002 ro@suse.de - changed neededforbuild <libpng> to <libpng-devel-packages> * Tue Jan 22 2002 ttiwai@suse.de - updated to version 2.11.3 (bug fixed version). - added %%defattr to filelist. * Tue Jan 15 2002 tiwai@suse.de - updated to version 2.11.2. (bug-fixed version) - regenerated alsa9 patch. * Wed Jan 02 2002 tiwai@suse.de - updated to version 2.11.1. - removed (already integrated) patches for soundfont support. * Mon Dec 03 2001 tiwai@suse.de - corrected patch for ALSA 0.9.0. * Mon Nov 05 2001 tiwai@suse.de - updated to version 2.11.0-pre2. - fixed build with the latest automake. - improved lowpass filter in soundfont emulation. * Thu Oct 25 2001 tiwai@suse.de - fixed incorrect tuning on some soundfonts. - added suse_update_config. * Mon Oct 08 2001 tiwai@suse.de - support playback of RMI file (bug #11680). * Fri Jul 13 2001 tiwai@suse.de - use _prefix and co. - fixed filelist. - fixed compile on ia64. * Mon Apr 02 2001 uli@suse.de - small fix for gcc >2.96 * Fri Mar 23 2001 tiwai@suse.de - fixed typo of documents location. * Tue Mar 20 2001 tiwai@suse.de - updated to ver.2.10.4. - added slang to neededforbuild. - updated options.html. - removed Makefile* from documents. * Mon Mar 12 2001 tiwai@suse.de - updated to ver.2.10.3. - Add README.SuSE and options.html as separate files. * Mon Dec 11 2000 tiwai@suse.de - added a sample patchset (out of kmidi). * Wed Nov 29 2000 tiwai@suse.de - fixed big-endian support on alsa output device. * Wed Nov 29 2000 ro@suse.de - changed neededforbuild <tcld> to <tcl-devel> * Tue Nov 21 2000 ro@suse.de - use openmotif * Tue Nov 14 2000 tiwai@suse.de - Updated to 2.10.2. * Tue Sep 26 2000 tiwai@suse.de - Update of ALSA-0.6.0 support. * Fri Sep 01 2000 tiwai@suse.de - Bugfix of ALSA sequencer interface and ALSA audio output. - Support for ALSA 0.6.0 (not enabled by build though). * Tue Aug 15 2000 tiwai@suse.de - update to official version 2.10.0 - small alsaseq interface bugfix * Tue Aug 01 2000 tiwai@suse.de - update to version 2.10.0a3 (with the latest alsaseq patch) - add ALSA and ESD outputs - fix tcl/tk check in configure script * Thu May 25 2000 freitag@suse.de - update to version 2.9.4 * Mon Feb 07 2000 freitag@suse.de - initial version 2.8.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor