libcapseo-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. %define capseo_version 0.3.0
  2. # Tarfile created using git
  3. # git clone git://gitorious.org/capseo/mainline.git libcapseo
  4. # cd libcapseo
  5. # git-archive --format=tar --prefix=libcapseo-%{capseo_version}/ %{git_version} | bzip2 > libcapseo-%{capseo_version}-%{gitdate}.tar.bz2
  6. %define gitdate 20081031
  7. %define git_version 431a293
  8. %define tarfile %{name}-%{capseo_version}-%{gitdate}.tar.bz2
  9. %define snapshot %{gitdate}git%{git_version}
  10. Summary: A realtime encoder/decoder library
  11. Name: libcapseo
  12. Version: %{capseo_version}
  13. Release: 0.%{snapshot}.4%{?_dist_release}
  14. Group: System Environment/Libraries
  15. License: GPLv3
  16. URL: http://gitorious.org/projects/capseo/
  17. # Fedora specific snapshot no upstream release (yet)
  18. Source0: %{tarfile}
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. BuildRequires: libtool automake autoconf
  21. BuildRequires: pkgconfig
  22. BuildRequires: libtheora-devel
  23. BuildRequires: libogg-devel
  24. BuildRequires: libX11-devel
  25. BuildRequires: mesa-libGL-devel
  26. %description
  27. Capseo is a realtime video codec being used by libcaptury/captury
  28. for encoding captured video frames in realtime. (think of FRAPS codec).
  29. Applications using capseo currently are libcaptury for encoding
  30. captured data, e.g. currently from third-party OpenGL applications
  31. via captury, the OpenGL video capturing tool.
  32. %package devel
  33. Summary: Files needed for development using %{name}
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. #Requires: libtheora-devel
  37. #Requires: libogg-devel
  38. #Requires: libX11-devel
  39. #Requires: mesa-libGL-devel
  40. #Requires: pkgconfig
  41. %description devel
  42. This package contains libraries and header files for
  43. developing applications that use %{name}.
  44. %package tools
  45. Summary: Encoding/Decoding tools for capseo
  46. Group: Applications/Multimedia
  47. Requires: %{name} = %{version}-%{release}
  48. %description tools
  49. Utilities for capseo
  50. %prep
  51. %setup -q -n %{name}-%{version}
  52. ./autogen.sh
  53. %build
  54. %configure --disable-static --enable-theora --disable-examples
  55. make %{?_smp_mflags}
  56. %install
  57. rm -rf %{buildroot}
  58. make install DESTDIR=%{buildroot}
  59. rm -rf %{buildroot}/%{_libdir}/*.la
  60. %clean
  61. rm -rf %{buildroot}
  62. %post -p /sbin/ldconfig
  63. %postun -p /sbin/ldconfig
  64. %files
  65. %defattr(-,root,root,-)
  66. %doc AUTHORS COPYING TODO
  67. %{_libdir}/*.so.*
  68. %files tools
  69. %defattr(-,root,root,-)
  70. %{_bindir}/*
  71. %files devel
  72. %defattr(-,root,root,-)
  73. %{_includedir}/*.h
  74. %{_libdir}/libcapseo.so
  75. %{_libdir}/pkgconfig/capseo.pc
  76. %changelog
  77. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.0-0.20081031git431a293.4
  78. - rebuild with gcc-5.4.0
  79. * Fri Jul 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.0-0.20081031git431a293.3
  80. - rebuild with VineSeed environment
  81. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.3.0-0.20081031git431a293.2
  82. - rebuilt with rpm-4.8.1
  83. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.3.0-0.20081031git431a293.1
  84. - Initial build for Vine Linux
  85. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-0.2.20081031git431a293
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  87. * Fri Nov 14 2008 Shawn Starr <spstarr@fedoraproject.org> 0.3.0-0.1.20081031git431a293
  88. - New upstream snapshot release 0.3.0
  89. * Thu Oct 2 2008 Rex Dieter <rdieter@fedoraproject.org> 0.2.0-0.2.20080603gita6ec446
  90. - increment Release (#465297)
  91. * Tue Jul 1 2008 Shawn Starr <spstarr@fedoraproject.org> 0.2.0-0.1.20080603gita6ec446
  92. - Upstream snapshot, change GPLv2 to GPLv3.
  93. - Fix minor configure script issue.
  94. * Sat May 3 2008 Shawn Starr <shawn.starr@rogers.com> 0.2.0-0.1.20080323git1c5f3e5
  95. - Initial Fedora package.