Added the spec files that I use for building on SuSE 9.0 / 9.1 and Fedora Core 1 / 2 / 3.

This commit is contained in:
Moritz Bunkus 2005-08-31 13:13:04 +00:00
parent 299aaebd2e
commit fd1324fb36
3 changed files with 201 additions and 0 deletions

41
contrib/fedora-core.spec Normal file
View File

@ -0,0 +1,41 @@
# SPEC file for (at least) Fedora Core 1, 2 and 3
Summary: mkvtoolnix
Name: mkvtoolnix
Version: 1.5.5
Release: 1
Copyright: GPL
Group: Multimedia
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-tmproot
BuildRequires: libebml-devel >= 0.7.2
BuildRequires: libmatroska-devel >= 0.7.4
BuildRequires: gcc-c++
%description
Matroska video utilities.
%files
%defattr(-, root, root)
%doc AUTHORS COPYING README ChangeLog NEWS TODO
%doc doc/mkvmerge-gui.html
%{_bindir}/*
%{_datadir}/man/man1/*
%changelog
* Sat Jan 2 2004 Ronald Bultje <rbultje@ronald.bitfreak.net
- set this thing up
%prep
%setup
%configure --prefix=%{_prefix}
%build
make
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

80
contrib/suse-9.0.spec Normal file
View File

@ -0,0 +1,80 @@
#
# spec file for package mkvtoolnix
#
# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# neededforbuild expat flac flac-devel gcc-c++ gtk2 gtk2-devel libebml libmatroska libmspack libogg libogg-devel libpng libpng-devel libstdc++-devel libtiff libtiff-devel libvorbis libvorbis-devel lzo lzo-devel pkgconfig unixODBC wxGTK wxGTK-compat wxGTK-devel wxGTK-gl
BuildRequires: aaa_base attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib db devs diffutils file filesystem fillup findutils flex gawk glibc glibc-devel glibc-locale gpm grep groff gzip info insserv less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp ncurses net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt readline sed syslogd sysvinit tar timezone util-linux vim zlib zlib-devel autoconf automake binutils expat flac flac-devel fontconfig freetype2 gcc gcc-c++ gdbm gettext libebml libjpeg libjpeg-devel libmatroska libogg libogg-devel libpng libstdc++-devel libtiff libtiff-devel libtool libvorbis libvorbis-devel libxml2 lzo lzo-devel perl rpm wxGTK wxGTK-devel
Name: mkvtoolnix
URL: http://www.bunkus.org/videotools/mkvtoolnix/
Version: 1.5.5
Release: 1
Summary: tools to create, alter and inspect Matroska files
License: GPL
Group: Productivity/Multimedia/Other
Source: %{name}-%{version}.tar.bz2
Patch: mmg-rename.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
frontend for them, mkvmerge-gui.
Authors:
--------
Moritz Bunkus <moritz@bunkus.org>
%prep
rm -rf $RPM_BUILD_ROOT
%setup
%patch -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr --mandir=/usr/share/man
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr (-,root,root)
/usr/bin/base64tool
/usr/bin/mkvextract
/usr/bin/mkvinfo
/usr/bin/mkvmerge
/usr/bin/mkvmerge-gui
/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/mkvmerge-gui.1.gz
%doc AUTHORS ChangeLog COPYING README
%changelog -n mkvtoolnix
* Mon Sep 13 2004 - seife@suse.de
- renamed mmg to mkvmerge-gui (conflict with mupad)
* Wed Sep 01 2004 - seife@suse.de
- initial submission

80
contrib/suse-9.1.spec Normal file
View File

@ -0,0 +1,80 @@
#
# spec file for package mkvtoolnix
#
# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# neededforbuild expat flac flac-devel gcc-c++ gtk2 gtk2-devel libebml libmatroska libmspack libogg libogg-devel libpng libpng-devel libstdc++-devel libtiff libtiff-devel libvorbis libvorbis-devel lzo lzo-devel pkgconfig unixODBC wxGTK wxGTK-compat wxGTK-devel wxGTK-gl
BuildRequires: aaa_base attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib db devs diffutils file filesystem fillup findutils flex gawk glibc glibc-devel glibc-locale gpm grep groff gzip info insserv less libacl libattr libgcc libselinux libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils readline sed strace syslogd sysvinit tar tcpd timezone unzip util-linux vim zlib zlib-devel atk audiofile autoconf automake binutils esound expat flac flac-devel fontconfig fontconfig-devel freetype2 freetype2-devel gcc gcc-c++ gdbm gettext libart_lgpl libebml libjpeg libjpeg-devel libmatroska libogg libogg-devel libpng libpng-devel libstdc++-devel libtiff libtiff-devel libtool libvorbis libvorbis-devel libxml2 linc lzo lzo-devel pango perl rpm unixODBC wxGTK wxGTK-devel
Name: mkvtoolnix
URL: http://www.bunkus.org/videotools/mkvtoolnix/
Version: 1.5.5
Release: 1
Summary: tools to create, alter and inspect Matroska files
License: GPL
Group: Productivity/Multimedia/Other
Source: %{name}-%{version}.tar.bz2
Patch: mmg-rename.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
frontend for them, mkvmerge-gui.
Authors:
--------
Moritz Bunkus <moritz@bunkus.org>
%prep
rm -rf $RPM_BUILD_ROOT
%setup
%patch -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr --mandir=/usr/share/man
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr (-,root,root)
/usr/bin/base64tool
/usr/bin/mkvextract
/usr/bin/mkvinfo
/usr/bin/mkvmerge
/usr/bin/mkvmerge-gui
/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/mkvmerge-gui.1.gz
%doc AUTHORS ChangeLog COPYING README
%changelog -n mkvtoolnix
* Mon Sep 13 2004 - seife@suse.de
- renamed mmg to mkvmerge-gui (conflict with mupad)
* Wed Sep 01 2004 - seife@suse.de
- initial submission