[521] | 1 | #TODO: GraphicsMagick |
---|
| 2 | |
---|
| 3 | %define with_GraphicsMagick 0 |
---|
| 4 | |
---|
| 5 | Name: dvdauthor |
---|
[1987] | 6 | Summary: Command line DVD authoring tool |
---|
| 7 | Summary(ja): コマンドライン DVD 作成ツール |
---|
[5879] | 8 | Version: 0.7.0 |
---|
| 9 | Release: 1%{?_dist_release} |
---|
[521] | 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 | |
---|
[941] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[521] | 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 |
---|
[941] | 23 | BuildRequires: freetype2-devel |
---|
[521] | 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 |
---|
[941] | 36 | %setup -q -n %{name} |
---|
[521] | 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 |
---|
[5879] | 85 | * Sun Mar 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.0-1 |
---|
| 86 | - update to 0.7.0 |
---|
| 87 | |
---|
[1987] | 88 | * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.18-2 |
---|
| 89 | - rebuilt with ImageMagick-6.6.4.8 |
---|
| 90 | |
---|
[941] | 91 | * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.18-1 |
---|
| 92 | - new upstream release |
---|
| 93 | - rebuilt with new toolchain and ImageMagick 6.6.1.5 |
---|
| 94 | |
---|
[521] | 95 | * Fri Feb 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.14-2 |
---|
| 96 | - rebuilt with ImageMagick 6.4.9-2 |
---|
| 97 | - added Japanese summary |
---|
| 98 | |
---|
| 99 | * Sat Jan 24 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.14-1 |
---|
| 100 | - intial build based on Fedora development package |
---|
| 101 | |
---|
| 102 | * Tue Jul 8 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-6 |
---|
| 103 | - Fix build with changed libdvdread 4.1.3 header location. |
---|
| 104 | |
---|
| 105 | * Wed Feb 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-5 |
---|
| 106 | - Build with GraphicsMagick, drop all build time conditionals (#245155). |
---|
| 107 | - Patch to differentiate ImageMagick vs GraphicsMagick at build time, don't |
---|
| 108 | rely on GM's IM compat things installed, fix RGBA treatment with GM. |
---|
| 109 | - Avoid linkage bloat from GraphicsMagick-config --libs. |
---|
| 110 | |
---|
| 111 | * Wed Feb 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-4 |
---|
| 112 | - Add build time conditional for GraphicsMagick, disabled by default (#432651). |
---|
| 113 | - Get rid of need for BuildConflicts. |
---|
| 114 | |
---|
| 115 | * Fri Nov 16 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-3 |
---|
| 116 | - Rebuild. |
---|
| 117 | |
---|
| 118 | * Tue Aug 14 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-2 |
---|
| 119 | - License: GPLv2+ |
---|
| 120 | |
---|
| 121 | * Sat Feb 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.14-1 |
---|
| 122 | - 0.6.14. |
---|
| 123 | |
---|
| 124 | * Wed Jan 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.13-1 |
---|
| 125 | - 0.6.13. |
---|
| 126 | |
---|
| 127 | * Mon Jan 8 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.12-1 |
---|
| 128 | - 0.6.12. |
---|
| 129 | |
---|
| 130 | * Sun Jan 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-9 |
---|
| 131 | - First FE build (#219103). |
---|
| 132 | |
---|
| 133 | * Thu Oct 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-8 |
---|
| 134 | - Build without ImageMagick by default due to dependency bloat (#212478). |
---|
| 135 | - Prune pre-2006 changelog entries. |
---|
| 136 | |
---|
| 137 | * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.6.11-7 |
---|
| 138 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
---|
| 139 | |
---|
| 140 | * Sun Sep 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-6 |
---|
| 141 | - Rebuild. |
---|
| 142 | |
---|
| 143 | * Sun Jul 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-5 |
---|
| 144 | - Rebuild for new ImageMagick (#1087). |
---|
| 145 | |
---|
| 146 | * Thu Mar 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.11-4 |
---|
| 147 | - Remove -ldl hacks, BR fixed libdvdread-devel. |
---|