%define version 0.7.24 %define name vcdimager %define major 0 %define libname %mklibname vcd %{major} %define develname %mklibname -d vcd %define staticname %mklibname -s -d vcd %define cdiover 0.72 Name: %{name} Version: %{version} Release: %mkrel 3 Summary: VideoCD (pre-)mastering and ripping tool License: GPL Group: Video/Utilities Source: ftp://ftp.gnu.org/gnu/vcdimager/%name-%version.tar.gz URL: http://www.vcdimager.org BuildRequires: libxml2-devel BuildRequires: libcdio-devel >= %cdiover BuildRequires: popt-devel %description VCDImager allows you to create VideoCD BIN/CUE CD images from mpeg files which can be burned with cdrdao or any other program capable of burning BIN/CUE files. VCDRip, which comes with VCDImager, does the reverse operation. That is, ripping mpeg streams from images (and already burned VideoCDs) and showing some information about the VideoCD. %package -n %{libname} Summary: Libraries from %name Group: System/Libraries Provides: libvcd = %version-%release Requires: libcdio >= %cdiover %description -n %{libname} VCDImager allows you to create VideoCD BIN/CUE CD images from mpeg files which can be burned with cdrdao or any other program capable of burning BIN/CUE files. VCDRip, which comes with VCDImager, does the reverse operation. That is, ripping mpeg streams from images (and already burned VideoCDs) and showing some information about the VideoCD. %package -n %{develname} Summary: Devel files from %name Group: Development/C Requires: %{libname} = %version Requires: libcdio-devel >= %cdiover Provides: libvcd-devel = %version-%release %description -n %{develname} This is the libraries, include files and other resources you can use to incorporate %name into applications. %package -n %staticname Summary: Static Library for developing applications with %name Group: Development/C Requires: %develname = %version %description -n %staticname This contains the static library of %name needed for building apps that link statically to %name. %prep %setup -q %build %configure2_5x --enable-maintainer-mode --disable-static %make %install %makeinstall_std rm -f %{buildroot}%{_libdir}/*.la %post %_install_info vcdimager.info %preun %_remove_install_info vcdimager.info %files %doc NEWS README %{_bindir}/vcd-info %{_bindir}/vcdimager %{_bindir}/vcdxgen %{_bindir}/vcdxrip %{_bindir}/vcdxbuild %{_bindir}/vcdxminfo %{_bindir}/cdxa2mpeg %{_infodir}/* %{_mandir}/man1/* %files -n %{libname} %_libdir/*.so.%{major}* %files -n %{develname} %doc ChangeLog AUTHORS TODO %_includedir/libvcd %_libdir/*.so %_libdir/pkgconfig/*.pc %changelog * Sat Jan 19 2013 fwang <fwang> 0.7.24-3.mga3 + Revision: 389665 - update rpm group + umeabot <umeabot> - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Oct 28 2011 fwang <fwang> 0.7.24-2.mga2 + Revision: 159077 - rebuild for new libcdio * Tue Sep 06 2011 tv <tv> 0.7.24-1.mga2 + Revision: 139845 - new release - new source URL - use %%mklibname -d - use major in file list * Fri Jan 14 2011 blino <blino> 0.7.23-10.mga1 + Revision: 17783 - imported package vcdimager