Mercurial > hg > forks > geeqie
annotate geeqie.spec.in @ 2024:b7c661a930d9
spec file cleanup
author | Vladimir Nadvornik <nadvornik@suse.cz> |
---|---|
date | Tue, 31 Jul 2012 19:10:15 +0200 |
parents | 26dfd7a4d130 |
children | 540934ac0b5a |
rev | line source |
---|---|
418 | 1 # norootforbuild |
197 | 2 |
2021
26dfd7a4d130
updated version and copyright notice
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1694
diff
changeset
|
3 BuildRequires: gtk2-devel gcc-c++ intltool gnome-doc-utils libjpeg-devel libtiff-devel |
418 | 4 %if 0%{?suse_version} |
1689 | 5 BuildRequires: liblcms-devel update-desktop-files |
484
1c533a418b63
fixed instalation of doc files
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
466
diff
changeset
|
6 %define docname %{name} |
418 | 7 %else |
8 BuildRequires: lcms-devel | |
484
1c533a418b63
fixed instalation of doc files
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
466
diff
changeset
|
9 %define docname %{name}-%{version} |
418 | 10 %endif |
11 %if 0%{?suse_version} > 1010 | |
12 BuildRequires: libexiv2-devel | |
13 %endif | |
14 %if 0%{?fedora_version} | |
15 BuildRequires: exiv2-devel | |
16 %endif | |
17 %if 0%{?mandriva_version} > 2007 | |
1689 | 18 %ifarch x86_64 |
19 BuildRequires: lib64exiv2-devel | |
20 %else | |
418 | 21 BuildRequires: libexiv2-devel |
22 %endif | |
1689 | 23 %endif |
197 | 24 |
418 | 25 |
2024 | 26 Summary: Graphics file browser utility |
418 | 27 Summary(fr): Explorateur de fichiers graphiques |
28 Summary(es): Navegador de archivos gráficos | |
29 Summary(it): Visualizzatore di archivi grafici | |
30 Name: geeqie | |
31 Version: @VERSION@ | |
32 Release: 0 | |
33 License: GNU General Public License version 2 or later (GPL v2 or later) | |
34 Group: Productivity/Graphics/Viewers | |
35 Source: geeqie-%{version}.tar.gz | |
36 BuildRoot: %{_tmppath}/%{name}-%{version}-build | |
2024 | 37 URL: http://geeqie.sourceforge.net/ |
1689 | 38 # |
39 # these are requirements of the plugins | |
40 Requires: exiv2 exiftran ImageMagick ufraw | |
197 | 41 |
42 %description | |
43 Geeqie is a browser for graphics files. | |
44 Offering single click viewing of your graphics files. | |
45 Includes thumbnail view, zoom and filtering features. | |
46 And external editor support. | |
47 | |
48 %description -l fr | |
49 Geeqie est un explorateur de fichiers graphiques. | |
50 Il permet d'un simple clic l'affichage de vos fichiers graphiques. | |
418 | 51 Les capacités suivantes sont incluses: vue d'imagettes, zoom, |
52 filtres et support d'éditeurs externes. | |
197 | 53 |
54 %description -l es | |
418 | 55 Geeqie es un navegador de archivos gráficos. |
56 Ofrece visualizar sus archivos gráficos con sólo hacer un clic. | |
57 Incluye visualización de miniaturas, zoom, filtros y soporte para | |
197 | 58 editores externos. |
59 | |
60 %description -l it | |
418 | 61 Geeqie è un visualizzatore di archivi grafici. |
62 Offre la possibilità di visualizzare i tuoi files grafici grazie ad un singolo | |
197 | 63 click. |
64 Include la rappresentazione tramite miniature e gli strumenti di zoom e | |
65 filtraggio. | |
66 Supporta anche l'uso di editor grafici esterni. | |
67 | |
68 %prep | |
418 | 69 %setup -q |
197 | 70 |
71 %build | |
484
1c533a418b63
fixed instalation of doc files
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
466
diff
changeset
|
72 %configure --with-readmedir="%{_docdir}/%{docname}" |
197 | 73 |
484
1c533a418b63
fixed instalation of doc files
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
466
diff
changeset
|
74 |
1c533a418b63
fixed instalation of doc files
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
466
diff
changeset
|
75 %__make %{?jobs:-j%{jobs}} |
197 | 76 |
77 %install | |
484
1c533a418b63
fixed instalation of doc files
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
466
diff
changeset
|
78 make install DESTDIR=%{buildroot} |
197 | 79 |
1689 | 80 %if 0%{?suse_version} > 1100 |
81 %suse_update_desktop_file -n geeqie | |
82 %endif | |
83 | |
941 | 84 %__install -m 644 AUTHORS COPYING ChangeLog NEWS README README.lirc "%{buildroot}/%{_docdir}/%{docname}/" |
197 | 85 |
86 %clean | |
418 | 87 %__rm -rf "%{buildroot}" |
197 | 88 |
418 | 89 %files |
90 %defattr(-,root,root) | |
484
1c533a418b63
fixed instalation of doc files
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
466
diff
changeset
|
91 %doc %{_docdir}/%{docname} |
1575 | 92 %{_bindir}/geeqie* |
93 %{_datadir}/geeqie | |
418 | 94 %{_datadir}/locale/*/LC_MESSAGES/*.mo |
197 | 95 %{_datadir}/applications/geeqie.desktop |
96 %{_datadir}/pixmaps/geeqie.png | |
418 | 97 %{_mandir}/man1/geeqie* |
1694
cc32d5e28453
make sure that automake and config.h uses the same installation paths
Vladimir Nadvornik <nadvornik@suse.cz>
parents:
1689
diff
changeset
|
98 %{_prefix}/lib/geeqie |
197 | 99 |