File ogmtools.spec of Package ogmtools
#
# spec file for package ogmtools
#
# Copyright (c) 2011 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: ogmtools
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libdvdread-devel
BuildRequires: libvorbis-devel
Summary: Tools for OGG Media Streams
Version: 1.5
Release: 0
Group: Productivity/Multimedia/Other
License: GPL-2.0+
Url: http://www.bunkus.org/videotools/ogmtools/
Source: http://www.bunkus.org/videotools/ogmtools/%{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
These tools allow information about (ogminfo), extraction from
(ogmdemux), creation of (ogmmerge), or the division of (ogmsplit) OGG
media streams. OGM stands for OGG media streams.
Authors:
--------
Moritz Bunkus <moritz@bunkus.org>
%prep
%setup -q
%patch
%build
autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
--prefix=/usr --mandir=%{_mandir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
# does not work yet
rm -f $RPM_BUILD_ROOT/usr/bin/ogmcat $RPM_BUILD_ROOT%{_mandir}/man1/ogmcat.1
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc ChangeLog README
/usr/bin/dvdxchap
#/usr/bin/ogmcat
/usr/bin/ogmdemux
/usr/bin/ogminfo
/usr/bin/ogmmerge
/usr/bin/ogmsplit
%{_mandir}/man1/dvdxchap.1.gz
#%{_mandir}/man1/ogmcat.1.gz
%{_mandir}/man1/ogmdemux.1.gz
%{_mandir}/man1/ogminfo.1.gz
%{_mandir}/man1/ogmmerge.1.gz
%{_mandir}/man1/ogmsplit.1.gz
%changelog