Sisyphus repositório
Última atualização: 23 março 2023 | SRPMs: 18288 | Visitas: 27143601
en ru br
ALT Linux repositórios
5.0: 0.79-alt2
4.1: 0.79-alt1
4.0: 0.78.2-alt1
3.0: 0.74-alt1

Group :: Sistema/Bibliotecas
RPM: libcdio

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libcdio
Version: 0.78.2
Release: alt1

%def_disable static

Packager: Pavlov Konstantin <thresh at>
Summary: CD-ROM/CD-image access library
License: GPL
Group: System/Libraries


Requires(post): %install_info
Requires(preun): %uninstall_info

# Automatically added by buildreq on Mon May 29 2006

BuildRequires: gcc-c++ libncurses-devel pkg-config help2man

BuildRequires: libcddb-devel >= 1.3.0-alt1

# Only used for testing, which we don't run now

#BuildRequires: cdparanoia

BuildRequires: linux-libc-headers

This library is to encapsulate CD-ROM reading and control. Applications
wishing to be oblivious of the OS- and device-dependant properties of a
CD-ROM can use this library.

%package -n libcdio++
Summary: C++ wrappers to the CD-ROM/CD-image access library
Group: System/Libraries
Requires: %name = %version-%release

%description -n libcdio++
These C++ libraries provide object-oriented wrappers to the libcdio APIs.

%package devel
Summary: %name development files
Group: Development/C
Requires: %name = %version-%release

%description devel
This package provides %name development files.

%package -n libcdio++-devel
Summary: Development files for libcdio C++ wrappers
Group: Development/C++
Requires: libcdio++ = %version-%release
Requires: %name-devel = %version-%release

%description -n libcdio++-devel
This package provides development files for C++ wrappers to libcdio APIs.

%package devel-static
Summary: Static version of %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
This package provides library that may be used to develop applications
statically linked against %name.

%package utils
Summary: A simple utilities which read and displayings CD info.
Group: File tools
Requires: %name = %version-%release

%description utils
This package provides simple utilities which read and displayings CD

%setup -q

# hack to fix version-script generation

#%__sed -i 's|\(\$(patsubst %%\.lo,%%\.o,\)\(\$(lib.*_la_OBJECTS))\)|\1$(patsubst %%,.libs/%%,\2)|' lib/Makefile*

bzip2 -9k ChangeLog


# Required cause we make some changes in


export OLD_CDPARANOIA=%_bindir/cdparanoia

%configure \
   --disable-vcd-info \
   %{subst_enable static}


%make_install DESTDIR=%buildroot install

# build actual man pages for cd-read, cd-info

export LD_LIBRARY_PATH=%buildroot%_libdir

help2man -N --name="is a command-line tool to control CD" \
--manual="CDIO Library" \
src/.libs/cd-read > %buildroot%_man1dir/cd-read.1

help2man -N --name="is a command-line tool which displays CD info" \
--manual="CDIO Library" \
src/.libs/cd-info > %buildroot%_man1dir/cd-info.1

# remove non-packaged files

%__rm -f %buildroot%_infodir/dir

%find_lang --with-man --output=manutils.list cd-info cd-read cd-paranoia

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%post devel
%postun devel

%exclude %_libdir/**

%files -n libcdio++

%files devel
%exclude %_libdir/*

%files -n libcdio++-devel

%if_enabled static
%files devel-static

%files utils -f manutils.list


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009