[fmit] Initial import #665995

dwrobel dwrobel at fedoraproject.org
Mon Jan 31 19:52:57 UTC 2011


commit 12b439d8d9a44be12ddb8d6282e599aad9a8ffc8
Author: Damian Wrobel <dwrobel at ertelnet.rybnik.pl>
Date:   Mon Jan 31 20:49:40 2011 +0100

    Initial import #665995

 .gitignore   |    1 +
 dead.package |    1 -
 fmit.spec    |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 4 files changed, 72 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7fc39bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fmit-0.99.2-Source.tar.bz2
diff --git a/fmit.spec b/fmit.spec
new file mode 100644
index 0000000..0a5e56f
--- /dev/null
+++ b/fmit.spec
@@ -0,0 +1,70 @@
+Summary:       Free Music Instrument Tuner
+Name:          fmit
+Version:       0.99.2
+Release:       1%{?dist}
+License:       GPLv2+
+Group:         Applications/Multimedia
+URL:           http://home.gna.org/fmit/index.html
+Source0:       http://download.gna.org/fmit/%{name}-%{version}-Source.tar.bz2
+
+BuildRequires: cmake
+BuildRequires: qt4-devel
+BuildRequires: freeglut-devel
+BuildRequires: libXi-devel
+BuildRequires: libXmu-devel
+BuildRequires: fftw3-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: portaudio-devel
+BuildRequires: desktop-file-utils
+
+%global the_icon_file %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+
+%description
+%{name} is a graphical utility for tuning musical instruments, with
+error and volume history and advanced features like waveform shape,
+harmonics ratio (formants), and micro-tonal tuning.
+
+%prep
+%setup -q -n %{name}-%{version}-Source
+sed -i 's#\(.*\)Name=.*#\1Name=Music Instrument Tuner#g' %{name}.desktop
+sed -i 's#^Comment=.*#Comment=Tunes music instruments#g' %{name}.desktop
+# Otherwise an icon is not visible in the menu (at least in GNOME).
+sed -i 's#^Icon=.*#Icon=%{the_icon_file}#g' %{name}.desktop
+
+%build
+%cmake -DSOUNDSYSTEM_USE_PORTAUDIO=ON
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=%{buildroot} install
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+%find_lang %{name} --with-qt --without-mo
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc COPYING ChangeLog TODO README.txt
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/tr
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{the_icon_file}
+
+%changelog
+* Sat Jan 27 2011 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.99.2-1
+- update to the 0.99.2 version,
+- drop patches now upstream,
+- translation's files installation enabled.
+
+* Mon Jan 17 2011 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.98.1-4
+- preserve the timestamp of the icon file.
+
+* Wed Dec 30 2010 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.98.1-3
+- build process does not depend on the BUILD_SHARED_LIBS variable.
+
+* Mon Dec 28 2010 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.98.1-2
+- build corrected.
+- translation's files installation disabled until fixed upstream.
+
+* Mon Dec 28 2010 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.98.1-1
+- initial RPM release.
diff --git a/sources b/sources
new file mode 100644
index 0000000..e97377c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+cacc8b7fdf2439143f9279c4417293c6  fmit-0.99.2-Source.tar.bz2


More information about the scm-commits mailing list