Sisyphus repositório
Última atualização: 26 março 2023 | SRPMs: 18292 | Visitas: 27166017
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 

%def_disable static

Name: libcdio
Version: 0.74
Release: alt1

Summary: CD-ROM/CD-image access library
License: GPL
Group: System/Libraries


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

BuildPreReq: kernel-headers-std
BuildPreReq: help2man

%if_enabled static
BuildPreReq: glibc-devel-static

# Automatically added by buildreq on Thu Jul 22 2004

BuildRequires: gcc-c++ gcc-g77 glib2 libcddb-devel libcdio-devel libpopt-devel libstdc++-devel libvcd-devel pkgconfig

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 devel
Summary: %name development files
Group: Development/C
Requires: %name = %version-%release

%description devel
This package provides %name development files.

%package devel-static
Summary: Static version of %name
Group: Development/C
Requires: %name = %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

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

#export LDFLAGS=-lvcdinfo
%configure \
   %{subst_enable static}



# 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


%files 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