[mhwaveedit] initial build

Jørn Lomax jvlomax at fedoraproject.org
Fri Aug 10 18:56:35 UTC 2012


commit e5d97b0ba7274195bc192a0bbfdd7cec1cfaa9c2
Author: jvlomax <northlomax at gmail.com>
Date:   Fri Aug 10 20:56:08 2012 +0200

    initial build

 .gitignore      |    1 +
 mhwaveedit.spec |   76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8ee3b3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mhwaveedit-1.4.22.tar.bz2
diff --git a/mhwaveedit.spec b/mhwaveedit.spec
new file mode 100644
index 0000000..c33d88f
--- /dev/null
+++ b/mhwaveedit.spec
@@ -0,0 +1,76 @@
+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 <northlomax at gmail.com> 1.4.22-3
+- Convert AUTHORS to utf8m upstream notified about incorrect fsf address
+* Tue Aug 07 2012 Jørn Lomax <northlomax at gmail.com> 1.4.22-2
+- added BUGS, NEWS, TODO, HACKING and changelog. Shortned desciption
+* Mon Jul 30 2012 Jørn Lomax <northlomax at gmail.com> 1.4.22-1
+- inital package
diff --git a/sources b/sources
index e69de29..a7f92fb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+920108844abfdc2613cc1d3e188a7833  mhwaveedit-1.4.22.tar.bz2


More information about the scm-commits mailing list