File aseqview.spec of Package aseqview

#
# spec file for package aseqview (Version 0.2.5)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           aseqview
BuildRequires:  alsa-devel gtk2-devel update-desktop-files
Summary:        ALSA Sequencer Event Viewer
Version:        0.2.5
Release:        1
License:        GNU General Public License (GPL)
Group:          Productivity/Multimedia/Sound/Midi
Source:         %{name}-%{version}.tar.bz2
Source1:        aseqview.desktop
Source2:        aseqview.png
Patch:          aseqview-0.2.2.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
URL:            http://www.alsa-project.org/~iwai/alsa.html

%description
ASeqView is an ALSA sequencer user client that works as an event viewer
and event filter.  It visualizes received events, such as note on and
off, controls, and pitch wheels, using bar graphs as seen in many
sequencer applications.



Authors:
--------
    Takashi Iwai <tiwai@suse.de>

%prep
%setup
%patch

%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
	--enable-gtk2
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i aseqview AudioVideo Music GTK
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*
%doc README NEWS AUTHORS ChangeLog
%doc %{_mandir}/man*/*
%if %suse_version > 820
%{_datadir}/applications/*.desktop
%endif
%{_datadir}/pixmaps/*.png

%changelog
* Thu Mar 29 2007 - tiwai@suse.de
- fix races in thread mode
* Mon Mar 26 2007 - tiwai@suse.de
- updated to version 0.2.4:
  * Added MIDI Tunig Standard (MTS) feature
* Thu Feb 23 2006 - tiwai@suse.de
- added GTK to Categories
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 11 2005 - tiwai@suse.de
- updated to version 0.2.3a.
* Fri Oct 29 2004 - ro@suse.de
- remove gtk from neededforbuild
* Thu Feb 26 2004 - tiwai@suse.de
- updated to version 0.2.2.
  built with gtk2.
* Sat Jan 10 2004 - adrian@suse.de
- add %%defattr
* Thu Nov 20 2003 - tiwai@suse.de
- updated to version 0.2.1.
* Mon Sep 15 2003 - tiwai@suse.de
- fixed categories.
- added desktop icon.
* Thu Aug 21 2003 - tiwai@suse.de
- updated to version 0.2.0.
- fixed desktop file categories.
* Tue Aug 05 2003 - tiwai@suse.de
- added desktop file.
- call suse_update_desktop_file macro.
* Mon Nov 25 2002 - tiwai@suse.de
- fixed neededforbuild: xf86 -> x-devel-packages.
- clean up spec file.
* Fri Jul 13 2001 - tiwai@suse.de
- updated to ver.0.1.4.
- use _prefix and co.
- fixed file lists.
* Fri Nov 17 2000 - tiwai@suse.de
- Use RPM_OPT_FLAGS to configure.
* Thu Nov 02 2000 - tiwai@suse.de
- Fixed 0.1.2f archive.
* Thu Nov 02 2000 - tiwai@suse.de
- Updated to version 0.1.2f.
- Fixed spec file for long package-name support.
- Use bzip2 for archive.
* Fri Jun 09 2000 - tiwai@suse.de
- new package - ALSA sequencer event viewer
  version: 0.1.2e
openSUSE Build Service is sponsored by