unicap-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Summary: Library to access different kinds of (video) capture devices
  2. Summary(ja): さまざまなビデオキャプチャデバイスにアクセスするためのライブラリ
  3. Name: unicap
  4. Version: 0.2.24
  5. Release: 2%{?_dist_release}
  6. License: GPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://www.unicap-imaging.org/
  9. Source: http://www.unicap-imaging.org/downloads/%{name}-%{version}.tar.gz
  10. Patch100: unicap-0.2.24_fix-headers.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext
  13. BuildRequires: glib2-devel, gtk2-devel, pango-devel, libtheora-devel, libXv-devel
  14. BuildRequires: libpng-devel, libX11-devel, libICE-devel, libraw1394-devel >= 1.1.0
  15. BuildRequires: libogg-devel, libvorbis-devel, libXext-devel, alsa-lib-devel
  16. %description
  17. Unicap provides a uniform interface to video capture devices. It allows
  18. applications to use any supported video capture device via a single API.
  19. The included ucil library provides easy to use functions to render text
  20. and graphic overlays onto video images.
  21. %package devel
  22. Summary: Development files for the unicap library
  23. Summary(ja): unicap ライブラリの開発ファイル
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}, pkgconfig
  26. %description devel
  27. The unicap-devel package includes header files and libraries necessary for
  28. for developing programs which use the unicap, unicapgtk and ucil library. It
  29. contains the API documentation of the library, too.
  30. %prep
  31. %setup -q
  32. %patch100 -p1
  33. %build
  34. %configure --disable-rpath --enable-gtk-doc
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make DESTDIR=$RPM_BUILD_ROOT install
  38. # Don't install any static .a and libtool .la files
  39. rm -f $RPM_BUILD_ROOT%{_libdir}/{,unicap2/cpi/}*.{a,la}
  40. %find_lang %{name}
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files -f %{name}.lang
  46. %defattr(-,root,root)
  47. %doc AUTHORS ChangeLog COPYING README
  48. %{_libdir}/*.so.*
  49. %{_libdir}/unicap2
  50. %files devel
  51. %defattr(-,root,root)
  52. %doc examples
  53. %{_libdir}/*.so
  54. %{_libdir}/pkgconfig/*.pc
  55. %{_includedir}/%{name}
  56. %{_datadir}/gtk-doc/html/*
  57. %changelog
  58. * Thu Aug 21 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.2.24-2
  59. - add temporal patch to build against kernel 2.6.26
  60. * Sun Jul 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.24-1
  61. - initial build for Vine Linux
  62. * Mon May 19 2008 Robert Scheck <robert@fedoraproject.org> 0.2.23-1
  63. - Upgrade to 0.2.23
  64. - Corrected packaging of cpi/*.so files (thanks to Arne Caspari)
  65. * Sat May 17 2008 Robert Scheck <robert@fedoraproject.org> 0.2.22-1
  66. - Upgrade to 0.2.22 (#446021)
  67. * Sat Feb 16 2008 Robert Scheck <robert@fedoraproject.org> 0.2.19-3
  68. - Added patch to correct libdir paths (thanks to Ralf Corsepius)
  69. * Mon Feb 04 2008 Robert Scheck <robert@fedoraproject.org> 0.2.19-2
  70. - Changes to match with Fedora Packaging Guidelines (#431381)
  71. * Mon Feb 04 2008 Robert Scheck <robert@fedoraproject.org> 0.2.19-1
  72. - Upgrade to 0.2.19
  73. - Initial spec file for Fedora and Red Hat Enterprise Linux