File ogmtools.spec of Package ogmtools

#
# spec file for package ogmtools (Version 1.5)
#
# 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/
#

# norootforbuild


Name:           ogmtools
BuildRequires:  gcc-c++ libdvdread-devel libvorbis-devel
Summary:        Tools for OGG Media Streams
Version:        1.5
Release:        144
Group:          Productivity/Multimedia/Other
License:        GPL v2 or later
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
* Mon Jan 14 2008 schwab@suse.de
- Fix array overrun [#348980].
* Wed Jun 14 2006 schwab@suse.de
- Fix broken makefile substitutions.
* Sun May 21 2006 schwab@suse.de
- Fix reading headers.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 19 2006 schwab@suse.de
- Don't strip binaries.
- Use RPM_OPT_FLAGS.
* Fri Aug 05 2005 cthiel@suse.de
- Update to ogmtools 1.5.
* Thu Aug 05 2004 schwab@suse.de
- Update to ogmtools 1.4.1.
* Sat Apr 17 2004 schwab@suse.de
- Update to ogmtools 1.4.
* Tue Apr 13 2004 schwab@suse.de
- Update to ogmtools 1.3.
* Wed Nov 26 2003 schwab@suse.de
- Update to ogmtools 1.2.
* Wed Oct 29 2003 schwab@suse.de
- Update to ogmtools 1.1.
* Thu Aug 07 2003 schwab@suse.de
- Update to ogmtools 1.0.3.
* Mon May 12 2003 schwab@suse.de
- Fix for new rpm.
* Wed May 07 2003 schwab@suse.de
- Update to ogmtools 1.0.2, includes all patches.
* Tue Apr 22 2003 schwab@suse.de
- Initial version 1.0.1.
- Make portable.
openSUSE Build Service is sponsored by