Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37422467
en ru br
Репозитории ALT
S:1.11.1-alt2
5.1: 1.6.0-alt2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libvigra

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

%def_disable static

Name: libvigra
Version: 1.6.0
Release: alt2

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Generic Programming for Computer Vision
License: MIT
Group: System/Libraries

Url: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra
Source: %url/vigra%version.tar.gz

# Automatically added by buildreq on Wed Jun 13 2007

BuildRequires: gcc-c++ libfftw3-devel libjpeg-devel libpng-devel libtiff-devel

Provides: vigra
Obsoletes: vigra

%description
VIGRA stands for "Vision with Generic Algorithms". It's a novel
computer vision library that puts its main emphasize on customizable
algorithms and data structures.

%package devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %name = %version-%release
Provides: vigra-devel
Obsoletes: vigra-devel

%description devel
This package contains the headers that programmers will need to develop
applications which will use %name.

%package devel-doc
Summary: Development documentation for vigra library
Group: Development/C
Requires: %name-devel = %version-%release
Provides: vigra-devel-doc
Obsoletes: vigra-devel-doc
BuildArch: noarch

%description devel-doc
Development documentation for vigra library.

%prep
%setup -n vigra%version

%__subst 's/^CXXFLAGS=.*$//; s/^CFLAGS=.*$//' configure

%build
export LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
export CXXFLAGS="%optflags"
export CFLAGS="%optflags"
./configure --prefix=%_prefix --libdir=%_libdir %{subst_enable static} \
--with-fftw --with-jpeg --with-png --with-tiff
%make_build

%install
%make_install prefix=%buildroot/usr libdir=%buildroot%_libdir docdir=`pwd`/docs install

%files
%_libdir/*.so.*

%files devel
%_bindir/*
%_includedir/vigra
%_libdir/*.so

%files devel-doc
%doc docs/[!L]*

%changelog

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

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