You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
4.7KB

  1. Name: recordmydesktop
  2. Version: 0.3.8.1
  3. Release: 4%{?dist}
  4. Summary: Desktop session recorder with audio and video
  5. Group: Applications/Multimedia
  6. License: GPLv2+
  7. URL: http://recordmydesktop.iovar.org/
  8. Source0: http://downloads.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz
  9. # from gentoo: http://bugs.gentoo.org/attachment.cgi?id=209904
  10. # 2010-01-15: Bug with proposed fix already upstream:
  11. # http://sourceforge.net/tracker/?func=detail&aid=2889699&group_id=172357&atid=861428
  12. Patch0: recordmydesktop-shmstr.h-to-shmproto.h.patch
  13. # Use default Alsa device instead of hardcoded device:
  14. # https://bugzilla.redhat.com/show_bug.cgi?id=538853
  15. Patch1: recordmydesktop-ALSA-default.patch
  16. # Use sane theora defaults
  17. # https://bugzilla.redhat.com/show_bug.cgi?id=525155
  18. Patch2: recordmydesktop-sane-theora-defaults.patch
  19. # Fix jack support detection
  20. # https://bugzilla.redhat.com/show_bug.cgi?id=554292
  21. # Patch by debian
  22. # 2010-01-15: patch submitted upstream:
  23. # https://sourceforge.net/tracker/?func=detail&aid=2894861&group_id=172357&atid=861428
  24. Patch3: recordmydesktop-fix-configure-ac-jack-support.patch
  25. # diff after running "autoreconf"
  26. Patch4: recordmydesktop-autoreconf.patch
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  28. BuildRequires: libXdamage-devel, libSM-devel
  29. BuildRequires: libXext-devel
  30. BuildRequires: alsa-lib-devel, zlib-devel
  31. BuildRequires: libtheora-devel, libvorbis-devel, jack-audio-connection-kit-devel
  32. Requires: jack-audio-connection-kit-example-clients
  33. %description
  34. recordMyDesktop is a desktop session recorder for linux that attempts to be
  35. easy to use, yet also effective at it's primary task.
  36. As such, the program is separated in two parts; a simple command line tool that
  37. performs the basic tasks of capturing and encoding and an interface that
  38. exposes the program functionality in a usable way.
  39. %prep
  40. %setup -q
  41. # seems that shmstr.h was renamed to shmproto.h in Fedora 12
  42. %if 0%{?fedora} >= 12
  43. %patch0 -p1 -b .shmstr.h-to-shmproto.h
  44. %endif
  45. %patch1 -p1 -b .ALSA-default
  46. %patch2 -p1 -b .sane-theora-defaults
  47. %patch3 -p1 -b .fix-configure-ac-jack-support
  48. %patch4 -p1 -b .autoreconf
  49. #chmod -x $RPM_BUILD_DIR/%{name}-%{version}/src/load_cache.c \
  50. # $RPM_BUILD_DIR/%{name}-%{version}/include/rmdtypes.h \
  51. # $RPM_BUILD_DIR/%{name}-%{version}/src/cache_frame.c
  52. %build
  53. %configure
  54. make %{?_smp_mflags}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p"
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %files
  61. %defattr(-,root,root,-)
  62. %doc AUTHORS COPYING README ChangeLog
  63. %{_bindir}/*
  64. %{_mandir}/man?/*
  65. %changelog
  66. * Fri Jan 15 2010 Till Maas <opensource@till.name> - 0.3.8.1-4
  67. - fix jack support: https://bugzilla.redhat.com/show_bug.cgi?id=554292
  68. - use default Alsa device: https://bugzilla.redhat.com/show_bug.cgi?id=538853
  69. - use sane theora defaults: https://bugzilla.redhat.com/show_bug.cgi?id=525155
  70. * Fri Jan 15 2010 Till Maas <opensource@till.name> - 0.3.8.1-3
  71. - Fix SF.net Source0 URL
  72. - Fix BTFS bug with patch from gentoo: https://bugzilla.redhat.com/show_bug.cgi?id=538931
  73. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  75. * Wed Apr 01 2009 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 0.3.8.1-1
  76. - New upstream release
  77. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7.3-3
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  79. * Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.7.3-2
  80. - fix license tag
  81. * Wed May 28 2008 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 0.3.7.3-1
  82. - New upstream release
  83. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.7-3
  84. - Autorebuild for GCC 4.3
  85. * Tue Jan 22 2008 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.7-2
  86. - Add missing jack dependency
  87. * Thu Jan 17 2008 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.7-1
  88. - New upstream release
  89. * Sun Dec 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.6-2
  90. - Add jack support
  91. * Sun Oct 21 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.6-1
  92. - New version
  93. - Update URL
  94. * Sat Jun 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.4-1
  95. - New version 0.3.4
  96. * Mon Mar 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-3
  97. - chmod +x on source files to make rpmlint happy
  98. * Mon Mar 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-2
  99. - Remove duplicate BR
  100. - Add missing zlib-devel BR
  101. - Preserve timestamps
  102. * Sun Mar 04 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-1
  103. - Initial build