Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37048413
en ru br
Репозитории ALT
S:10.2-alt6
5.1: 10.2-alt1
4.1: IIIa9.8-alt4
4.0: IIIa9.8-alt4
3.0: IIIa9.8-alt3
www.altlinux.org/Changes

Группа :: Звук
Пакет: cdparanoia

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: cdparanoia
Version: IIIa9.8
Release: alt4

Summary: Utility to copy digital audio cd's.
License: GPL
Group: Sound
Url: http://www.xiph.org/paranoia

%define fullname %name-III-alpha9.8
Source: %url/download/%fullname.tar.bz2

# FC

Patch0: cdparanoia-III-alpha9.8.sgio.patch
Patch1: cdparanoia-III-alpha9.8.nostrip.patch
Patch2: cdparanoia-III-alpha9.8.labels.patch
Patch3: cdparanoia-III-alpha9.8.O_EXCL.patch
Patch4: cdparanoia-III-alpha9.8.cflags.patch
Patch5: cdparanoia-III-alpha9.8.verbose.patch
Patch6: cdparanoia-III-alpha9.8.louder.patch
Patch7: cdparanoia-III-alpha9.8.verbosity3.patch
Patch8: cdparanoia-III-alpha9.8.env.patch
Patch9: cdparanoia-III-alpha9.8.smalldma.patch
Patch10: cdparanoia-III-alpha9.8.lm.patch

Patch100: cdparanoia-III-alpha9.8-alt-gcc41.patch

Requires: lib%name = %version-%release

%def_disable static

%package -n lib%name
Summary: Shared libraries for %name
Group: System/Libraries

%package -n lib%name-devel
Summary: Development libraries and header files for %name
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel

%package -n lib%name-devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: lib%name-devel = %version-%release

%description
This CDDA reader distribution ('%name') reads audio from the CDROM
directly as data, with no analog step between, and writes the data to a file
or pipe as .wav, .aifc or as raw 16 bit linear PCM.

%name is a complete rewrite of Heiko Eissfeldt's 'cdda2wav' program,
and generally is much better at succeeding to read difficult discs with
cheap drives.

%description -n lib%name
%name is a complete rewrite of Heiko Eissfeldt's 'cdda2wav' program,
and generally is much better at succeeding to read difficult discs with
cheap drives.

This package contains shared libraries for %name.

%description -n lib%name-devel
%name is a complete rewrite of Heiko Eissfeldt's 'cdda2wav' program,
and generally is much better at succeeding to read difficult discs with
cheap drives.

This package contains development libraries and header files for %name.

%description -n lib%name-devel-static
%name is a complete rewrite of Heiko Eissfeldt's 'cdda2wav' program,
and generally is much better at succeeding to read difficult discs with
cheap drives.

This package contains static libraries for %name.


%prep
%setup -q -n %fullname
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1

%patch100 -p1


%build
%{?_disable_static:export lt_cv_prog_cc_static_works=no}
%{?_enable_static:export lt_cv_prog_cc_static_works=yes}
%define _optlevel 9
%add_optflags %optflags_notraceback %optflags_fastmath -fsigned-char -finline-functions -Dsize16='short' -Dsize32='int'
%configure %{subst_enable static} --libdir=%_libdir/%name
%make OPT="$RPM_OPT_FLAGS"

%install
mkdir -p $RPM_BUILD_ROOT{%_bindir,%_libdir,%_includedir,%_man1dir}
%makeinstall \
BINDIR=$RPM_BUILD_ROOT%_bindir \
LIBDIR=$RPM_BUILD_ROOT%_libdir \
MANDIR=$RPM_BUILD_ROOT%_mandir \
INCLUDEDIR=$RPM_BUILD_ROOT%_includedir

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

%files
%_bindir/*
%_mandir/man?/*
%doc README FAQ.txt

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin