dvdauthor-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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.1
  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. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-1
  66. - update to 0.7.1
  67. * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.0-2
  68. - rebuild with ImageMagick-6.8.6.8
  69. * Sun Mar 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.0-1
  70. - update to 0.7.0
  71. * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.18-2
  72. - rebuilt with ImageMagick-6.6.4.8
  73. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.18-1
  74. - new upstream release
  75. - rebuilt with new toolchain and ImageMagick 6.6.1.5
  76. * Fri Feb 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.14-2
  77. - rebuilt with ImageMagick 6.4.9-2
  78. - added Japanese summary
  79. * Sat Jan 24 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.14-1
  80. - intial build based on Fedora development package
  81. * Tue Jul 8 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-6
  82. - Fix build with changed libdvdread 4.1.3 header location.
  83. * Wed Feb 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-5
  84. - Build with GraphicsMagick, drop all build time conditionals (#245155).
  85. - Patch to differentiate ImageMagick vs GraphicsMagick at build time, don't
  86. rely on GM's IM compat things installed, fix RGBA treatment with GM.
  87. - Avoid linkage bloat from GraphicsMagick-config --libs.
  88. * Wed Feb 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-4
  89. - Add build time conditional for GraphicsMagick, disabled by default (#432651).
  90. - Get rid of need for BuildConflicts.
  91. * Fri Nov 16 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-3
  92. - Rebuild.
  93. * Tue Aug 14 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-2
  94. - License: GPLv2+
  95. * Sat Feb 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-1
  96. - 0.6.14.
  97. * Wed Jan 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.13-1
  98. - 0.6.13.
  99. * Mon Jan 8 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.12-1
  100. - 0.6.12.
  101. * Sun Jan 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-9
  102. - First FE build (#219103).
  103. * Thu Oct 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-8
  104. - Build without ImageMagick by default due to dependency bloat (#212478).
  105. - Prune pre-2006 changelog entries.
  106. * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.6.11-7
  107. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  108. * Sun Sep 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-6
  109. - Rebuild.
  110. * Sun Jul 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-5
  111. - Rebuild for new ImageMagick (#1087).
  112. * Thu Mar 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-4
  113. - Remove -ldl hacks, BR fixed libdvdread-devel.