From fd1324fb36f0e6a3639b467597232c4ec55013cd Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 31 Aug 2005 13:13:04 +0000 Subject: [PATCH] Added the spec files that I use for building on SuSE 9.0 / 9.1 and Fedora Core 1 / 2 / 3. --- contrib/fedora-core.spec | 41 ++++++++++++++++++++ contrib/suse-9.0.spec | 80 ++++++++++++++++++++++++++++++++++++++++ contrib/suse-9.1.spec | 80 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 201 insertions(+) create mode 100644 contrib/fedora-core.spec create mode 100644 contrib/suse-9.0.spec create mode 100644 contrib/suse-9.1.spec diff --git a/contrib/fedora-core.spec b/contrib/fedora-core.spec new file mode 100644 index 000000000..38db7fac9 --- /dev/null +++ b/contrib/fedora-core.spec @@ -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 + +%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 diff --git a/contrib/suse-9.1.spec b/contrib/suse-9.1.spec new file mode 100644 index 000000000..97f734b46 --- /dev/null +++ b/contrib/suse-9.1.spec @@ -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 + +%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