Группа :: Система/Библиотеки
Пакет: libspandsp6
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_without v17
# soname changed, conflicts don't needed
%define oldconflict() \
Conflicts: libspandsp-%1 < %version-%release \
Conflicts: libspandsp-%1 > %version-%release \
Conflicts: libspandsp3-%1 \
Conflicts: libspandsp4-%1 \
Conflicts: libspandsp5-%1 \
%nil
Name: libspandsp6
Summary: DSP library for VoIP, FAX and T.38 support
Version: 0.0.6
Release: alt0.12.4
License: LGPL
Group: System/Libraries
Url: http://soft-switch.org/downloads/spandsp/
Packager: Denis Smirnov <mithraen at altlinux.ru>
Source: spandsp.tar
BuildRequires: doxygen libaudiofile-devel libtiff-devel libxml2-devel xsltproc
%description
%summary
%package devel
Summary: %summary
Group: Development/C
Requires: %name = %version-%release
Provides: libspandsp-devel = %version-%release
%oldconflict devel
%description devel
%summary
%package docs
Summary: %summary
Group: Development/Documentation
BuildArch: noarch
%oldconflict docs
%description docs
%summary
%prep
%setup -c
%build
# if this enabled, it _must_ be enabled in all binaries built with this lib
%if_with v17
export CCFLAGS=-DENABLE_V17
export CPPFLAGS=-DENABLE_V17
%endif
%autoreconf
%configure --enable-doc --enable-shared --disable-static
make
%install
%makeinstall_std
mkdir -p %buildroot%_docdir/%name/api
cp -a doc/api/html/* %buildroot%_docdir/%name/api/
cp -a doc/t38_manual %buildroot%_docdir/%name/t38_manual
%files
%_libdir/libspandsp.so.2
%_libdir/libspandsp.so.2.0.0
%files docs
%_docdir/%name
%files devel
%_libdir/libspandsp.so
%_includedir/spandsp
%_includedir/spandsp.h
%_pkgconfigdir/spandsp.pc
%changelog
…
Полный changelog можно просмотреть здесь
# soname changed, conflicts don't needed
%define oldconflict() \
Conflicts: libspandsp-%1 < %version-%release \
Conflicts: libspandsp-%1 > %version-%release \
Conflicts: libspandsp3-%1 \
Conflicts: libspandsp4-%1 \
Conflicts: libspandsp5-%1 \
%nil
Name: libspandsp6
Summary: DSP library for VoIP, FAX and T.38 support
Version: 0.0.6
Release: alt0.12.4
License: LGPL
Group: System/Libraries
Url: http://soft-switch.org/downloads/spandsp/
Packager: Denis Smirnov <mithraen at altlinux.ru>
Source: spandsp.tar
BuildRequires: doxygen libaudiofile-devel libtiff-devel libxml2-devel xsltproc
%description
%summary
%package devel
Summary: %summary
Group: Development/C
Requires: %name = %version-%release
Provides: libspandsp-devel = %version-%release
%oldconflict devel
%description devel
%summary
%package docs
Summary: %summary
Group: Development/Documentation
BuildArch: noarch
%oldconflict docs
%description docs
%summary
%prep
%setup -c
%build
# if this enabled, it _must_ be enabled in all binaries built with this lib
%if_with v17
export CCFLAGS=-DENABLE_V17
export CPPFLAGS=-DENABLE_V17
%endif
%autoreconf
%configure --enable-doc --enable-shared --disable-static
make
%install
%makeinstall_std
mkdir -p %buildroot%_docdir/%name/api
cp -a doc/api/html/* %buildroot%_docdir/%name/api/
cp -a doc/t38_manual %buildroot%_docdir/%name/t38_manual
%files
%_libdir/libspandsp.so.2
%_libdir/libspandsp.so.2.0.0
%files docs
%_docdir/%name
%files devel
%_libdir/libspandsp.so
%_includedir/spandsp
%_includedir/spandsp.h
%_pkgconfigdir/spandsp.pc
%changelog
…
Полный changelog можно просмотреть здесь