Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37727768
en ru br
ALT Linux repos
5.0: 0-alt2.git20080909

Group :: Graphics
RPM: screenie

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: screenie
Version: 0
Release: alt2.git20080909

Summary: Fancy screenshot composer
License: GPLv2, GPLv3
Group: Graphics
Url: http://code.google.com/p/screenie/
Packager: Maxim Ivanov <redbaron at altlinux.org>

#http://github.com/slubman/screenie/tree/master

Source: %name-%version.tar
Source1: example.png

BuildPreReq: libqt4-devel gcc4.1-c++ desktop-file-utils ImageMagick

%description
Screenie a small tool to allow you to compose a fancy and stylish
screenshots. It is cross-platform (for Linux, Windows and
Mac OS X) and very easy to use. You will have an impressive
screenshot in just one minute!

%description -l ru_RU.UTF-8
Небольшая утилитка, облегчающая создание "гламурных" скриншотов.
Пример работы утилиты смотри в %_docdir/example.png

%prep
%setup
cp %SOURCE1 .

%build
qmake-qt4
%make

%install
mkdir -p %buildroot%_desktopdir
install -m 644 screenie.desktop %buildroot%_desktopdir/

#create icons:

mkdir -p %buildroot%_miconsdir %buildroot%_niconsdir %buildroot%_liconsdir
convert screenie.png -resize 16x16 %buildroot%_miconsdir/screenie.png
convert screenie.png -resize 32x32 %buildroot%_niconsdir/screenie.png
convert screenie.png -resize 48x48 %buildroot%_liconsdir/screenie.png

mkdir -p %buildroot%_bindir
install -m 755 screenie %buildroot%_bindir/

%post
%update_menus

%postun
%clean_menus

%files
%doc example.png LICENSE*
%_bindir/*
%_desktopdir/*
%_miconsdir/*
%_niconsdir/*
%_liconsdir/*

%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