Name: mhwaveedit Version: 1.4.22 Release: 3%{?dist} Summary: Sound editing program Group: Applications/Multimedia License: GPLv2+ URL: http://gna.org/projects/mhwaveedit Source: http://download.gna.org/mhwaveedit/%{name}-%{version}.tar.bz2 Requires: pulseaudio Requires: hicolor-icon-theme BuildRequires: pulseaudio-libs-devel alsa-lib-devel jack-audio-connection-kit-devel BuildRequires: libsndfile-devel libsamplerate-devel ladspa-devel BuildRequires: desktop-file-utils BuildRequires: gtk2-devel BuildRequires: gettext %description mhWaveEdit is a graphical program for editing sound files. It is completely free (GPL). %prep %setup -q %build %configure iconv -f iso-8859-1 -t utf-8 AUTHORS > AUTHORS.conv && mv -f AUTHORS.conv AUTHORS make %{?_smp_mflags} %install #removal of buildroot is no longer necassary, except for EPEL5 make install DESTDIR=%{buildroot} #install the icon mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps mv share/pixmaps/%{name}.xpm %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.xpm %find_lang %{name} desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ share/applications/%{name}.desktop %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [$1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang #Upstream has been contacted about incorrect fsf address 2012-08-07 %doc AUTHORS COPYING README BUGS NEWS TODO HACKING ChangeLog %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/48x48/apps/%{name}.xpm %{_datadir}/pixmaps/%{name}.xpm %{_mandir}/man1/%{name}.1.* %changelog * Tue Aug 07 2012 Jørn Lomax 1.4.22-3 - Convert AUTHORS to utf8m upstream notified about incorrect fsf address * Tue Aug 07 2012 Jørn Lomax 1.4.22-2 - added BUGS, NEWS, TODO, HACKING and changelog. Shortned desciption * Mon Jul 30 2012 Jørn Lomax 1.4.22-1 - inital package