ALT Linux repos
Group :: System/Libraries
RPM: libcdaudio
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable static
Name: libcdaudio
Version: 0.99.12p2
Release: alt1
Summary: A library of functions for controlling audio CD-ROM players
License: GPL
Group: System/Libraries
Url: http://sourceforge.net/projects/libcdaudio/
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source: http://downloads.sourceforge.net/libcdaudio/%name-%version.tar.gz
BuildRequires: gcc-c++ libstdc++-devel glibc-kernheaders
%description
libcdaudio is a library designed to provide functions to control
operation of a CD-ROM when playing audio CDs. It also contains
functions for CDDB and CD Index lookup.
%package devel
Summary: Header files and libraries for libcdaudio development
Group: Development/C
Requires: %name = %version-%release
%description devel
The libcdaudio-devel package provides the header files and libraries
needed for libcdaudio development.
%package devel-static
Summary: libcdaudio static library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
The libcdaudio-static package provides static library needed for
libcdaudio development.
%prep
%setup -q
%build
%configure \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%files devel
%_bindir/*-config
%_includedir/*
%_libdir/*.so
%_datadir/aclocal/*
%_pkgconfigdir/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here
Name: libcdaudio
Version: 0.99.12p2
Release: alt1
Summary: A library of functions for controlling audio CD-ROM players
License: GPL
Group: System/Libraries
Url: http://sourceforge.net/projects/libcdaudio/
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source: http://downloads.sourceforge.net/libcdaudio/%name-%version.tar.gz
BuildRequires: gcc-c++ libstdc++-devel glibc-kernheaders
%description
libcdaudio is a library designed to provide functions to control
operation of a CD-ROM when playing audio CDs. It also contains
functions for CDDB and CD Index lookup.
%package devel
Summary: Header files and libraries for libcdaudio development
Group: Development/C
Requires: %name = %version-%release
%description devel
The libcdaudio-devel package provides the header files and libraries
needed for libcdaudio development.
%package devel-static
Summary: libcdaudio static library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
The libcdaudio-static package provides static library needed for
libcdaudio development.
%prep
%setup -q
%build
%configure \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%files devel
%_bindir/*-config
%_includedir/*
%_libdir/*.so
%_datadir/aclocal/*
%_pkgconfigdir/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here