Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568631
en ru br
ALT Linux repos
5.0: 1.3.1-alt4
4.1: 1.3.1-alt2

Group :: Graphics
RPM: flphoto

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: flphoto
Version: 1.3.1
Release: alt2

Summary: A simple image management, viewing, and printing program
License: GPLv2+
Group: Graphics

Url: http://www.easysw.com/~mike/flphoto
Source: http://dl.sourceforge.net/fltk/flphoto-%version-source.tar.bz2
Source1: flphoto.desktop

# Automatically added by buildreq on Sat Mar 29 2008 (-bi)

BuildRequires: desktop-file-utils gcc-c++ groff-base libXext-devel libXft-devel libcups-devel libfltk-devel libgphoto2-devel libjpeg-devel libpng-devel

%description
flphoto is a basic image management and display program based on the FLTK
toolkit. It can read, display, print, and export many image file formats,
and supports EXIF information provided by digital cameras.

%prep
%setup

%build
# 1) We want to see real commands in buildlog
# 2) Fix obsoleted desktop files path
%__subst 's/.SILENT://g; s at /etc/X11/applnk/Graphics at %_desktopdir at ' Makefile.in

%__subst 's/OPTIM="-O"/OPTIM="%optflags"/' configure
%configure --with-docdir=%_docdir/%name-%version

# Quick fix for SMP build bug in Makefile - be sure espmsg built before running

# parallel make:
%make espmsg
%make_build

%install
%make_install install DESTDIR=%buildroot
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/flphoto.desktop

%post
%update_menus
%update_desktopdb

%postun
%clean_menus
%clean_desktopdb

%files
%_bindir/*
%_desktopdir/*
%_pixmapsdir/*
%_man1dir/*
%_man5dir/*
%_datadir/mimelnk/application/*
# Author used home-made message translation implementation, message files are
# not standard and have no usual .mo extension. So, we cannot use find_lang.
%_datadir/locale/*/*
# This is not just usual (optional to install) %%doc files, they used in
# Help menu in program's UI.
%_docdir/%name-%version/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin