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