Группа :: Система/Библиотеки
Пакет: libexempi
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%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.0.2
Release: alt0.M41.1
License: %bsd
Group: System/Libraries
URL: http://libopenraw.freedesktop.org/wiki/%Name
Source: http://libopenraw.freedesktop.org/download/%bname-%version.tar
Patch: %bname-2.0.2-alt.patch
# Automatically added by buildreq on Sat Feb 02 2008
BuildRequires: boost-test-devel gcc-c++ libexpat-devel
BuildRequires: rpm-build-licenses
BuildRequires: rpm-build-compat >= 0.95
%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
%patch -p1
%build
%define _optlevel 3
%configure \
%{subst_enable shared} \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%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 можно просмотреть здесь
#
%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.0.2
Release: alt0.M41.1
License: %bsd
Group: System/Libraries
URL: http://libopenraw.freedesktop.org/wiki/%Name
Source: http://libopenraw.freedesktop.org/download/%bname-%version.tar
Patch: %bname-2.0.2-alt.patch
# Automatically added by buildreq on Sat Feb 02 2008
BuildRequires: boost-test-devel gcc-c++ libexpat-devel
BuildRequires: rpm-build-licenses
BuildRequires: rpm-build-compat >= 0.95
%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
%patch -p1
%build
%define _optlevel 3
%configure \
%{subst_enable shared} \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%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 можно просмотреть здесь