dvdauthor-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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: 1%{?_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. * Sun Mar 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.0-1
  66. - update to 0.7.0
  67. * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.18-2
  68. - rebuilt with ImageMagick-6.6.4.8
  69. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.18-1
  70. - new upstream release
  71. - rebuilt with new toolchain and ImageMagick 6.6.1.5
  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.