gstreamermm-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. %define ver 0.10
  2. %define pkg_version 0.10.8
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: C++ bindings for the GStreamer.
  5. Summary(ja): GStreamer 用 C++ バインディング
  6. Name: gstreamermm
  7. Version: %{pkg_version}
  8. Release: %{pkg_release}
  9. Source0: %{name}-%{version}.tar.bz2
  10. License: GPLv2
  11. Group: System Environment/Libraries
  12. URL: http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/%{name}-%{version}.tar.bz2
  13. BuildRequires: gstreamer-plugins-base-devel >= 0.10.32
  14. BuildRequires: libxml++-devel
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. gstreamermm provides C++ bindings for the GStreamer streaming multimedia library.
  21. With gstreamermm it is possible to develop applications that work with multimedia
  22. in C++. For instance, see Gst::Element, Gst::Bin and Gst::Pipeline.
  23. %package devel
  24. Summary: Development tools for gstreamermm.
  25. Summary(ja): gstreamermm 用 開発ツール
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. Requires: gstreamer-plugins-base-devel
  30. Requires: libxml++-devel
  31. Requires: glibmm-devel
  32. %description devel
  33. Header files and libraries for building a extension library for the gstreamermm.
  34. %prep
  35. %setup -q
  36. %build
  37. %configure --disable-static
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  42. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  43. %clean
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %files
  46. %defattr(-,root,root)
  47. %doc COPYING ChangeLog NEWS README
  48. %{_libdir}/libgstreamermm-%{ver}.so.*
  49. %{_libdir}/libgstreamermm_get_plugin_defs-%{ver}.so.*
  50. %{_libdir}/%{name}-%{ver}/*
  51. %{_docdir}/%{name}-%{ver}/*
  52. %files devel
  53. %defattr(-,root,root)
  54. %{_includedir}/%{name}-%{ver}/*
  55. %{_libdir}/libgstreamermm-%{ver}.so
  56. %{_libdir}/libgstreamermm_get_plugin_defs-%{ver}.so
  57. %{_libdir}/pkgconfig/%{name}-%{ver}.pc
  58. %{_datadir}/devhelp/books/%{name}-%{ver}/*
  59. %changelog
  60. * Sun Jan 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> VERSION-1
  61. - initial build for Vine Linux