forked from pool/libcdio
Upgrade to 2.1.0 OBS-URL: https://build.opensuse.org/request/show/715682 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcdio?expand=0&rev=60
87 lines
2.7 KiB
RPMSpec
87 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package cdio-utils
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cdioutils 1
|
|
Name: cdio-utils
|
|
Version: 2.1.0
|
|
Release: 0
|
|
Summary: Utility programs making use of libcdio, a CD-ROM access library
|
|
License: GPL-3.0-or-later
|
|
Group: Productivity/Multimedia/Other
|
|
URL: https://savannah.gnu.org/projects/libcdio
|
|
Source0: https://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.bz2
|
|
Source1: https://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.bz2.sig
|
|
Source2: libcdio.keyring
|
|
Source4: baselibs.conf
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: help2man
|
|
BuildRequires: libcdio-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: makeinfo
|
|
BuildRequires: ncurses-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: popt-devel
|
|
BuildRequires: pkgconfig(libcddb)
|
|
BuildRequires: pkgconfig(libvcdinfo) >= 2.0
|
|
Provides: libcdio-utils = %{version}
|
|
Obsoletes: libcdio-utils < %{version}
|
|
|
|
%description
|
|
This package contains a number of utility programs that make use of
|
|
libcdio.
|
|
|
|
%prep
|
|
%setup -q -n libcdio-%{version}
|
|
|
|
%define buildir ${PWD}
|
|
|
|
%build
|
|
export VCDINFO_CFLAGS=-I%{_includedir}/libvcd
|
|
export VCDINFO_LIBS="-L%{_libdir} -lvcdinfo -L%{buildir}/lib/iso9660/.libs/ -liso9660 -L%{buildir}/lib/driver/.libs/ -lcdio"
|
|
|
|
VCDINFO_CFLAGS=-I%{_includedir}/libvcd VCDINFO_LIBS="-L%{_libdir} -lvcdinfo -L%{buildir}/lib/iso9660/.libs -liso9660 \
|
|
-L%{buildir}/lib/driver/.libs -lcdio" \
|
|
%configure \
|
|
--disable-silent-rules \
|
|
--disable-rpath \
|
|
--disable-static \
|
|
--disable-cxx \
|
|
--enable-vcd-info=yes
|
|
|
|
VCDINFO_CFLAGS=-I%{_includedir}/libvcd VCDINFO_LIBS="-L%{_libdir} -lvcdinfo \
|
|
-L%{buildir}/lib/iso9660/.libs/ -liso9660 -L%{buildir}/lib/driver/.libs/ -lcdio" \
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
#empty depdendency libs
|
|
rm -rf %{buildroot}%{_libdir} %{buildroot}%{_includedir} %{buildroot}%{_infodir}
|
|
%fdupes -s %{buildroot}%{_mandir}
|
|
|
|
%files -n cdio-utils
|
|
%doc AUTHORS NEWS.md README README.libcdio THANKS TODO
|
|
%license COPYING*
|
|
%{_bindir}/cd-*
|
|
%{_bindir}/cdda-*
|
|
%{_bindir}/iso-*
|
|
%{_bindir}/mmc-*
|
|
%{_mandir}/man?/*%{ext_man}
|
|
|
|
%changelog
|