Advertisement
david_david

avidemux-gtk.spec

Jun 26th, 2014
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. Name: avidemux-gtk
  2. Version: 2.6.8
  3. Release: %mkrel 1
  4. Summary: A free video editor
  5. License: GPLv2+
  6. Group: Video/Editors and Converters
  7. Url: http://fixounet.free.fr/avidemux
  8. Source0:
  9. http://downloads.sourceforge.net/%name/avidemux_%{version}.tar.gz
  10. BuildRequires: avidemux-devel = %{version}
  11. BuildRequires: zlib-devel
  12. BuildRequires: libxv-devel
  13. BuildRequires: vdpau-devel
  14. BuildRequires: SDL-devel
  15. BuildRequires: sqlite3-devel
  16. BuildRequires: xsltproc
  17. BuildRequires: cmake
  18. BuildRequires: imagemagick
  19. BuildRequires: pkgconfig(gtk+-3.0)
  20. BuildRequires: pkgconfig(gdk-pixbuf-2.0)
  21. BuildRequires: pkgconfig(cairo)
  22.  
  23. Requires: %{_lib}avidemux = %{version}
  24. Provides: avidemux = %{version}
  25. Obsoletes: avidemux < %{version}
  26.  
  27. Suggests: %{name}-plugins
  28. Suggests: avidemux-plugins
  29.  
  30. %description
  31. Avidemux is a free video editor designed for simple cutting,
  32. filtering and encoding tasks.It supports many file types, including
  33. AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of
  34. codecs. Tasks can be automated using projects, job queue and
  35. powerful scripting capabilities.
  36.  
  37. This package contains the version with a graphical user interface
  38. based on GTK.
  39.  
  40. %package devel
  41. Summary: Header file for %{name}
  42. Requires: avidemux-devel = %{version}
  43.  
  44. %description devel
  45. Header file for %{name}.
  46.  
  47. %prep
  48. %setup -qn avidemux_%{version}/avidemux/gtk
  49.  
  50. %build
  51. %cmake -DAVIDEMUX_SOURCE_DIR=$RPM_BUILD_DIR/../..
  52. make
  53.  
  54. %install
  55. %makeinstall_std -C build
  56.  
  57. #pushd ../..
  58. #install -D avidemux2.desktop %{buildroot}%{_datadir}/applications/
  59. %{name}.desktop
  60. #mkdir -p %{buildroot}%{_iconsdir}
  61. #convert avidemux_icon.png -resize 32x32 %{buildroot}%{_iconsdir}/%{name}.png
  62. #popd
  63.  
  64. %files
  65. %{_bindir}/avidemux3_gtk
  66. %{_libdir}/ADM_glade/
  67. %{_libdir}/ADM_plugins6/
  68. %{_libdir}/libADM_*6.so
  69. %{_iconsdir}/%{name}-gtk.png
  70. %{_datadir}/applications/%{name}-gtk.desktop
  71.  
  72. %files devel
  73. %{_includedir}/avidemux/*/gtk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement