File vcdimager.spec of Package vcdimager
#
# spec file for package vcdimager
#
# 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/
#
# norootforbuild
Name: vcdimager
BuildRequires: cdparanoia gawk gcc-c++ libcddb-devel libxml2-devel pkgconfig popt-devel
# In automatic build systems, use feature-limited version of libcdio to break build loop.
%if "x%{?_project}" != "x"
BuildRequires: libcdio-mini-devel
%else
# Otherwise, build against full version.
BuildRequires: libcdio-devel
%endif
Url: http://www.vcdimager.org/
License: GPLv2
Group: Productivity/Multimedia/CD/Record
PreReq: %install_info_prereq
AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: vcdimager-64bit
%endif
#
Version: 0.7.24
Release: 1
Summary: Video CD (VCD) authoring software
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
Patch1: sector_private.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNU VCDImager is a full-featured mastering suite for authoring,
disassembling and analyzing Video CDs and Super Video CDs.
The following features are available so far:
Support for Video CD 1.1 and 2.0 disc formats
Support for the Super Video CD 1.0 disc format
Full PBC (playback control) support (play lists, selection lists and
end lists)
Support for segment play items
Automatic padding of MPEG streams on the fly
Support for 99-minute (out-of-specification) CD-R media
Extraction of Video CDs into files (incl. the PBC information)
Use of XML for the description of Video CDs
Authors:
--------
Herbert Valerio Riedel <hvr@gnu.org>
Rocky Bernstein <rocky@panix.com>
%package devel
Url: http://www.vcdimager.org/
License: GPLv2
Group: Development/Languages/C and C++
Summary: Video CD (VCD) authoring software
Requires: %{name} = %{version} libcdio-devel glibc-devel
# bug437293
%ifarch ppc64
Obsoletes: vcdimager-devel-64bit
%endif
#
%description devel
GNU VCDImager is a full-featured mastering suite for authoring,
disassembling and analyzing Video CDs and Super Video CDs.
The following features are available so far:
Support for Video CD 1.1 and 2.0 disc formats
Support for the Super Video CD 1.0 disc format
Full PBC (playback control) support (play lists, selection lists and
end lists)
Support for segment play items
Automatic padding of MPEG streams on the fly
Support for 99-minute (out-of-specification) CD-R media
Extraction of Video CDs into files (incl. the PBC information)
Use of XML for the description of Video CDs
Authors:
--------
Herbert Valerio Riedel <hvr@gnu.org>
Rocky Bernstein <rocky@panix.com>
%prep
%setup -q
# sector_private.patch
%patch1 -p1
%build
%{?suse_update_config:%{suse_update_config -f -l}}
%configure --disable-static --with-pic
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/*.la
grep -r -E '^#include[ \t]+[<"][^>"]+[">]' %{buildroot}%{_includedir} | awk -F: '{print $2}'
%check
make check
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%install_info --info-dir=%{_infodir} %{_infodir}/%name.info.gz
%postun
/sbin/ldconfig
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%name.info.gz
%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING ChangeLog FAQ INSTALL NEWS README THANKS TODO HACKING
/usr/bin/*
%{_libdir}/*.so.*
%doc /usr/share/info/*.info*
%doc /usr/share/man/man?/*.*
%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
/usr/include/*
%changelog