SHA256
1
0
forked from pool/libcdio

Accepting request 521127 from home:jengelh:branches:multimedia:libs

- Remove --with-pic (only useful for static libs) and compact
  --enable-static=n.
- Change description to reflect the package content.
- Remove %package libcdio_{cdda,paranoia} since they are always
  produced by a separate SRPM.

OBS-URL: https://build.opensuse.org/request/show/521127
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcdio?expand=0&rev=47
This commit is contained in:
Tomáš Chvátal 2017-09-05 20:09:37 +00:00 committed by Git OBS Bridge
parent 5cc1010120
commit 52330dabe1
4 changed files with 50 additions and 73 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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 Sun Sep 3 10:50:45 UTC 2017 - astieger@suse.com

View File

@ -20,7 +20,7 @@
Name: cdio-utils Name: cdio-utils
Version: 0.94 Version: 0.94
Release: 0 Release: 0
Summary: CD-ROM Access Library Summary: Utility programs making use of libcdio, a CD-ROM access library
License: GPL-3.0+ License: GPL-3.0+
Group: Productivity/Multimedia/Other Group: Productivity/Multimedia/Other
Url: https://savannah.gnu.org/projects/libcdio Url: https://savannah.gnu.org/projects/libcdio
@ -43,9 +43,8 @@ Provides: libcdio-utils = %{version}
Obsoletes: libcdio-utils < %{version} Obsoletes: libcdio-utils < %{version}
%description %description
This library encapsulates CD-ROM reading and control. Applications This package contains a number of utility programs that make use of
wanting to be oblivious to the OS and device-dependent properties of a libcdio.
CD-ROM can use this library.
%prep %prep
%setup -q -n libcdio-%{version} %setup -q -n libcdio-%{version}
@ -60,9 +59,7 @@ VCDINFO_CFLAGS=-I%{_includedir}/libvcd VCDINFO_LIBS="-L%{_libdir} -lvcdinfo -L%{
-L%{buildir}/lib/driver/.libs -lcdio" \ -L%{buildir}/lib/driver/.libs -lcdio" \
%configure \ %configure \
--disable-rpath \ --disable-rpath \
--enable-static=n \ --disable-static \
--enable-shared=yes \
--with-pic \
--disable-cxx \ --disable-cxx \
--enable-vcd-info=yes --enable-vcd-info=yes

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
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 Sun Sep 3 10:50:45 UTC 2017 - astieger@suse.com

View File

@ -17,7 +17,6 @@
%define cdioutils 0 %define cdioutils 0
%define build_paranoia 0
%define cdio_soname 16 %define cdio_soname 16
Name: libcdio Name: libcdio
Version: 0.94 Version: 0.94
@ -45,66 +44,46 @@ BuildRequires: makeinfo
%endif %endif
%description %description
This library encapsulates CD-ROM reading and control. Applications The libcdio package contains libraries for CD-ROM and CD image
wanting to be oblivious to the OS and device-dependent properties of a access. Applications can use them as an abstraction to OS- and
CD-ROM can use this library. device-dependent properties of a CD-ROM or of the specific details of
various CD image formats.
%package -n libcdio%{cdio_soname} %package -n libcdio%{cdio_soname}
Summary: CD-ROM Access Library Summary: CD-ROM Access Library
Group: Productivity/Multimedia/Other Group: System/Libraries
%description -n libcdio%{cdio_soname} %description -n libcdio%{cdio_soname}
This library encapsulates CD-ROM reading and control. Applications The libcdio package contains libraries for CD-ROM and CD image
wanting to be oblivious to the OS and device-dependent properties of a access. Applications can use them as an abstraction to OS- and
CD-ROM can use this library. device-dependent properties of a CD-ROM or of the specific details of
various CD image formats.
%if %{build_paranoia} == 1 This subpackage contains the C API library from cdio.
%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
%package -n libcdio++0 %package -n libcdio++0
Summary: CD-ROM Access Library Summary: C++ API for the libcdio CD-ROM access library
Group: Productivity/Multimedia/Other Group: System/Libraries
%description -n libcdio++0 %description -n libcdio++0
This library encapsulates CD-ROM reading and control. Applications The libcdio package contains libraries for CD-ROM and CD image
wanting to be oblivious to the OS and device-dependent properties of a access.
CD-ROM can use this library.
This subpackage contains the C++ API library for cdio.
%package -n libiso9660-10 %package -n libiso9660-10
Summary: CD-ROM Access Library Summary: Library for working with ISO 9660 filesystems
Group: Productivity/Multimedia/Other Group: System/Libraries
%description -n libiso9660-10 %description -n libiso9660-10
This library encapsulates CD-ROM reading and control. Applications A library for working with ISO 9660 filesystems.
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
%package -n libudf0 %package -n libudf0
Summary: CD-ROM Access Library Summary: Library for working with Universal Disk Format filesystems
Group: Productivity/Multimedia/Other Group: System/Libraries
%description -n libudf0 %description -n libudf0
This library encapsulates CD-ROM reading and control. Applications A library for working with UDF filesystems.
wanting to be oblivious to the OS and device-dependent properties of a
CD-ROM can use this library.
%package devel %package devel
Summary: CD-ROM access library Summary: CD-ROM access library
@ -116,15 +95,15 @@ Requires: libiso9660-10 = %{version}
Requires: libudf0 = %{version} Requires: libudf0 = %{version}
Requires(post): %{install_info_prereq} Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq} Requires(preun): %{install_info_prereq}
%if %{build_paranoia} == 1
Requires: libcdio_cdda1 = %{version}
Requires: libcdio_paranoia1 = %{version}
%endif
%description devel %description devel
This library encapsulates CD-ROM reading and control. Applications The libcdio package contains libraries for CD-ROM and CD image
wanting to be oblivious to the OS and device-dependent properties of a access. Applications can use them as an abstraction to OS- and
CD-ROM can use this library. 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 %prep
%setup -q %setup -q
@ -134,9 +113,7 @@ CD-ROM can use this library.
%build %build
%configure \ %configure \
--disable-rpath \ --disable-rpath \
--enable-static=n \ --disable-static \
--enable-shared=yes \
--with-pic \
--enable-rock \ --enable-rock \
--without-cd-drive \ --without-cd-drive \
--without-cd-info \ --without-cd-info \
@ -192,17 +169,4 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/libudf*.so %{_libdir}/libudf*.so
%{_libdir}/pkgconfig/*.pc %{_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
%{_libdir}/libcdio_cdda.so.*
%files -n libcdio_paranoia1
%{_libdir}/libcdio_paranoia.so.*
%endif
%changelog %changelog