Name: fotox Version: 39 Release: 1%{?dist} Summary: Program for improving image files made with a digital camera Group: Applications/Multimedia License: GPLv2 URL: http://kornelix.squarespace.com/fotox/ Source0: http://kornelix.squarespace.com/storage/fotox/fotox.%{version}.tar.gz Source1: %{name}.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel BuildRequires: desktop-file-utils Requires: exiv2 %description Easy to use image editor with features like panoramas, high dynamic range (HDR) composites, change brightness distribution, intensify colors, reduce haze, resize, rotate (any angle), crop, red-eye removal, sharpen, reduce noise, thumbnail image browser and navigator. %prep %setup -q -n %{name} %build PREFIX=%{_prefix} ./build build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/icons install fotox $RPM_BUILD_ROOT%{_bindir} install icons/* $RPM_BUILD_ROOT%{_datadir}/%{name}/icons install *.xtext -m 0644 $RPM_BUILD_ROOT%{_datadir}/%{name} desktop-file-install --vendor="fedora" \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc changelog fotox-guide.pdf README %{_bindir}/fotox %{_datadir}/%{name} %{_datadir}/applications/fedora-fotox.desktop %changelog * Sun Apr 13 2008 Adel Gadllah 39-1 - Initial build