SHA256
1
0
forked from pool/libcdio

Accepting request 521548 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/521548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcdio?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2017-09-07 20:11:50 +00:00 committed by Git OBS Bridge
commit 92ab570e43
8 changed files with 88 additions and 132 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Sep 5 12:02:14 UTC 2017 - jengelh@inai.de
- Remove --with-pic (only useful for static libs) and compact
--enable-static=n.
- Change description to reflect the package content.
-------------------------------------------------------------------
Sun Sep 3 10:50:45 UTC 2017 - astieger@suse.com
- update to 0.94:
* CD-TEXT fixes and improvements
* eject fixes
* various bug fixes
-------------------------------------------------------------------
Tue Jun 16 11:14:07 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cdio-utils
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -18,9 +18,9 @@
%define cdioutils 1
Name: cdio-utils
Version: 0.93
Version: 0.94
Release: 0
Summary: CD-ROM Access Library
Summary: Utility programs making use of libcdio, a CD-ROM access library
License: GPL-3.0+
Group: Productivity/Multimedia/Other
Url: https://savannah.gnu.org/projects/libcdio
@ -33,22 +33,18 @@ BuildRequires: gcc-c++
BuildRequires: help2man
BuildRequires: libcdio-devel
BuildRequires: libtool
BuildRequires: makeinfo
BuildRequires: ncurses-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: pkgconfig(libcddb)
BuildRequires: pkgconfig(libvcdinfo)
Provides: libcdio-utils = %{version}
Obsoletes: libcdio-utils < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1220
BuildRequires: makeinfo
%endif
%description
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
This package contains a number of utility programs that make use of
libcdio.
%prep
%setup -q -n libcdio-%{version}
@ -58,44 +54,31 @@ CD-ROM can use this library.
%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"
#autoreconf -f -i
# FIXME: Required .pc files are not installed without --enable-cpp-progs.
VCDINFO_CFLAGS=-I%{_includedir}/libvcd VCDINFO_LIBS="-L%{_libdir} -lvcdinfo -L%{buildir}/lib/iso9660/.libs -liso9660 \
-L%{buildir}/lib/driver/.libs -lcdio" \
%configure \
--disable-rpath \
--enable-static=n \
--enable-shared=yes \
--with-pic \
--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" \
VERBOSE=1 make -e %{?_smp_mflags}
#-lcdioutils
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%if 1 == 0
mv %{buildroot}%{_mandir}/jp %{buildroot}%{_mandir}/ja
%endif
%make_install
#empty depdendency libs
rm -rf %{buildroot}%{_libdir} %{buildroot}%{_includedir} %{buildroot}%{_infodir}
%fdupes -s %{buildroot}%{_mandir}
%files -n cdio-utils
%defattr (-, root, root)
%doc AUTHORS COPYING NEWS README README.libcdio THANKS TODO
#ChangeLog
%{_bindir}/cd-*
%{_bindir}/cdda-*
%{_bindir}/iso-*
%{_bindir}/mmc-*
%{_mandir}/man?/*.*
%if 1 == 0
%lang(ja) %{_mandir}/ja/man?/*.*
%endif
%{_mandir}/man?/*%{ext_man}
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4972cd22fd8d0e8bff922d35c7a645be0db0ab0e7b3dfaecc9cd8272429d6975
size 2723371

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlQpeWcACgkQGo3lAIJ17CEVQwCgm2VxcQQlAVSTWenDimpsYM9e
eaUAnj+5djKJJDmKTROgIhPl9psBWUbh
=ZjjN
-----END PGP SIGNATURE-----

3
libcdio-0.94.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96e2c903f866ae96f9f5b9048fa32db0921464a2286f5b586c0f02699710025a
size 2355452

7
libcdio-0.94.tar.gz.sig Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlgMKrQACgkQGo3lAIJ17CHSTgCgjV97eveGqKzb03fgIILvRTM+
TL4AniC1eKTg/bIPIek0rrl4kC/hNiVk
=vwnY
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Sep 5 12:02:14 UTC 2017 - jengelh@inai.de
- Remove %package libcdio_{cdda,paranoia} since they are always
produced by a separate SRPM.
- Remove --with-pic (only useful for static libs) and compact
--enable-static=n.
- Adjust RPM groups. Diversify descriptions for the subpackages.
-------------------------------------------------------------------
Sun Sep 3 10:50:45 UTC 2017 - astieger@suse.com
- update to 0.94:
* CD-TEXT fixes and improvements
* eject fixes
* various bug fixes
-------------------------------------------------------------------
Tue Jun 16 11:10:43 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libcdio
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -17,10 +17,9 @@
%define cdioutils 0
%define build_paranoia 0
%define cdio_soname 16
Name: libcdio
Version: 0.93
Version: 0.94
Release: 0
Summary: CD-ROM Access Library
License: GPL-3.0+
@ -35,81 +34,56 @@ BuildRequires: gcc-c++
BuildRequires: help2man
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: pkgconfig(libcddb)
Requires(preun): %{install_info_prereq}
Requires(post): %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(preun): %{install_info_prereq}
%if 0%{?suse_version} > 1220
BuildRequires: makeinfo
%endif
%description
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
The libcdio package contains libraries for CD-ROM and CD image
access. Applications can use them as an abstraction to OS- and
device-dependent properties of a CD-ROM or of the specific details of
various CD image formats.
%package -n libcdio%{cdio_soname}
Summary: CD-ROM Access Library
Group: Productivity/Multimedia/Other
#
# Name for <= 10.2
Obsoletes: libcdio <= 0.78.2
Provides: libcdio = %{version}
Group: System/Libraries
%description -n libcdio%{cdio_soname}
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
The libcdio package contains libraries for CD-ROM and CD image
access. Applications can use them as an abstraction to OS- and
device-dependent properties of a CD-ROM or of the specific details of
various CD image formats.
%if %{build_paranoia} == 1
%package -n libcdio_cdda1
Summary: CD-ROM Access Library
Group: Productivity/Multimedia/Other
%description -n libcdio_cdda1
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
%package -n libcdio_paranoia1
Summary: CD-ROM Access Library
Group: Productivity/Multimedia/Other
%description -n libcdio_paranoia1
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
%endif
This subpackage contains the C API library from cdio.
%package -n libcdio++0
Summary: CD-ROM Access Library
Group: Productivity/Multimedia/Other
Summary: C++ API for the libcdio CD-ROM access library
Group: System/Libraries
%description -n libcdio++0
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
The libcdio package contains libraries for CD-ROM and CD image
access.
This subpackage contains the C++ API library for cdio.
%package -n libiso9660-10
Summary: CD-ROM Access Library
Group: Productivity/Multimedia/Other
Summary: Library for working with ISO 9660 filesystems
Group: System/Libraries
%description -n libiso9660-10
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
A library for working with ISO 9660 filesystems.
%package -n libudf0
Summary: CD-ROM Access Library
Group: Productivity/Multimedia/Other
Summary: Library for working with Universal Disk Format filesystems
Group: System/Libraries
%description -n libudf0
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
A library for working with UDF filesystems.
%package devel
Summary: CD-ROM access library
@ -119,17 +93,17 @@ Requires: libcdio%{cdio_soname} = %{version}
Requires: libcdio++0 = %{version}
Requires: libiso9660-10 = %{version}
Requires: libudf0 = %{version}
%if %{build_paranoia} == 1
Requires: libcdio_cdda1 = %{version}
Requires: libcdio_paranoia1 = %{version}
%endif
Requires(preun): %{install_info_prereq}
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
%description devel
This library encapsulates CD-ROM reading and control. Applications
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
The libcdio package contains libraries for CD-ROM and CD image
access. Applications can use them as an abstraction to OS- and
device-dependent properties of a CD-ROM or of the specific details of
various CD image formats.
This subpackage contains libraries and header files for developing
applications that want to make use of the cdio libraries.
%prep
%setup -q
@ -139,9 +113,7 @@ CD-ROM can use this library.
%build
%configure \
--disable-rpath \
--enable-static=n \
--enable-shared=yes \
--with-pic \
--disable-static \
--enable-rock \
--without-cd-drive \
--without-cd-info \
@ -153,7 +125,7 @@ CD-ROM can use this library.
#-lcdioutils
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
%if 1 == 0
mv %{buildroot}%{_mandir}/jp %{buildroot}%{_mandir}/ja
%endif
@ -162,21 +134,13 @@ rm -rf %{buildroot}%{_bindir} %{buildroot}%{_mandir}
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libcdio%{cdio_soname} -p /sbin/ldconfig
%post -n libcdio++0 -p /sbin/ldconfig
%post -n libiso9660-10 -p /sbin/ldconfig
%post -n libudf0 -p /sbin/ldconfig
%postun -n libcdio%{cdio_soname} -p /sbin/ldconfig
%postun -n libcdio++0 -p /sbin/ldconfig
%postun -n libiso9660-10 -p /sbin/ldconfig
%postun -n libudf0 -p /sbin/ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@ -184,24 +148,19 @@ find %{buildroot} -type f -name "*.la" -delete -print
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files -n libcdio%{cdio_soname}
%defattr (-, root, root)
%{_libdir}/libcdio.so.*
%files -n libcdio++0
%defattr (-, root, root)
%{_libdir}/libcdio++.so.*
%{_libdir}/libiso9660++.so.*
%files -n libiso9660-10
%defattr (-, root, root)
%{_libdir}/libiso9660.so.*
%files -n libudf0
%defattr (-, root, root)
%{_libdir}/libudf.so.*
%files devel
%defattr (-, root, root)
%{_infodir}/*.info*
%{_includedir}/cdio
%{_includedir}/cdio++
@ -210,22 +169,4 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/libudf*.so
%{_libdir}/pkgconfig/*.pc
%if %{build_paranoia} == 1
%post -n libcdio_cdda1 -p /sbin/ldconfig
%post -n libcdio_paranoia1 -p /sbin/ldconfig
%postun -n libcdio_cdda1 -p /sbin/ldconfig
%postun -n libcdio_paranoia1 -p /sbin/ldconfig
%files -n libcdio_cdda1
%defattr (-, root, root)
%{_libdir}/libcdio_cdda.so.*
%files -n libcdio_paranoia1
%defattr (-, root, root)
%{_libdir}/libcdio_paranoia.so.*
%endif
%changelog