gstreamer-filters-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: gstreamer-filters
  2. Version: 0.10.1
  3. Release: 1%{?_dist_release}
  4. Summary: Gstreamer convenience library
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://www.freedesktop.org/wiki/Software/GstFilters
  8. Source0: http://www.freedesktop.org/software/farstream/releases/gstfilters/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gstreamer-devel
  11. BuildRequires: gstreamer-plugins-base-devel
  12. BuildRequires: gstreamer-plugins-base-devel
  13. %if "%{?_dist_release}" >= "vl7"
  14. BuildRequires: gtk3-devel
  15. %else
  16. BuildRequires: gtk2-devel
  17. %endif
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. GstFilters is a high level library that provides a convenience API on top of Gstreamer.
  23. It allows building complex pipelines with very few lines of code and concentrates on the
  24. features you want rather than on each element's specific task.
  25. %package devel
  26. Summary: Development environment for gstreamer-filters
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: pkgconfig
  30. %description devel
  31. Header files and libraries for building a extension library for the
  32. gstreamer-filters.
  33. %package doc
  34. Summary: Documentation for gstreamer-filters
  35. Group: Documentation
  36. Requires: %{name} = %{version}-%{release}
  37. BuildArch: noarch
  38. %description doc
  39. This package contains documentation for gstreamer-filters.
  40. %prep
  41. %setup -q
  42. %build
  43. %configure \
  44. %if "%{?_dist_release}" >= "vl7"
  45. --with-gtk=3.0 \
  46. %else
  47. --with-gtk=2.0 \
  48. %endif
  49. --disable-static \
  50. make %{?_smp_mflags}
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. make install DESTDIR=$RPM_BUILD_ROOT
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %post -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %files
  60. %defattr(-,root,root,-)
  61. %doc AUTHORS ChangeLog COPYING NEWS README
  62. %{_libdir}/libgstfilters-0.10.so.*
  63. %{_libdir}/girepository-1.0/GstFilters-0.10.typelib
  64. %files devel
  65. %defattr(-,root,root,-)
  66. %{_includedir}/gstreamer-0.10/gst/filters
  67. %{_libdir}/libgstfilters-0.10.so
  68. %{_libdir}/pkgconfig/gstreamer-filters.pc
  69. %{_datadir}/gir-1.0/GstFilters-0.10.gir
  70. %files doc
  71. %defattr(-,root,root,-)
  72. %{_datadir}/gtk-doc/html/gstreamer-filters-0.10
  73. %changelog
  74. * Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1
  75. - initial build for Vine Linux