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

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

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

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

Name: liblensfun
Version: 0.3.95
Release: alt1
Summary: A library to rectifying the defects introduced by your photographic equipment
Group: System/Libraries
License: LGPLv3 and CC-BY-SA-3.0
Url: https://lensfun.github.io

# https://github.com/lensfun/lensfun.git

Source: %name-%version.tar

Patch1: lensfun-0.3.2-alt-pkexec.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: cmake gcc-c++ glib2-devel libpng-devel
BuildRequires: doxygen
BuildRequires: python3-devel python3-module-setuptools python3-module-docutils

%description
A library to rectifying the defects introduced by your photographic equipment.

%package devel
Summary: Development tools for programs which will use the lensfun library
Group: Development/C++
Requires: liblensfun = %EVR

%description devel
Development tools for programs which will use the lensfun library.

%package tools
Summary: Tools for managing lensfun data
Group: Graphics
License: LGPLv3
BuildArch: noarch
Requires: %name = %EVR

%description tools
This package contains tools to fetch lens database, updates and manage lens
adapters in lensfun.

%prep
%setup
%patch1 -p2

%build
%add_optflags -D_FILE_OFFSET_BITS=64

%cmake \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
%ifnarch %ix86 x86_64
-DBUILD_FOR_SSE:BOOL=OFF \
-DBUILD_FOR_SSE2:BOOL=OFF \
%endif
-DBUILD_TESTS:BOOL=OFF \
-DBUILD_DOC:BOOL=ON \
%nil

%cmake_build
%cmake_build -t man

%install
%cmake_install
pushd %_cmake__builddir/apps/
%python3_install
popd

%files
%_libdir/%name.so.*
%_datadir/lensfun/
%doc ChangeLog README.*

%files devel
%_includedir/lensfun/
%_libdir/%name.so
%_pkgconfigdir/lensfun.pc
%doc %_datadir/doc/lensfun*/

%files tools
%_bindir/g-lensfun-update-data
%_bindir/lensfun-add-adapter
%_bindir/lensfun-update-data
%_bindir/lensfun-convert-lcp
%python3_sitelibdir_noarch/*
%_man1dir/*

%changelog

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

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