Sisyphus
: 28 2020 | : 17560 | : 18627609
en ru br
ALT
S:1.3.3-alt1
5.1: 1.2.1-alt5
4.1: 1.2.1-alt2
4.0: 1.1.4-alt2
3.0: 1.1.2-alt2
www.altlinux.org/Changes

Upstream:1.2.1

::
: flac

             Sources      Gear   Bugs and FR  Repocop 

%define flacdocs %_docdir/%name-%version

Name: flac
Version: 1.1.2
Release: alt2

Summary: Free Lossless Audio Codec
License: GPL
Group: Sound
Url: http://flac.sourceforge.net/
Packager: Andrey Astafiev <andrei at altlinux.ru>

PreReq: lib%name = %version-%release
PreReq: libogg%name = %version-%release

Source: %name-%version.tar.bz2
Patch1: %name-1.1.2-alt-xmms_plugin.patch

%def_disable static
%{?_enable_static:BuildPreReq: glibc-devel-static}

# Automatically added by buildreq on Wed Feb 23 2005

BuildRequires: docbook-utils doxygen gcc-c++ glib-devel gtk+-devel hostinfo libogg-devel libstdc++-devel libxmms-devel nasm

%description
FLAC (%url) is an Open Source lossless audio codec.

%description -l ru_RU.CP1251
FLAC (%url) - ,
.

%package -n lib%name
Summary: FLAC shared library
Group: System/Libraries
License: BSD-like

%description -n lib%name
The lib%name package contains a shared library of
functions for manipulating FLAC format audio files.

%description -n lib%name -l ru_RU.CP1251

FLAC.

%package -n lib%name-devel
Summary: Development files for FLAC
Group: Development/C
License: BSD-like
PreReq: lib%name = %version-%release

%description -n lib%name-devel
This package contains development files required for packaging
FLAC-based software.

%description -n lib%name-devel -l ru_RU.CP1251
,
FLAC .

%package -n lib%name-devel-static
Summary: Static libraries for FLAC
Group: Development/C
License: BSD-like
PreReq: lib%name-devel = %version-%release

%description -n lib%name-devel-static
This package contains development libraries required for packaging
statically linked FLAC-based software.

%description -n lib%name-devel-static -l ru_RU.CP1251
,
FLAC .

%package -n lib%name++
Summary: Object shared library FLAC++
Group: System/Libraries
License: BSD-like

%description -n lib%name++
The lib%name++ package contains a object wrapper library
of functions for manipulating FLAC format audio files.

%description -n lib%name++ -l ru_RU.CP1251

FLAC.

%package -n lib%name++-devel
Summary: Development files for FLAC++ library
Group: Development/C
License: BSD-like
PreReq: lib%name++ = %version-%release
Requires: libstdc++-devel

%description -n lib%name++-devel
This package contains development files required for packaging
FLAC++-based software.

%description -n lib%name++-devel -l ru_RU.CP1251
,
FLAC++ .

%package -n lib%name++-devel-static
Summary: Static libraries for FLAC++ library
Group: Development/C
License: BSD-like
PreReq: lib%name++-devel = %version-%release

%description -n lib%name++-devel-static
This package contains development libraries required for packaging
statically linked FLAC++-based software.

%description -n lib%name++-devel-static -l ru_RU.CP1251
,
FLAC++ .

%package -n libogg%name
Summary: OggFLAC shared library
Group: System/Libraries
License: BSD-like

%description -n libogg%name
The libOgg%name package contains a shared library of functions for
manipulating FLAC format audio files wrapped in Ogg container.

%description -n libogg%name -l ru_RU.CP1251

FLAC, Ogg.

%package -n libogg%name-devel
Summary: Development files for OggFLAC
Group: Development/C
License: BSD-like
PreReq: libogg%name = %version-%release

%description -n libogg%name-devel
This package contains development files required for packaging
OggFLAC-based software.

%description -n libogg%name-devel -l ru_RU.CP1251
,
OggFLAC .

%package -n libogg%name-devel-static
Summary: Static libraries for OggFLAC
Group: Development/C
License: BSD-like
PreReq: libogg%name-devel = %version-%release

