libcaptury-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. %define captury_version 0.3.0
  2. # Tarfile created using git
  3. # git clone git://gitorious.org/libcaptury/mainline.git libcaptury
  4. # cd libcaptury
  5. # git-archive --format=tar --prefix=libcaptury-%{captury_version}/ %{git_version} | bzip2 > libcaptury-%{captury_version}-%{gitdate}.tar.bz2
  6. %define gitdate 20080323
  7. %define git_version cca4e3c
  8. %define tarfile %{name}-%{captury_version}-%{gitdate}.tar.bz2
  9. %define snapshot %{gitdate}git%{git_version}
  10. Summary: A library for X11/OpenGL video capturing framework
  11. Name: libcaptury
  12. Version: %{captury_version}
  13. Release: 0.%{snapshot}.2%{?_dist_release}
  14. License: GPLv2+
  15. Group: System Environment/Libraries
  16. URL: http://gitorious.org/projects/libcaptury/
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: autoconf
  19. BuildRequires: automake
  20. BuildRequires: libtool
  21. BuildRequires: pkgconfig
  22. BuildRequires: libcapseo-devel
  23. BuildRequires: libX11-devel
  24. BuildRequires: libXfixes-devel
  25. BuildRequires: libogg-devel
  26. # Fedora specific snapshot no upstream release (yet)
  27. Source0: %{tarfile}
  28. %description
  29. Captury is a realtime multimedia capturing framework for currently
  30. OpenGL video (to be extended to XShm and audio/alsa soon).
  31. Its uses are e.g. for capturing video from external OpenGL applications
  32. (via captury itself) and is currently also used by KDE's kwin
  33. to record your desktop efficiently (VideoRecord plugin).
  34. Captury supports full encoding as well as incremential(!) encoding
  35. by only regions from the screen that have actually changed.
  36. Window managers (like kwin) do know of such areas and can make use of it.
  37. %package devel
  38. Summary: Developer and header files for captury
  39. Group: Development/Libraries
  40. Requires: %{name} = %{version}-%{release}
  41. Requires: libcapseo-devel
  42. Requires: libXfixes-devel
  43. Requires: pkgconfig
  44. %description devel
  45. Developer and header files for the captury movie capturing
  46. framework.
  47. %prep
  48. %setup -q -n %{name}-%{version}
  49. ./autogen.sh
  50. %build
  51. %configure --disable-static
  52. make %{?_smp_mflags}
  53. %install
  54. rm -rf %{buildroot}
  55. make install DESTDIR=%{buildroot}
  56. rm -rf %{buildroot}/%{_libdir}/*.la
  57. %clean
  58. rm -rf %{buildroot}
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root,-)
  63. %doc AUTHORS COPYING
  64. %{_libdir}/*.so.*
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %dir %{_includedir}/captury
  68. %{_includedir}/captury/*.h
  69. %{_libdir}/libcaptury.so
  70. %{_libdir}/pkgconfig/libcaptury.pc
  71. %changelog
  72. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.0-0.20080323gitcca4e3c.2
  73. - rebuild with rpm-4.8.1 for pkg-config file
  74. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.3.0-0.20080323gitcca4e3c.1
  75. - Initial build for Vine Linux
  76. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-0.4.20080323gitcca4e3c
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  78. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-0.3.20080323gitcca4e3c
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  80. * Fri Aug 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> 0.3.0-0.2.20080323gitcca4e3c
  81. - Include /usr/include/captury directory.
  82. * Sat May 3 2008 Shawn Starr <shawn.starr@rogers.com> 0.3.0-0.1.20080323gitcca4e3c
  83. - Initial Fedora package.