Группа :: Графика
Пакет: pfstools
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define lib_name libpfs
%def_disable static
Name: pfstools
Version: 1.8.1
Release: alt1
Packager: Victor Forsyuk <force at altlinux.org>
Summary: High Dynamic Range (HDR) Images and Video manipulation tools
License: GPLv2+
Group: Graphics
Url: http://pfstools.sourceforge.net/
Source: http://downloads.sourceforge.net/pfstools/pfstools-%version.tar.gz
Patch1: pfstools-1.7.0-gcc44.patch
# Automatically added by buildreq on Tue Jun 23 2009
BuildRequires: gcc-c++ libGL-devel libImageMagick-devel libfreeglut-devel libnetpbm-devel libqt3-devel libtiff-devel openexr-devel tetex-latex
Requires: %lib_name = %version-%release
# TODO: Move pfsglview and pfsview to own packages to prevent users from
# having to install OpenGL/GLUT and Qt!
%description
pfstools package is a set of command line (and one GUI) programs for reading,
writing, manipulating and viewing high-dynamic range (HDR) images and video
frames. All programs in the package exchange data using a simple generic file
format (pfs) for HDR data. The concept of the pfstools is similar to netpbm
package for low-dynamic range images.
%package -n %lib_name
Summary: Library for %name
Group: System/Libraries
License: LGPLv2.1+
%description -n %lib_name
This package contain the library needed to run programs linked with %lib_name.
%package -n %lib_name-devel
Summary: Headers for developing programs that will use %lib_name
Group: Development/C++
License: LGPLv2.1+
Requires: %lib_name = %version-%release
%description -n %lib_name-devel
This package contains the headers that programmers will need to develop
application which will use %lib_name.
%prep
%setup
%patch1 -p1
%build
%configure %{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%_bindir/*
%_datadir/pfstools
%_man1dir/*
%files -n %lib_name
%_libdir/*.so.*
%files -n %lib_name-devel
%_includedir/pfs-*
%_libdir/pkgconfig/*.pc
%_libdir/*.so
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable static
Name: pfstools
Version: 1.8.1
Release: alt1
Packager: Victor Forsyuk <force at altlinux.org>
Summary: High Dynamic Range (HDR) Images and Video manipulation tools
License: GPLv2+
Group: Graphics
Url: http://pfstools.sourceforge.net/
Source: http://downloads.sourceforge.net/pfstools/pfstools-%version.tar.gz
Patch1: pfstools-1.7.0-gcc44.patch
# Automatically added by buildreq on Tue Jun 23 2009
BuildRequires: gcc-c++ libGL-devel libImageMagick-devel libfreeglut-devel libnetpbm-devel libqt3-devel libtiff-devel openexr-devel tetex-latex
Requires: %lib_name = %version-%release
# TODO: Move pfsglview and pfsview to own packages to prevent users from
# having to install OpenGL/GLUT and Qt!
%description
pfstools package is a set of command line (and one GUI) programs for reading,
writing, manipulating and viewing high-dynamic range (HDR) images and video
frames. All programs in the package exchange data using a simple generic file
format (pfs) for HDR data. The concept of the pfstools is similar to netpbm
package for low-dynamic range images.
%package -n %lib_name
Summary: Library for %name
Group: System/Libraries
License: LGPLv2.1+
%description -n %lib_name
This package contain the library needed to run programs linked with %lib_name.
%package -n %lib_name-devel
Summary: Headers for developing programs that will use %lib_name
Group: Development/C++
License: LGPLv2.1+
Requires: %lib_name = %version-%release
%description -n %lib_name-devel
This package contains the headers that programmers will need to develop
application which will use %lib_name.
%prep
%setup
%patch1 -p1
%build
%configure %{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%_bindir/*
%_datadir/pfstools
%_man1dir/*
%files -n %lib_name
%_libdir/*.so.*
%files -n %lib_name-devel
%_includedir/pfs-*
%_libdir/pkgconfig/*.pc
%_libdir/*.so
%changelog
…
Полный changelog можно просмотреть здесь