Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37754955
en ru br
ALT Linux repos
5.0: 0.3.9-alt1
4.1: 0.3.7-alt1

Group :: Publishing
RPM: photoprint

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define bordersversion 0.0.2

Name: photoprint
Version: 0.3.7
Release: alt1

Summary: Photo Print - Prints photos in various layouts and with color management
License: GPLv2+
Group: Publishing

Url: http://www.blackfiveservices.co.uk/photoprint.shtml
Source: http://www.blackfiveservices.co.uk/photoprint_resources/photoprint-%version.tar.gz
Source1: http://www.blackfiveservices.co.uk/PhotoPrint/Downloads/photoprint-borders-%{bordersversion}.tar.gz
#Source2: http://www.blackfiveservices.co.uk/PhotoPrint/Downloads/ProfilingKit.tar.bz2

# Automatically added by buildreq on Fri Apr 11 2008

BuildRequires: gcc-c++ libcups-devel libgutenprint-devel libjpeg-devel liblcms-devel libnetpbm-devel libtiff-devel
BuildRequires: desktop-file-utils

%description
Photo Print is a utility for printing images via Gutenprint (a rebranding of
Gimp-Print for the latest version).

It supports different printing layouts, as one picture per page, several
pictures (scaled to equal size) per page, a poster of one picture put together
of several sheets, or several pictures combined to one round picture for a CD
back. Image frames and color management  are also supported.

Photo Print can be used as GUI tool and also as command line tool in batch
mode.

Works nicely as an image editor in GQview.

%prep

%setup
%setup -T -D -a 1
#%setup -q -T -D -a 2 -n %{name}-%{version}

%build

%configure
# Do not do any compiler optimizations, they break the program. (?)
%make_build CFLAGS="" CXXFLAGS="-I/usr/include/lcms"

# Generate menu icons in required format

#convert splashscreen/SplashScreen.tif -resize 32x32 photoprint.png
#convert splashscreen/SplashScreen.tif -resize 16x16 photoprint_mini.png
#convert splashscreen/SplashScreen.tif -resize 48x48 photoprint_large.png

%install
%make_install DESTDIR=%buildroot install
install -pD -m644 photoprint.1 %buildroot%_man1dir/photoprint.1

# install borders

install -d %buildroot%_datadir/photoprint/borders
pushd photoprint-borders*
%configure
%make_install DESTDIR=%buildroot install
popd

%find_lang --with-gnome %name

%post
%update_menus
%update_desktopdb

%postun
%clean_menus
%clean_desktopdb

%files -f %name.lang
%doc README NEWS
%_bindir/*
%_liconsdir/*
%_man1dir/*
%_desktopdir/*
%_datadir/photoprint

%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