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

Группа :: Графика
Пакет: fotoxx

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

Name: fotoxx
Version: 8.6
Release: alt1

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Software for digital image editing, HDR composites, and panoramas
License: GPLv3+
Group: Graphics

Url: http://kornelix.squarespace.com/fotoxx
Source: http://kornelix.squarespace.com/storage/downloads/fotoxx-%version.tar.gz
Source1: fotoxx.desktop
Source2: fotoxx16.png
Source3: fotoxx32.png

# Automatically added by buildreq on Wed Mar 11 2009

BuildRequires: gcc-c++ libfreeimage-devel libgtk+2-devel
# Needed for build but not detected by buildreq:
BuildRequires: perl-Image-ExifTool ufraw xdg-utils

# NB: fotoxx is able to use exiftool and ufraw to extend functionality

# but I don't want to mandate installation of them

# fotoxx uses exiv2 executable to read EXIF data:

Requires: exiv2
# fotoxx uses xdg-open executable to launch HTML docs viewer:
Requires: xdg-utils

Provides: fotox
Obsoletes: fotox

%description
Fotox is a program for improving digital photos. Navigate through large image
directories using a window of thumbnail images. Create HDR (high dynamic range)
images by combining bright and dark images to improve details visible in both
bright and dark areas. Create panorama (extra wide) images by joining overlapped
images. Adjust brightness and color intensity independently for different
underlying brightness levels. Reduce fog or haze by removing "whiteness" and
intensifying colors. Rotate an image (level a tilted image or turn 90 degrees).
Remove the red-eye effect from electronic flash photos. Resize or crop an image.

%prep
%setup

%build
# build with docs (in fact, gui help) in program data directory
%__subst 's|share/doc|share|' Makefile
# verbose and with our optimization
%__subst 's/ at  g++/g++/g; s/-O /%optflags /' Makefile
# as-needed linking
%__subst 's/g++ $(LFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o/g++ -o $(PROGRAM) $(PROGRAM).o zfuncs.o $(LFLAGS)/' Makefile

# Our desktop file is better :)

%__subst 's/xdg-desktop-menu/#xdg-desktop-menu/g' Makefile

# Fix man installation path

%__subst 's#/usr/share/man#$(DESTDIR)/usr/share/man#' Makefile

%make_build PREFIX=/usr

%install
install -d %buildroot%_man1dir
# Lazy avoiding install of desktop file generated in Makefile...
%make_install install DESTDIR=%buildroot PREFIX=/usr DESKTOP=dummy.desktop
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/fotoxx.desktop
install -pD -m644 data/icons/fotoxx.png %buildroot%_liconsdir/fotoxx.png
install -pD %_sourcedir/fotoxx32.png %buildroot%_niconsdir/fotoxx.png
install -pD %_sourcedir/fotoxx16.png %buildroot%_miconsdir/fotoxx.png

%files
%_bindir/*
%_desktopdir/*
%_miconsdir/*
%_niconsdir/*
%_liconsdir/*
%_datadir/fotoxx
%_man1dir/*

%changelog

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

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