Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37796261
en ru br
Репозитории ALT
S:2.6.4-alt1
5.1: 2.1.1-alt1
4.1: 2.0.2-alt0.M41.1
www.altlinux.org/Changes

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

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

%def_enable shared
%def_enable static

%define Name Exempi
%define bname exempi
Name: lib%bname
Summary: Library for easy parsing of XMP metadata
Version: 2.1.1
Release: alt1
License: %bsd
Group: System/Libraries
URL: http://libopenraw.freedesktop.org/wiki/%Name
Source: http://libopenraw.freedesktop.org/download/%bname-%version.tar.gz
Packager: Led <led at altlinux.ru>

BuildRequires(pre): rpm-build-licenses
BuildRequires: boost-test-devel gcc-c++ libexpat-devel zlib-devel

%description
%Name provides a library for easy parsing of XMP metadata. It is a
port of Adobe XMP SDK to work on UNIX.


%package devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %name%{?_disable_shared:-devel-static} = %version-%release

%description devel
This package contains the libraries and header files needed for
developing with %name.


%if_enabled static
%package devel-static
Summary: Static library for developing programs that will use %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
This package contains the static library needed for developing with
%name.
%endif


%prep
%setup -n %bname-%version

%build
%define _optlevel 3
%autoreconf
%configure \
   %{subst_enable shared} \
   %{subst_enable static}

%make_build

%install
%make_install DESTDIR=%buildroot install

%if_enabled shared
%files
%doc AUTHORS ChangeLog NEWS README
%_libdir/*.so.*
%endif

%files devel
%{?_disable_shared:%doc AUTHORS ChangeLog NEWS README}
%_includedir/%bname-2.0/
%{?_enable_shared:%_libdir/*.so}
%_pkgconfigdir/*


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


%changelog

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

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