loopidity.spec.in 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #
  2. # spec file for package loopidity
  3. #
  4. # Copyright (c) 2012-2107 bill-auger bill-auger@programmer.net
  5. #
  6. # All modifications and additions to the file contributed by third parties
  7. # remain the property of their copyright owners, unless otherwise agreed
  8. # upon. The license for this file, and modifications and additions to the
  9. # file, is the same license as for the pristine package itself (unless the
  10. # license for the pristine package is not an Open Source License, in which
  11. # case the license is the MIT License). An "Open Source License" is a
  12. # license that conforms to the Open Source Definition (Version 1.9)
  13. # published by the Open Source Initiative.
  14. # Please submit bugfixes or comments via http://bugs.opensuse.org/
  15. Name: loopidity
  16. Version: 0.00.000
  17. Release: 1%{?dist}
  18. Summary: Multi-track multi-channel looping audio recorder designed for live hands-free use
  19. License: GPL-3.0
  20. URL: https://github.com/bill-auger/%{name}/
  21. Source0: https://github.com/bill-auger/%{name}/archive/v%{version}.tar.gz
  22. BuildRequires: gcc-c++
  23. Requires: SDL_gfx SDL_ttf
  24. %if 0%{?suse_version}
  25. BuildRequires: jack-devel SDL_gfx-devel SDL_ttf-devel libX11-devel update-desktop-files
  26. Requires: jack
  27. %endif
  28. %if 0%{?fedora_version}
  29. BuildRequires: jack-audio-connection-kit-devel SDL_gfx-devel SDL_ttf-devel libX11-devel
  30. Requires: jack-audio-connection-kit
  31. %endif
  32. # %if 0%{?mageia_version} || 0%{?mdkversion} # NFG
  33. # BuildRequires: libjack-devel libSDL_gfx-devel libSDL_ttf-devel libx11-devel
  34. # lib64jack-devel lib64SDL_gfx-devel lib64SDL_ttf-devel lib64x11-devel
  35. # Requires: jack lib64SDL_gfx15 lib64SDL_ttf2.0_0
  36. # %endif
  37. %description
  38. Loopidity is a native GNU/Linux and Windows application built with
  39. the SDL framework and using the JACK Connection Kit for audio I/O.
  40. Loopidity is designed so that the most useful functions can be controlled
  41. using as few buttons as possible (a small number of foot pedals for example).
  42. The Loopidity state graph is kept as small and linear as possible
  43. so that it can be easily memorized; as not to hinder the creative workflow,
  44. but to quickly become an intuitive activity.
  45. %global debug_package %{nil}
  46. %prep
  47. %autosetup
  48. %build
  49. cd build/
  50. make %{?_smp_mflags}
  51. %install
  52. cd build/
  53. make DESTDIR="%{buildroot}/" PREFIX=/usr install
  54. %files
  55. %doc
  56. %{_bindir}/%{name}
  57. %_datadir/%{name}
  58. %post
  59. %if ! 0%{?suse_version}
  60. xdg-desktop-menu forceupdate
  61. %endif
  62. %postun
  63. %if ! 0%{?suse_version}
  64. xdg-desktop-menu forceupdate
  65. %endif