File mkvtoolnix.spec of Package mkvtoolnix
#
# spec file for package mkvtoolnix (Version 2.9.7)
#
# Copyright (c) 2009 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.9.7
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
Patch: mkvtoolnix-2.5.1-guide-install.diff
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
%patch -p1
%build
export CFLAGS="$RPM_OPT_FLAGS" #" -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
./configure --prefix=/usr --mandir=/usr/share/man --docdir=%{_docdir}/%{name}
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}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%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