mlt/mlt.spec

Fri, 09 Sep 2011 16:57:46 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 09 Sep 2011 16:57:46 +0200
changeset 18
1ae0aa395adf
parent 17
0ad158be7636
permissions
-rw-r--r--

Update version to development branches and adapt package file index.

     1 # vim: set sw=4 ts=4 et:
     3 %define soname		4
     4 %define soname_pp	3
     6 %{!?python_sitelib:  %global python_sitelib  %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
     7 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
     9 Name:           mlt
    10 Version:        20110908
    11 Release:        git.msvb.1
    12 License:        GNU General Public License version 2 or later (GPLv2 or later)
    13 Vendor:         Europalab Software
    14 Packager:       Michael Schloh von Bennewitz
    15 Summary:        Multimedia framework for television broadcasting
    16 Group:          Productivity/Multimedia/Sound/Editors and Convertors
    17 URL:            http://www.mltframework.org/twiki/bin/view/MLT/WebHome
    18 # http://prdownloads.sourceforge.net/mlt/mlt-%{version}.tar.gz
    19 Source:         mlt-%{version}.tar.bz2
    20 Source90:       %{name}-rpmlintrc
    21 #Patch1:         mlt-qt_backport.patch
    22 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
    23 BuildRequires:  gcc-c++
    24 BuildRequires:  libffmpeg-devel libamrnb-devel ffmpeg
    25 BuildRequires:  frei0r-plugins
    26 BuildRequires:  gamin-devel
    27 BuildRequires:  gtk2-devel
    28 %if 0%{?suse_version} < 1130
    29 BuildRequires:	gdk-pixbuf-devel
    30 %endif
    31 BuildRequires:  ImageMagick
    32 BuildRequires:  ladspa-devel
    33 BuildRequires:  ladspa
    34 BuildRequires:  libdv-devel
    35 BuildRequires:  libgsm-devel
    36 BuildRequires:  libjack-devel
    37 BuildRequires:  libkde4-devel
    38 BuildRequires:  libmad-devel
    39 BuildRequires:  libquicktime-devel
    40 BuildRequires:  libsamplerate-devel
    41 BuildRequires:  libvorbis-devel
    42 BuildRequires:  libxml2-devel >= 2.5
    43 BuildRequires:  pango-devel
    44 BuildRequires:  qt-devel
    45 BuildRequires:  pkgconfig
    46 BuildRequires:  SDL-devel >= 1.2
    47 BuildRequires:  sox-devel >= 14.3.0
    48 BuildRequires:  sox >= 14.3.0
    49 BuildRequires:  xorg-x11-devel
    50 Requires:       ladspa
    51 BuildRequires:  python-devel
    52 BuildRequires:  swig
    53 %py_requires
    55 # pmbs ...
    56 #BuildRequires:  libwavpack-devel libsndfile-devel libxine1
    58 %if %suse_version > 1101
    59 BuildRequires:  libdb-4_5-devel
    60 %endif
    62 %description
    63 MLT is an open source multimedia framework, designed and developed
    64 for television broadcasting. It provides a toolkit for broadcasters,
    65 video editors, media players, transcoders, web streamers and many
    66 more types of applications.
    68 The functionality of the system is provided via an assortment of
    69 ready to use tools, xml authoring components, and an extendible
    70 plug-in based API.
    72 %package devel
    73 Summary:        MLT Video Editor development files
    74 Group:          Development/Libraries/C and C++
    75 Requires:       %{name} = %{version}
    76 Requires:       frei0r-plugins
    77 Requires:       gtk2-devel
    78 %if 0%{?suse_version} < 1130
    79 Requires:	    gdk-pixbuf-devel
    80 %endif
    81 Requires:       ladspa-devel
    82 Requires:       ladspa
    83 Requires:       libdv-devel
    84 Requires:       libffmpeg-devel
    85 Requires:       libgsm-devel
    86 Requires:       libjack-devel
    87 Requires:       libkde4-devel
    88 Requires:       libmad-devel
    89 Requires:       libmlt%{soname} = %{version}
    90 Requires:       libquicktime-devel
    91 Requires:       libsamplerate-devel
    92 Requires:       libvorbis-devel
    93 Requires:       libxml2-devel >= 2.5
    94 Requires:       pango-devel
    95 Requires:       qt-devel
    96 Requires:       SDL-devel >= 1.2
    97 Requires:       sox-devel >= 14.3.0
    98 Requires:       sox >= 14.3.0
    99 Requires:       xorg-x11-devel
   101 %description devel
   102 MLT is an open source multimedia framework, designed and developed
   103 for television broadcasting. It provides a toolkit for broadcasters,
   104 video editors, media players, transcoders, web streamers and many
   105 more types of applications.
   107 The functionality of the system is provided via an assortment of
   108 ready to use tools, xml authoring components, and an extendible
   109 plug-in based API.
   111 Headers and link/static libraries for package MLT.
   113 %package -n mlt++-devel
   114 Summary:        MLT Video Editor development files
   115 Group:          Development/Libraries/C and C++
   116 Requires:       %{name}-devel = %{version}
   117 Requires:       libmlt++%{soname_pp} = %{version}
   119 %description -n mlt++-devel
   120 MLT is an open source multimedia framework, designed and developed
   121 for television broadcasting. It provides a toolkit for broadcasters,
   122 video editors, media players, transcoders, web streamers and many
   123 more types of applications.
   125 The functionality of the system is provided via an assortment of
   126 ready to use tools, xml authoring components, and an extendible
   127 plug-in based API.
   129 Headers and link/static libraries for package MLT++.
   131 %package -n libmlt%{soname}
   132 Summary:        MLT Video Editor shared library
   133 Group:          System/Libraries
   135 %description -n libmlt%{soname}
   136 MLT is an open source multimedia framework, designed and developed
   137 for television broadcasting. It provides a toolkit for broadcasters,
   138 video editors, media players, transcoders, web streamers and many
   139 more types of applications.
   141 The functionality of the system is provided via an assortment of
   142 ready to use tools, xml authoring components, and an extendible
   143 plug-in based API.
   145 Shared library for package MLT.
   147 %package -n libmlt++%{soname_pp}
   148 Summary:        MLT Video Editor shared library
   149 Group:          System/Libraries
   151 %description -n libmlt++%{soname_pp}
   152 MLT is an open source multimedia framework, designed and developed
   153 for television broadcasting. It provides a toolkit for broadcasters,
   154 video editors, media players, transcoders, web streamers and many
   155 more types of applications.
   157 The functionality of the system is provided via an assortment of
   158 ready to use tools, xml authoring components, and an extendible
   159 plug-in based API.
   161 Shared library for package MLT.
   163 %package -n python-mlt
   164 Summary:        MLT Video Editor python bindings
   165 Group:          Development/Languages/Python
   166 Requires:       %{name} = %{version}
   167 %if %suse_version >= 1110
   168 Requires:       python-base >= %{py_ver}
   169 %else
   170 Requires:       python >= %{py_ver}
   171 %endif
   173 %description -n python-mlt
   174 MLT is an open source multimedia framework, designed and developed
   175 for television broadcasting. It provides a toolkit for broadcasters,
   176 video editors, media players, transcoders, web streamers and many
   177 more types of applications.
   179 The functionality of the system is provided via an assortment of
   180 ready to use tools, xml authoring components, and an extendible
   181 plug-in based API.
   183 Python bindings for package MLT.
   185 %prep
   186 %setup -q -n %{name}-%{version}
   187 %if %suse_version < 1100
   188 #%patch1
   189 %endif
   191 %build
   192 %suse_update_libdir src/modules/qimage/configure
   194 export KDEDIR=%{_prefix}
   195 %configure  \
   196 %ifarch %ix86
   197     --disable-sse2 \
   198     --disable-mmx \
   199 %else
   200     --enable-sse2 \
   201     --enable-mmx \
   202 %endif
   203     --enable-gpl \
   204     --enable-avformat \
   205     --avformat-shared="%{_libdir}" \
   206     --avformat-swscale \
   207     --avformat-vdpau \
   208     --enable-core \
   209     --enable-dgraft \
   210     --enable-dv \
   211     --enable-effectv \
   212     --enable-feeds \
   213     --enable-frei0r \
   214     --enable-gtk2 \
   215     --enable-jackrack \
   216     --enable-kdenlive \
   217     --enable-kino \
   218     --enable-lumas \
   219     --enable-linsys \
   220     --enable-melt \
   221 %ifarch ppc
   222     --disable-motion_est \
   223 %else
   224 %ifnarch x86_64
   225     --enable-motion-est \
   226 %else
   227     --disable-motion_est \
   228 %endif
   229 %endif
   230     --enable-normalize \
   231     --enable-oldfilm \
   232     --enable-plus \
   233     --enable-qimage \
   234     --enable-resample \
   235     --enable-sdl \
   236     --enable-sox \
   237     --enable-vmfx \
   238     --enable-vorbis \
   239 %ifarch ppc
   240     --disable-xine \
   241 %else
   242     --enable-xine \
   243 %endif
   244     --enable-xml \
   245     --enable-shared \
   246     --luma-compress \
   247     --qimage-libdir=%{_libdir} \
   248     --qimage-includedir=%{_includedir} \
   249     --swig-languages=python
   251 # luma/PAL/* gets not filled, if .executed is present
   252 %__rm -rf src/modules/lumas/.executed
   254 %__make %{?_smp_flags}
   256 %install
   257 %makeinstall
   259 # make install is missing this .. DIY :)
   260 %__install -dm 755 %{buildroot}%{python_sitearch}
   261 %__install -m 644 src/swig/python/_mlt.so \
   262     %{buildroot}%{python_sitearch}
   263 %__install -dm 755 %{buildroot}%{python_sitelib}
   264 %__install -m 644 src/swig/python/mlt.py \
   265     %{buildroot}%{python_sitelib}
   267 %clean
   268 %{?buildroot:%__rm -rf "%{buildroot}"}
   270 %post   -n libmlt%{soname} -p /sbin/ldconfig
   271 %postun -n libmlt%{soname} -p /sbin/ldconfig
   273 %post   -n libmlt++%{soname_pp} -p /sbin/ldconfig
   274 %postun -n libmlt++%{soname_pp} -p /sbin/ldconfig
   276 %files
   277 %defattr(-, root, root)
   278 %doc ChangeLog COPYING README
   279 %doc docs/*.txt
   280 %{_bindir}/melt
   281 %dir %{_libdir}/mlt
   282 %{_libdir}/mlt/libmltavformat.so
   283 %{_libdir}/mlt/libmltcore.so
   284 %{_libdir}/mlt/libmltdgraft.so
   285 %{_libdir}/mlt/libmltdv.so
   286 %{_libdir}/mlt/libmlteffectv.so
   287 %{_libdir}/mlt/libmltfrei0r.so
   288 %{_libdir}/mlt/libmltgtk2.so
   289 %{_libdir}/mlt/libmltjackrack.so
   290 %{_libdir}/mlt/libmltkdenlive.so
   291 %{_libdir}/mlt/libmltkino.so
   292 %{_libdir}/mlt/libmltlinsys.so
   293 %{_libdir}/mlt/libmltmelt.so
   294 %{_libdir}/mlt/libmltxml.so
   295 %{_libdir}/mlt/libmltvideostab.so
   296 %ifnarch x86_64
   297 %ifnarch ppc
   298 %{_libdir}/mlt/libmltmotion_est.so
   299 %endif
   300 %endif
   301 %{_libdir}/mlt/libmltnormalize.so
   302 %{_libdir}/mlt/libmltoldfilm.so
   303 %{_libdir}/mlt/libmltplus.so
   304 %{_libdir}/mlt/libmltqimage.so
   305 %{_libdir}/mlt/libmltresample.so
   306 %{_libdir}/mlt/libmltrotoscoping.so
   307 %{_libdir}/mlt/libmltsdl.so
   308 %{_libdir}/mlt/libmltsox.so
   309 %{_libdir}/mlt/libmltvmfx.so
   310 %{_libdir}/mlt/libmltvorbis.so
   311 %ifnarch ppc
   312 %{_libdir}/mlt/libmltxine.so
   313 %endif
   314 %{_libdir}/mlt/libmltdecklink.so
   315 %dir %{_datadir}/mlt
   316 %{_datadir}/mlt/metaschema.yaml
   317 %dir %{_datadir}/mlt/avformat
   318 %{_datadir}/mlt/avformat/*
   319 %dir %{_datadir}/mlt/core
   320 %{_datadir}/mlt/core/data_fx.properties
   321 %{_datadir}/mlt/core/loader.dict
   322 %{_datadir}/mlt/core/loader.ini
   323 %dir %{_datadir}/mlt/feeds
   324 %{_datadir}/mlt/feeds/*
   325 %dir %{_datadir}/mlt/lumas
   326 %{_datadir}/mlt/lumas/*
   327 %dir %{_datadir}/mlt/oldfilm
   328 %{_datadir}/mlt/oldfilm/*
   329 %dir %{_datadir}/mlt/profiles
   330 %{_datadir}/mlt/profiles/*
   331 %dir %{_datadir}/mlt/rotoscoping
   332 %{_datadir}/mlt/rotoscoping/filter_rotoscoping.yml
   333 %dir %{_datadir}/mlt/xml
   334 %{_datadir}/mlt/xml/mlt-xml.dtd
   335 %dir %{_datadir}/mlt/frei0r
   336 %{_datadir}/mlt/frei0r/blacklist.txt
   337 %{_datadir}/mlt/frei0r/not_thread_safe.txt
   338 %dir %{_datadir}/mlt/decklink
   339 %{_datadir}/mlt/decklink/*.yml
   340 %{_datadir}/mlt/core/*.yml
   341 %{_datadir}/mlt/dv/*.yml
   342 %{_datadir}/mlt/effectv/*.yml
   343 %{_datadir}/mlt/gtk2/*.yml
   344 %{_datadir}/mlt/jackrack/*.txt
   345 %{_datadir}/mlt/jackrack/*.yml
   346 %{_datadir}/mlt/kdenlive/*.yml
   347 %{_datadir}/mlt/linsys/*.yml
   348 %{_datadir}/mlt/melt/*.yml
   349 %{_datadir}/mlt/normalize/*.yml
   350 %{_datadir}/mlt/plus/*.yml
   351 %{_datadir}/mlt/presets/consumer/avformat/*
   352 %{_datadir}/mlt/qimage/*.yml
   353 %{_datadir}/mlt/resample/*.yml
   354 %{_datadir}/mlt/sdl/*.yml
   355 %{_datadir}/mlt/sox/*.yml
   356 %{_datadir}/mlt/videostab/*.yml
   357 %{_datadir}/mlt/vmfx/*.yml
   358 %{_datadir}/mlt/vorbis/*.yml
   359 %{_datadir}/mlt/xml/*.yml
   361 %files devel
   362 %defattr(-, root, root)
   363 %dir %{_includedir}/mlt
   364 %dir %{_includedir}/mlt/framework
   365 %{_includedir}/mlt/framework/*.h
   366 %{_libdir}/libmlt.so
   367 %{_libdir}/pkgconfig/mlt-framework.pc
   369 %files -n mlt++-devel
   370 %defattr(-, root, root)
   371 %dir %{_includedir}/mlt++
   372 %{_includedir}/mlt++/*
   373 %{_libdir}/libmlt++.so
   374 %{_libdir}/pkgconfig/mlt++.pc
   376 %files -n libmlt%{soname}
   377 %defattr(-, root, root)
   378 %{_libdir}/libmlt.so.%{soname}
   379 # no kidding, on purpose, go figure...:
   380 %{_libdir}/libmlt.so.0.*
   382 %files -n libmlt++%{soname_pp}
   383 %defattr(-, root, root)
   384 %{_libdir}/libmlt++.so.%{soname_pp}
   385 # no kidding, on purpose, go figure...:
   386 %{_libdir}/libmlt++.so.0.*
   388 %files -n python-mlt
   389 %defattr(-, root, root)
   390 %{python_sitearch}/_mlt.so
   391 %{python_sitelib}/mlt.py
   393 %changelog
   394 * Fri Sep  9 2011 Michael Schloh von Bennewitz <michael@schloh.com>
   395 - update to GIT (0.7.4 branch)
   396 * Sun Jun 12 2011 pascal.bleser@opensuse.org
   397 - build with SSE2 and MMX support on 64bit
   398 - build with VDPAU support
   399 - update to 0.7.2:
   400   * this is a minor release to fix a few things between the 0.7.0 release and
   401     the release of Kdenlive 0.8. I recommend Kdenlive v0.8 users to upgrade to
   402     this version of Mlt
   403   * some exciting additions to the Blackmagic Design DeckLink plugin
   404   * added mlt_profile_list()
   405   * added decklink producer (i.e. capture, live encoding)
   406   * added keyer output for decklink consumer
   407   * added AVOptions to the avformat service metadata
   408   * added support for new major API versions (53) of FFmpeg
   409   * melt: added '-query profile' option
   410   * melt: added '-query formats', '-query audio_codecs' and '-query
   411     video_codecs'
   412 * Mon Apr 11 2011 reddwarf@opensuse.org
   413 - update to 0.7.0
   414 * Wed Sep 29 2010 pascal.bleser@opensuse.org
   415 - update to 0.5.10
   416 * Fri Jul 30 2010 toni@links2linux.de
   417 - update to 0.5.6
   418 - This is a maintenance release to address some bugs that appeared
   419   thus far in the 0.5.x series. Beyond that is a few enhancements:
   420   * Added interpolation to the affine transition and filter.
   421   * Added multi-track audio encoding to avformat consumer.
   422   * Added interlaced field rendering to kdenlivetitle producer.
   423 * Thu Mar 11 2010 toni@links2linux.de
   424 - update to 0.5.2
   425 - This is a minor maintenance release, but it is interesting because
   426   it now enables usage of libswscale as the default choice for image
   427   scaling, image format conversion, and color space conversion. That
   428   gives better quality and performance. In addition, there are some
   429   improvements in the sdl_preview consumer to make it suitable for use
   430   in OpenShot 1.1.
   431 * Tue Mar  2 2010 toni@links2linux.de
   432 - rebuild with --disable-sse2
   433 - new URL
   434 * Tue Feb 16 2010 toni@links2linux.de
   435 - update to 0.5.0
   436 - This is an enhancement release, confined mainly to the modules rather
   437   than the framework. In particular, this adds support for VDPAU, YADIF,
   438   and HD-SDI technologies!
   439 * Mon Feb  1 2010 toni@links2linux.de
   440 - update to 0.4.10
   441 - added libmltlinsys.so
   442 * Tue Jan 12 2010 toni@links2linux.de
   443 - added python-mlt sub-package
   444 * Fri Oct  9 2009 pascal.bleser@opensuse.org
   445 - update to 0.4.6
   446 * Fri Oct  2 2009 Manfred.Tremmel@iiv.de
   447 - included debian patch mlt_0.4.4-3.diff
   448 * Thu Sep 24 2009 Manfred.Tremmel@iiv.de
   449 - update to 0.4.4
   450 * Mon May 18 2009 toni@links2linux.de
   451 - update to 0.4.2
   452 - dropped libvalerie1, libmiracle1
   453 - added mlt++-devel, libmlt++2 sub-packages (obsoletes mlt++-*)
   454 * Wed Apr 15 2009 toni@links2linux.de
   455 - update to 0.3.8
   456 - split of libvalerie1, libmlt1, libmiracle1
   457 * Tue Feb  3 2009 toni@links2linux.de
   458 - update to 0.3.6
   459 * Sun Feb  1 2009 toni@links2linux.de
   460 - rebuild with new sox(-devel) packages
   461 * Fri Jan  2 2009 toni@links2linux.de
   462 - update to 0.3.4
   463 * Tue Nov 11 2008 toni@links2linux.de
   464 - update to 0.3.2
   465 - openSuSE >= 11.0 use only kde4 and qt4
   466 * Tue Oct 28 2008 toni@links2linux.de
   467 - rebuild with newest ffmpeg libs
   468 * Wed Sep 24 2008 toni@links2linux.de
   469 - mad ==> libmad-devel, sox ==> sox-devel
   470 - we have new sox 14.1 ... so I grabbed the sox-module from svn-version
   471 * Thu Aug  7 2008 toni@links2linux.de
   472 - update to 0.3.0
   473 * Sun Jun 29 2008 toni@links2linux.de
   474 - rebuild with new ffmpeg package
   475 - removed the av_free_static call
   476 - don't strip the binaries via make install
   477 * Fri Dec 21 2007 toni@links2linux.de
   478 - rebuild with new ffmpeg package
   479 * Thu Dec 20 2007 Manfred.Tremmel@iiv.de
   480 - a little change to compile it on ppc
   481 - added a patch to make it compile with the latest ffmpeg version
   482 * Tue Aug  7 2007 toni@links2linux.de
   483 - update to 0.2.4
   484 - added some more plugin-modules (qimage, kdenlive, effecttv)
   485 * Sat Aug  4 2007 toni@links2linux.de
   486 - rebuild with option --avformat-swscale
   487 * Wed Apr 25 2007 toni@links2linux.de
   488 - update to 0.2.3
   489 * Tue Dec  5 2006 toni@links2linux.de
   490 - update to 0.2.2
   491 - repacked as tar.bz2
   492 * Wed Mar 22 2006 guru@unixtech.be
   493 - rewrote spec file
   494 - disable mmx support on x86_64
   495 - new upstream version
   496 * Sun Aug 28 2005 guru@unixtech.be
   497 - fixed bug in requires
   498 * Fri Aug 19 2005 guru@unixtech.be
   499 - new package

mercurial