libcdio/libcdio.spec

Name: libcdio
Summary: CD-ROM input and control library
Version: 0.77
Release: 1
License: GPL
Group: Applications/Multimedia
URL: http://www.gnu.org/software/libcdio/
Description: This library provides an interface for CD-ROM access. It can be used by applications that need OS- and device-independent access to CD-ROM devices.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

### EL6 ships with libcdio-0.81-3.1.el6
# ExclusiveDist: el2 el3 el4 el5

Summary: CD-ROM input and control library
Name: libcdio
Version: 0.77
Release: 1%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://www.gnu.org/software/libcdio/

Source: http://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: ncurses-devel, pkgconfig, gcc-c++
Requires: /sbin/ldconfig
Requires: /sbin/install-info

%description
This library provides an interface for CD-ROM access. It can be used
by applications that need OS- and device-independent access to CD-ROM
devices.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure \
    --disable-cddb \
    --disable-dependency-tracking \
    --disable-rpath \
    --disable-vcd-info
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

### Clean up buildroot
%{__rm} -rf %{buildroot}%{_infodir}/dir

%clean
%{__rm} -rf %{buildroot}

%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :

%preun
if [ $1 -eq 0 ]; then
    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi


%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING NEWS README* THANKS TODO
%doc %{_mandir}/man1/*.1*
%doc %{_mandir}/jp/man1/*.1*
%{_bindir}/*
%{_libdir}/*.so.*
%{_infodir}/libcdio.info*

%files devel
%defattr(-, root, root, 0755)
%doc example/
%{_includedir}/cdio/
%{_includedir}/cdio++/
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%exclude %{_libdir}/*.la

%changelog
* Sun Sep 24 2006 Matthias Saou <http://freshrpms.net/> 0.77-1
- Update to 0.77.

* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.76-1.2
- Rebuild for Fedora Core 5.

* Sat Dec 10 2005 Dag Wieers <dag@wieers.com> - 0.76-1
- Initial package. (using DAR)