diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a251d0f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +seq24-0.8.7.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 471bd74..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -seq24 fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675986 diff --git a/seq24-stack-smash.patch b/seq24-stack-smash.patch new file mode 100644 index 0000000..f22756b --- /dev/null +++ b/seq24-stack-smash.patch @@ -0,0 +1,11 @@ +--- src/seqedit.cpp~ 2006-05-30 07:04:52.000000000 -0700 ++++ src/seqedit.cpp 2006-09-16 23:48:40.000000000 -0700 +@@ -425,7 +425,7 @@ + + holder = manage( new Menu()); + +- char num[6]; ++ char num[64]; + + holder2 = manage( new Menu()); + for ( int i=-12; i<=12; ++i ){ diff --git a/seq24.desktop b/seq24.desktop new file mode 100644 index 0000000..7eaee69 --- /dev/null +++ b/seq24.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Seq24 +Comment=Real-time midi sequencer +Icon=seq24.png +Type=Application +Exec=seq24 +Terminal=false +StartupWMClass=seq24 +Categories=Application;AudioVideo;X-Sequencers;X-MIDI; +Encoding=UTF-8 diff --git a/seq24.png b/seq24.png new file mode 100644 index 0000000..2f508e1 Binary files /dev/null and b/seq24.png differ diff --git a/seq24.spec b/seq24.spec new file mode 100644 index 0000000..48fc5c7 --- /dev/null +++ b/seq24.spec @@ -0,0 +1,142 @@ +Summary: Real-time midi sequencer +Name: seq24 +Version: 0.8.7 +Release: 6%{?dist} +License: GPL +Group: Applications/Multimedia +URL: http://www.filter24.org/seq24/ +Source: http://filter24.org/seq24/seq24-%{version}.tar.gz +Source1: seq24.png +Source2: seq24.desktop +Patch0: seq24-stack-smash.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: lash-devel gtkmm24-devel + +Requires: hicolor-icon-theme + +BuildRequires: desktop-file-utils + +%description +Seq24 is a real-time midi sequencer. It provides a very simple +interface for editing and playing midi 'loops'. + +%prep +%setup -q +%patch0 -p0 -b .stack-smash~ + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +# Rename the "dump" command to something more specific. +mv $RPM_BUILD_ROOT%{_bindir}/dump $RPM_BUILD_ROOT%{_bindir}/seq24-dump + +mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps +install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/seq24.png + +mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +desktop-file-install --vendor fedora \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE2} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +# update icon themes +touch --no-create %{_datadir}/icons/hicolor || : +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +# update icon themes +touch --no-create %{_datadir}/icons/hicolor || : +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README RTC SEQ24 TODO seq24usr.example +%{_bindir}/* +%{_datadir}/applications/*%{name}.desktop +%{_datadir}/icons/hicolor/64x64/apps/seq24.png + +%changelog +* Thu Oct 05 2006 Christian Iseli 0.8.7-6 + - rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Tue Sep 26 2006 Anthony Green 0.8.7-5 +- Rename "dump" to "seq-dump". +- Simplify description. + +* Mon Sep 25 2006 Anthony Green 0.8.7-4 +- Fix SOURCE reference. +- Add TODO and seq24usr.example to docs. +- Clean up macro usage. + +* Tue Sep 19 2006 Anthony Green 0.8.7-3 +- Remove Require(post,postun) for gtk2, as per the packaging + guidelines. + +* Tue Sep 19 2006 Anthony Green 0.8.7-2 +- Install the icon in the hicolor tree. +- Require hicolor-icon-theme. +- Add dist tag to Release. +- Fix post/postun scripts and Requires. + +* Sat Sep 16 2006 Anthony Green 0.8.7-1 +- updated to 0.8.7. +- first Fedora build. +- clean up Requires and BuildRequires. +- move .desktop file to %%{SOURCE2}. +- add stack-smash preventing patch. +- add %%post and %%postun scriptlets. + +* Sat May 6 2006 Fernando Lopez-Lezcano 0.8.6-1 +- updated to 0.8.6 +- added Planet CCRMA categories to desktop file, added icon + +* Fri Mar 31 2006 Fernando Lopez-Lezcano 0.8.4-1 +- updated to 0.8.4 +- added dependency for building on fc5 +- add generic bindir file list, includes new "dump" command +- added lash support + +* Wed May 4 2005 Fernando Lopez-Lezcano 0.6.3-1 +- updated to 0.6.3 + +* Tue Mar 22 2005 Fernando Lopez-Lezcano 0.6.2-1 +- updated to 0.6.2 + +* Fri Jan 21 2005 Fernando Lopez-Lezcano 0.6.0-1 +- updated to 0.6.0, now requires gtkmm2 + +* Sun Dec 19 2004 Fernando Lopez-Lezcano +- spec file cleanup + +* Sun Aug 29 2004 Fernando Lopez-Lezcano 0.5.2-1 +- updated to 0.5.2 + +* Thu Jul 29 2004 Fernando Lopez-Lezcano 0.5.1-1 +- updated to 0.5.1 + +* Wed May 5 2004 Fernando Lopez-Lezcano 0.5.0-2 +- fixed missing defattr in file list + +* Wed May 5 2004 Fernando Lopez-Lezcano 0.5.0-1 +- updated to 0.5.0 + +* Wed Jan 21 2004 Fernando Lopez-Lezcano 0.4.4-1 +- updated to 0.4.4 + +* Thu Nov 20 2003 Fernando Lopez-Lezcano 0.4.2-1 +- spec file tweaks, add release tags + +* Mon May 19 2003 Fernando Lopez-Lezcano 0.4.2-1 +- updated to 0.4.2 + +* Wed Mar 19 2003 Fernando Lopez-Lezcano 0.4.1-1 +- initial build diff --git a/sources b/sources new file mode 100644 index 0000000..0613073 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b2c39dad73f803727c39c2e2e443ebdb seq24-0.8.7.tar.gz