dvdauthor-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. #TODO: GraphicsMagick
  2. %define with_GraphicsMagick 0
  3. Name: dvdauthor
  4. Version: 0.6.14
  5. Release: 2%{?_dist_release}
  6. Summary: Command line DVD authoring tool
  7. Summary(ja): コマンドライン DVD 作成ツール
  8. Group: Applications/Multimedia
  9. License: GPLv2+
  10. URL: http://dvdauthor.sourceforge.net/
  11. Source0: http://downloads.sourceforge.net/dvdauthor/%{name}-%{version}.tar.gz
  12. # Patch0: %{name}-0.6.14-graphicsmagick.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: libdvdread-devel >= 0.9.4-4
  15. BuildRequires: libpng-devel
  16. BuildRequires: flex
  17. BuildRequires: bison
  18. BuildRequires: libxml2-devel >= 2.6.0
  19. BuildRequires: fribidi-devel
  20. BuildRequires: freetype-devel
  21. %if %{with_GraphicsMagick}
  22. BuildRequires: GraphicsMagick-devel
  23. # autofoo etc for Patch0
  24. BuildRequires: autoconf automake gettext-devel
  25. %else
  26. BuildRequires: ImageMagick-devel
  27. %endif
  28. %description
  29. dvdauthor is a program that will generate a DVD movie from a valid
  30. mpeg2 stream that should play when you put it in a DVD player.
  31. %prep
  32. %setup -q
  33. %if %{with_GraphicsMagick}
  34. %patch0 -p1 -b .graphicsmagick
  35. autoreconf # for Patch0
  36. %endif
  37. # Adapt to changed header location in libdvdread 4.1.3. *sigh*
  38. if [ -d %{_includedir}/libdvdread ] ; then
  39. sed -i -e 's|<dvdread/|<libdvdread/|g' src/dvdunauthor.c src/dvduncompile.h
  40. fi
  41. %build
  42. %if %{with_GraphicsMagick}
  43. export MAGICKCONFIG=/bin/true # disable ImageMagick
  44. export LDFLAGS="$LDFLAGS -Wl,--as-needed" # avoid *Magick-config linkage bloat
  45. %endif
  46. %configure \
  47. --disable-rpath \
  48. --disable-dependency-tracking
  49. %__make %{?_smp_mflags}
  50. %install
  51. %__rm -rf $RPM_BUILD_ROOT
  52. %__make install DESTDIR=$RPM_BUILD_ROOT
  53. %clean
  54. %__rm -rf $RPM_BUILD_ROOT
  55. %files
  56. %defattr(-,root,root,-)
  57. %doc ChangeLog COPYING README TODO
  58. %{_bindir}/dvdauthor
  59. %{_bindir}/dvddirdel
  60. %{_bindir}/dvdunauthor
  61. %{_bindir}/mpeg2desc
  62. %{_bindir}/spumux
  63. %{_bindir}/spuunmux
  64. %{_datadir}/dvdauthor/
  65. %{_mandir}/man1/dvdauthor.1*
  66. %{_mandir}/man1/dvddirdel.1*
  67. %{_mandir}/man1/dvdunauthor.1*
  68. %{_mandir}/man1/mpeg2desc.1*
  69. %{_mandir}/man1/spumux.1*
  70. %{_mandir}/man1/spuunmux.1*
  71. %changelog
  72. * Fri Feb 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.14-2
  73. - rebuilt with ImageMagick 6.4.9-2
  74. - added Japanese summary
  75. * Sat Jan 24 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.14-1
  76. - intial build based on Fedora development package
  77. * Tue Jul 8 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-6
  78. - Fix build with changed libdvdread 4.1.3 header location.
  79. * Wed Feb 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-5
  80. - Build with GraphicsMagick, drop all build time conditionals (#245155).
  81. - Patch to differentiate ImageMagick vs GraphicsMagick at build time, don't
  82. rely on GM's IM compat things installed, fix RGBA treatment with GM.
  83. - Avoid linkage bloat from GraphicsMagick-config --libs.
  84. * Wed Feb 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-4
  85. - Add build time conditional for GraphicsMagick, disabled by default (#432651).
  86. - Get rid of need for BuildConflicts.
  87. * Fri Nov 16 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-3
  88. - Rebuild.
  89. * Tue Aug 14 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-2
  90. - License: GPLv2+
  91. * Sat Feb 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-1
  92. - 0.6.14.
  93. * Wed Jan 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.13-1
  94. - 0.6.13.
  95. * Mon Jan 8 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.12-1
  96. - 0.6.12.
  97. * Sun Jan 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-9
  98. - First FE build (#219103).
  99. * Thu Oct 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-8
  100. - Build without ImageMagick by default due to dependency bloat (#212478).
  101. - Prune pre-2006 changelog entries.
  102. * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.6.11-7
  103. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  104. * Sun Sep 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-6
  105. - Rebuild.
  106. * Sun Jul 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-5
  107. - Rebuild for new ImageMagick (#1087).
  108. * Thu Mar 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-4
  109. - Remove -ldl hacks, BR fixed libdvdread-devel.