Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > b39d6f4a4a3ff3d4c93db856c1d43594 > files > 2

wavbreaker-0.8.0-1mdv2008.0.src.rpm

%define name wavbreaker
%define version 0.8.0
%define release %mkrel 1

Summary:	Gtk+ program to split WAV files between songs
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source0:	http://huli.org/wavbreaker/%{name}-%{version}.tar.bz2
URL:		http://huli.org/wavbreaker/
License:	GPL
Group:		Sound
BuildRoot:	%{_tmppath}/%{name}-buildroot
Prefix:		%{_prefix}
BuildRequires:	gtk+2-devel 
BuildRequires:  libxml2-devel
BuildRequires:  alsa-lib-devel
BuildRequires:	desktop-file-utils
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils

%description
This application's purpose in life is to take a wave file and break it up into
multiple wave files.  It makes a clean break at the correct position to burn
the files to an audio cd without any dead air between the tracks.

%prep
%setup -q

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%find_lang %name

desktop-file-install --vendor="" \
  --add-category="GTK" \
  --add-category="X-MandrivaLinux-Multimedia-Sound" \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/*

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}
%{update_desktop_database}

%postun
%{clean_menus}
%{clean_desktop_database}

%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS README ChangeLog NEWS
%_bindir/*
%_datadir/applications/*
%_datadir/pixmaps/*
%_iconsdir/hicolor/16x16/apps/%name.png
%_iconsdir/hicolor/22x22/apps/%name.png
%_iconsdir/hicolor/24x24/apps/%name.png
%_iconsdir/hicolor/48x48/apps/%name.png
%_iconsdir/hicolor/scalable/apps/%name.svg
%_mandir/man1/*


%changelog
* Sat May 19 2007 Austin Acton <austin@mandriva.org> 0.8.0-1mdv2008.0
+ Revision: 28512
- new version
- add man page
- compy with XDG menu and FDO icons
- Import wavbreaker



* Fri Feb 17 2006 Thierry Vignaud <tvignaud@mandriva.com> 0.6.1-3mdk
- fix build on x86_64

* Mon Oct 10 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.1-2mdk
- Fix BuildRequires
- %%mkrel 

* Tue Aug 30 2005 Austin Acton <austin@mandriva.org> 0.6.1-1mdk
- New release 0.6.1

* Tue Jul 13 2004 Austin Acton <austin@mandrake.org> 0.5-1mdk
- 0.5

* Fri Jun 02 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.4-1mdk
- 0.4

* Fri Jun 27 2003 David Walser <luigiwalser@yahoo.com> 0.3-1mdk
- initial package