diff --git a/.cvsignore b/.cvsignore index e69de29..36f10d2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +qsynth-0.2.5.tar.gz diff --git a/qsynth.desktop b/qsynth.desktop new file mode 100644 index 0000000..6e07db9 --- /dev/null +++ b/qsynth.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Qsynth +Comment=Fluidsynth graphical front end +Icon=qsynth.png +Type=Application +Exec=/usr/bin/qsynth +Terminal=false +Encoding=UTF-8 diff --git a/qsynth.spec b/qsynth.spec new file mode 100644 index 0000000..8c85b84 --- /dev/null +++ b/qsynth.spec @@ -0,0 +1,123 @@ +%define desktop_vendor fedora + +Summary: Qt based Fluidsynth GUI front end +Name: qsynth +Version: 0.2.5 +Release: 4%{?dist} +URL: http://qsynth.sourceforge.net +Source0: http://dl.sf.net/sourceforge/qsynth/qsynth-%{version}.tar.gz +Source1: qsynth.desktop +License: GPL +Group: Applications/Multimedia +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libfluidsynth-devel qt-devel desktop-file-utils + +%description +QSynth is a fluidsynth GUI front-end application written in C++ around +the Qt3 toolkit using Qt Designer. Eventually it may evolve into a +softsynth management application allowing the user to control and +manage a variety of command line softsynth but for the moment it wraps +the excellent FluidSynth. FluidSynth is a command line software +synthesiser based on the Soundfont specification. + +%prep +%setup -q + +%build +%configure +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf %{buildroot} +%{__make} DESTDIR=%{buildroot} install + +# move icon to the proper freedesktop location +%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps +%{__mv} %{buildroot}%{_datadir}/icons/qsynth.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/ + +# desktop file categories +BASE="X-Fedora Application AudioVideo" +XTRA="X-Jack X-Synthesis" + +%{__mkdir} -p %{buildroot}%{_datadir}/applications +desktop-file-install --vendor %{desktop_vendor} \ + --dir %{buildroot}%{_datadir}/applications \ + `for c in ${BASE} ${XTRA} ; do echo "--add-category $c " ; done` \ + %{SOURCE1} + +%clean +%{__rm} -rf %{buildroot} + +%post +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING README TODO +%{_bindir}/qsynth +%{_datadir}/icons/hicolor/32x32/apps/qsynth.png +%{_datadir}/applications/%{desktop_vendor}-qsynth.desktop + +%changelog +* Sun Jun 18 2006 Fernando Lopez-Lezcano 0.2.5-4 +- move icon to freedesktop location, don't use makeinstall macro, add + icon cache scripts, fill in missing releases in changelog entries, + fix source url + +* Thu Jun 8 2006 Fernando Lopez-Lezcano 0.2.5-3 +- more tweaks for Fedora Extras, move desktop file to source1 + +* Fri May 12 2006 Fernando Lopez-Lezcano 0.2.5-2 +- spec file tweaks for Fedora Extras submission + +* Wed May 3 2006 Fernando Lopez-Lezcano 0.2.5-2 +- add Planet CCRMA desktop categories + +* Wed Apr 5 2006 Fernando Lopez-Lezcano 0.2.5-1 +- updated to 0.2.5 + +* Fri Mar 31 2006 Fernando Lopez-Lezcano 0.2.4-1 +- add fc5 dependencies + +* Fri Nov 18 2005 Fernando Lopez-Lezcano 0.2.4-1 +- updated to 0.2.4 + +* Tue Jun 28 2005 Fernando Lopez-Lezcano 0.2.3-1 +- updated to 0.2.3 + +* Wed Dec 29 2004 Fernando Lopez-Lezcano 0.2.2-1 +- spec file cleanup + +* Mon Oct 11 2004 Fernando Lopez-Lezcano 0.2.2-1 +- updated to 0.2.2 +- bitmap is now png instead of xpm +- fix typo in desktop_vendor define + +* Fri Sep 24 2004 Fernando Lopez-Lezcano 0.2.1-1 +- updated to 0.2.1 + +* Wed May 12 2004 Fernando Lopez-Lezcano 0.1.3-1 +- added buildrequires + +* Sun Feb 29 2004 Fernando Lopez-Lezcano 0.1.3-1 +- updated to 0.1.3 + +* Wed Jan 21 2004 Fernando Lopez-Lezcano 0.1.0-1 +- updated to 0.1.0 + +* Wed Nov 26 2003 Fernando Lopez-Lezcano 0.0.2-1 +- updated to 0.0.2 +- use fmod when building under 7.3 (patch0) + +* Wed Nov 26 2003 Fernando Lopez-Lezcano 0.0.1-1 +- initial build diff --git a/sources b/sources index e69de29..d4b400c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +24a1ce00876a79a409fa28d0e8b3221f qsynth-0.2.5.tar.gz