-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeeqie.spec.in
104 lines (87 loc) · 2.74 KB
/
geeqie.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# norootforbuild
BuildRequires: gtk2-devel gcc-c++ intltool
%if 0%{?suse_version}
BuildRequires: liblcms-devel update-desktop-files
%define docname %{name}
%if %suse_version < 1030
%define _prefix /opt/gnome
%define _sysconfdir /etc%{prefix}
# workaround for gtk2 include conflicts on older SUSE versions:
%define _includedir %{_usr}
%endif
%else
BuildRequires: lcms-devel
%define docname %{name}-%{version}
%endif
%if 0%{?suse_version} > 1010
BuildRequires: libexiv2-devel
%endif
%if 0%{?fedora_version}
BuildRequires: exiv2-devel
%endif
%if 0%{?mandriva_version} > 2007
%ifarch x86_64
BuildRequires: lib64exiv2-devel
%else
BuildRequires: libexiv2-devel
%endif
%endif
Summary: Graphics file browser utility.
Summary(fr): Explorateur de fichiers graphiques
Summary(es): Navegador de archivos gráficos
Summary(it): Visualizzatore di archivi grafici
Name: geeqie
Version: @VERSION@
Release: 0
License: GNU General Public License version 2 or later (GPL v2 or later)
Group: Productivity/Graphics/Viewers
Source: geeqie-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
# these are requirements of the plugins
Requires: exiv2 exiftran ImageMagick ufraw
%description
Geeqie is a browser for graphics files.
Offering single click viewing of your graphics files.
Includes thumbnail view, zoom and filtering features.
And external editor support.
%description -l fr
Geeqie est un explorateur de fichiers graphiques.
Il permet d'un simple clic l'affichage de vos fichiers graphiques.
Les capacités suivantes sont incluses: vue d'imagettes, zoom,
filtres et support d'éditeurs externes.
%description -l es
Geeqie es un navegador de archivos gráficos.
Ofrece visualizar sus archivos gráficos con sólo hacer un clic.
Incluye visualización de miniaturas, zoom, filtros y soporte para
editores externos.
%description -l it
Geeqie è un visualizzatore di archivi grafici.
Offre la possibilità di visualizzare i tuoi files grafici grazie ad un singolo
click.
Include la rappresentazione tramite miniature e gli strumenti di zoom e
filtraggio.
Supporta anche l'uso di editor grafici esterni.
%prep
%setup -q
%build
%configure --with-readmedir="%{_docdir}/%{docname}"
%__make %{?jobs:-j%{jobs}}
%install
make install DESTDIR=%{buildroot}
%if 0%{?suse_version} > 1100
%suse_update_desktop_file -n geeqie
%endif
%__install -m 644 AUTHORS COPYING ChangeLog NEWS README README.lirc "%{buildroot}/%{_docdir}/%{docname}/"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc %{_docdir}/%{docname}
%{_bindir}/geeqie*
%{_datadir}/geeqie
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/applications/geeqie.desktop
%{_datadir}/pixmaps/geeqie.png
%{_mandir}/man1/geeqie*
%{_prefix}/lib/geeqie