%description -n libogg%name-devel-static
This package contains development libraries required for packaging
statically linked OggFLAC-based software.

%description -n libogg%name-devel-static -l ru_RU.CP1251
,
OggFLAC .

%package -n libogg%name++
Summary: Object shared library OggFLAC++
Group: System/Libraries
License: BSD-like

%description -n libogg%name++
The libOgg%name++ package contains a object wrapper library of functions
for manipulating FLAC format audio files wrapped in Ogg container.

%description -n libogg%name++ -l ru_RU.CP1251

FLAC, Ogg.

%package -n libogg%name++-devel
Summary: Development files for OggFLAC++ library
Group: Development/C
License: BSD-like
PreReq: libogg%name++ = %version-%release

%description -n libogg%name++-devel
This package contains development files required for packaging
OggFLAC++-based software.

%description -n libogg%name++-devel -l ru_RU.CP1251
,
OggFLAC++ .

%package -n libogg%name++-devel-static
Summary: Static libraries for OggFLAC++ library
Group: Development/C
License: BSD-like
PreReq: libogg%name++-devel = %version-%release

%description -n libogg%name++-devel-static
This package contains development libraries required for packaging
statically linked OggFLAC++-based software.

%description -n libogg%name++-devel-static -l ru_RU.CP1251
,
OggFLAC++ .

%package -n xmms-in-%name
Summary: Plugin for XMMS
Group: Sound
License: GPL
Provides: xmms-%name
Obsoletes: xmms-%name
Requires: lib%name = %version-%release

%description -n xmms-in-%name
Xmms plugin for playing FLAC files.

%description -n xmms-in-%name -l ru_RU.CP1251
FLAC XMMS.

%prep
%setup -q
%patch1 -p1

%build
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure --enable-exhaustive-tests %{subst_enable static}
%make

%install
%makeinstall xmmsinputplugindir=%buildroot%xmms_inputdir
%__install -m644 COPYING.Xiph AUTHORS README %buildroot%flacdocs

%post -n lib%name -p /sbin/ldconfig
%postun -n lib%name -p /sbin/ldconfig
%post -n lib%name++ -p /sbin/ldconfig
%postun -n lib%name++ -p /sbin/ldconfig
%post -n libogg%name -p /sbin/ldconfig
%postun -n libogg%name -p /sbin/ldconfig
%post -n libogg%name++ -p /sbin/ldconfig
%postun -n libogg%name++ -p /sbin/ldconfig

%files
%_bindir/*
%_mandir/man?/*
%flacdocs/html/*.html
%flacdocs/html/*.ico
%flacdocs/html/ru
%flacdocs/html/images

%files -n lib%name
%_libdir/libFLAC.so.*
%dir %flacdocs
%dir %flacdocs/html
%flacdocs/AUTHORS
%flacdocs/README
%flacdocs/COPYING.Xiph

%files -n lib%name-devel
%_datadir/aclocal/libFLAC.m4
%_libdir/libFLAC.so
%_includedir/FLAC
%flacdocs/html/api
%flacdocs/FLAC.tag

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

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

%files -n lib%name++-devel
%_datadir/aclocal/libFLAC++.m4
%_libdir/libFLAC++.so
%_includedir/FLAC++

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

%files -n libogg%name
%_libdir/libOggFLAC.so.*

%files -n libogg%name-devel
%_datadir/aclocal/libOggFLAC.m4
%_libdir/libOggFLAC.so
%_includedir/OggFLAC

%if_enabled static
%files -n libogg%name-devel-static
%_libdir/libOggFLAC.a
%endif

%files -n libogg%name++
%_libdir/libOggFLAC++.so.*

%files -n libogg%name++-devel
%_datadir/aclocal/libOggFLAC++.m4
%_libdir/libOggFLAC++.so
%_includedir/OggFLAC++

%if_enabled static
%files -n libogg%name++-devel-static
%_libdir/libOggFLAC++.a
%endif

%files -n xmms-in-%name
%_libdir/xmms/Input/*

%changelog

changelog

 
: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
: Michael Shigorin