File mkvtoolnix.spec of Package mkvtoolnix

#
# spec file for package mkvtoolnix (Version 2.4.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           mkvtoolnix
BuildRequires:  boost-devel flac-devel gcc-c++ libexpat-devel libmatroska-devel libvorbis-devel lzo-devel pcre-devel wxGTK-devel
Url:            http://www.bunkus.org/videotools/mkvtoolnix/
Version:        2.4.0
Release:        1
Summary:        Tools to Create, Alter, and Inspect Matroska Files
License:        GPL v2 or later
Group:          Productivity/Multimedia/Other
Source:         %{name}-%{version}.tar.bz2
Summary:        Tools to Create, Alter, and Inspect Matroska Files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Prefix:         /usr

%description
Tools to create and manipulate Matroska files (extensions .mkv and
.mka), a new container format for audio and video files. Includes
command line tools mkvextract, mkvinfo, mkvmerge, and a graphical
front-end for them, mkvmerge-gui.



Authors:
--------
    Moritz Bunkus <moritz@bunkus.org>

%if 0%{?opensuse_bs}
%if 0%{?suse_version}
%endif
%endif

%prep
%setup

%build
export CFLAGS="$RPM_OPT_FLAGS" #" -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
./configure --prefix=/usr --mandir=/usr/share/man --datadir=%{_docdir}
make %{?jobs:-j%jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT STRIP=:
ln -s mmg $RPM_BUILD_ROOT/usr/bin/mkvmerge-gui
install -m 0644 AUTHORS ChangeLog README \
    $RPM_BUILD_ROOT%{_docdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr (-,root,root)
#/usr/bin/base64tool
/usr/bin/mkvextract
/usr/bin/mkvinfo
/usr/bin/mkvmerge
/usr/bin/mkvmerge-gui
/usr/bin/mmg
#/usr/share/man/man1/base64tool.1.gz
/usr/share/man/man1/mkvextract.1.gz
/usr/share/man/man1/mkvinfo.1.gz
/usr/share/man/man1/mkvmerge.1.gz
/usr/share/man/man1/mmg.1.gz
%doc /usr/share/doc/packages/mkvtoolnix
#%doc README.SUSE AUTHORS ChangeLog COPYING README

%changelog
* Mon Oct 13 2008 seife@suse.de
- update to v2.4.0
  - lots of mmg and mkvmerge bugfixes, please see ChangeLog
  mkvmerge new features:
  - add support for Dirac video tracks
  - add support for muxing VC1 video tracks from MPEG PS or raw
  VC1 elementary streams
  - add support for 7.1 channel EAC3 files
  mkvextract new features:
  - support for extracting Theora video tracks into Ogg files
  - handle SimpleBlocks for timecode extraction
* Tue Sep 16 2008 seife@suse.de
- update to v2.3.9
  - lots of stuff, please see the ChangeLog file
  - lots of bugfixes in mkvmerge
  - switched from PCRE to Boost's RE library
  mkvmerge new features:
  - support for DTS-HD
  - improved support for WAV-files greater than 4G
  - improved error messages
  - support for OGG kate subtitles
  - support for PCM tracks with floating point numbers
  - support for Vorbis in AVI
* Sun Aug 31 2008 seife@suse.de
- add libexpat-devel to buildrequires
- add %%debug_package for buildservice build
* Fri Mar 07 2008 seife@suse.de
- fix buildservice build (missing pcre-devel buildrequires)
* Wed Mar 05 2008 seife@suse.de
- update to v2.2.0
  - lots of stuff, please see the ChangeLog file
  - most notable, some major bug fixes (lots of crashes should be
  gone) and some new features
- gcc-4.3 fixes incorporated upstream
- remove unneeded build dependencies
* Fri Oct 26 2007 seife@suse.de
- update to v2.1.0
  - lots of stuff, please see the ChangeLog file
  - most notable, support for EAC3 and AVC tracks
  - a few memleaks fixed in mkvmerge
- fix build with gcc43
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Sun May 27 2007 ro@suse.de
- added libmatroska-devel to buildreq
* Thu Feb 22 2007 seife@suse.de
- update to v2.0.2
 - lots of stuff, please see the ChangeLog file
 - mkvmerge-gui is now called "mmg" as in the upstream version
* Tue Nov 07 2006 seife@suse.de
- update to v1.7.0
 - mkvmerge: Added support for MIME type detection via libmagic
 - mkvmerge: bug fix: Theora headers were not handled correctly
 - mkvmerge: bug fix: WavPack reader was broken on 64bit systems
 - mkvmerge: bug fix: Theora timecode handling was broken
 - mmg: 'adjust timecodes' function accepts timecodes like
  'XXXXXunit' with 'unit' being 'ms', 'us', 'ns' or 's'.
 - mkvmerge: bug fix: Quicktime/MP4 reader: Added support for
  version 1 media headers ('mdhd' atom) with 64bit fields. Fixed
  the duration of the last packet passed downstream. Fixed overflow
  issues during re-scaling from the Quicktime/MP4's time scale to
  nano seconds used by mkvmerge.
 - mkvmerge: add support for the "Delay:" feature and for negative
  timecodes in VobSub IDX files.
 - mmg: bug fix: Re-added Chinese to the list of popular languages
 - mkvmerge: bug fix: The last change to the ISO 639 language
  handling broke the VobSub reader so that it reported the wrong
  language codes. This also caused mmg to not display the correct
  language after adding a VobSub file.
* Wed May 24 2006 schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 22 2005 seife@suse.de
- version update to 1.6.5
* Wed Nov 23 2005 seife@suse.de
- added -fno-strict-aliasing
* Mon Nov 21 2005 seife@suse.de
- version update to 1.6.0
* Mon Sep 26 2005 seife@suse.de
- version update to 1.5.6
* Fri Aug 26 2005 seife@suse.de
- version update to 1.5.5
* Tue Jul 05 2005 seife@suse.de
- version update to 1.5.0
* Sun Apr 17 2005 seife@suse.de
- version update to 1.4.2
* Tue Mar 01 2005 seife@suse.de
- version update to 1.4.0
* Mon Feb 07 2005 seife@suse.de
- version update to 1.0.2
* Wed Dec 22 2004 seife@suse.de
- version update to 1.0.1
* Thu Nov 18 2004 seife@suse.de
- version update to 1.0
* Tue Oct 26 2004 seife@suse.de
- version update to 0.9.7
* Mon Sep 13 2004 seife@suse.de
- renamed mmg to mkvmerge-gui (conflict with mupad)
  Made main window resizeable for high resolution displays.
* Thu Sep 02 2004 seife@suse.de
- initial submission
openSUSE Build Service is sponsored by