1 |
matteo |
307408 |
%define srcdir ImageLounge |
2 |
|
|
# filename nomacs_0.4.0.orig.tar.bz2 |
3 |
|
|
Name: nomacs |
4 |
|
|
Version: 0.4.0 |
5 |
|
|
Release: %mkrel 1 |
6 |
|
|
License: GPLv3 |
7 |
matteo |
307418 |
Group: Graphics/Viewers |
8 |
matteo |
307408 |
Summary: A fast and small image viewer |
9 |
|
|
Source0: http://sourceforge.net/projects/nomacs/files/%{name}-%{version}/%{name}_%{version}.orig.tar.bz2 |
10 |
|
|
Url: http://www.nomacs.org |
11 |
|
|
|
12 |
|
|
BuildRequires: qt4-devel |
13 |
|
|
BuildRequires: cmake |
14 |
|
|
BuildRequires: pkgconfig(libraw) |
15 |
|
|
BuildRequires: pkgconfig(opencv) |
16 |
|
|
BuildRequires: pkgconfig(exiv2) |
17 |
|
|
BuildRequires: libgomp-devel |
18 |
matteo |
307416 |
BuildRequires: desktop-file-utils |
19 |
matteo |
307408 |
|
20 |
|
|
%description |
21 |
|
|
|
22 |
|
|
nomacs is a free image viewer small, fast and able to handle the most |
23 |
|
|
common image formats including RAW images. |
24 |
|
|
Additionally it is possible to synchronize multiple viewers. |
25 |
|
|
A synchronization of viewers running on the same computer or via LAN is possible. |
26 |
|
|
It allows to compare images and spot the differences |
27 |
|
|
(e.g. schemes of architects to show the progress). |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup -q -n %{srcdir} |
31 |
|
|
|
32 |
|
|
%build |
33 |
|
|
%cmake_qt4 |
34 |
|
|
%make |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
%makeinstall_std -C build |
38 |
|
|
|
39 |
matteo |
307416 |
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop |
40 |
|
|
|
41 |
matteo |
307408 |
%files |
42 |
|
|
%{_bindir}/%{name} |
43 |
|
|
%{_datadir}/applications/%{name}.desktop |
44 |
|
|
%{_mandir}/man1/%{name}.1.* |
45 |
|
|
%{_datadir}/%{name}/translations/%{name}_*.qm |
46 |
|
|
%{_datadir}/pixmaps/%{name}.png |