dvdauthor-vl.spec 4.3 KB

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