annotate geeqie.spec.in @ 580:e27c374460d3

vficon_release_cb(): use switch() and cleanup.
author zas_
date Sun, 04 May 2008 23:57:20 +0000
parents bf9c9e37adf4
children 36906129bbec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
1 # norootforbuild
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
2
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
3 BuildRequires: gtk2-devel gcc-c++
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
4 %if 0%{?suse_version}
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
5 BuildRequires: liblcms-devel
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
6 %define docname %{name}
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
7 %if %suse_version < 1030
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
8 %define _prefix /opt/gnome
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
9 %define _sysconfdir /etc%{prefix}
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
10 # workaround for gtk2 include conflicts on older SUSE versions:
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
11 %define _includedir %{_usr}
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
12 %endif
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
13 %else
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
14 BuildRequires: lcms-devel
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
15 %define docname %{name}-%{version}
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
16 %endif
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
17 %if 0%{?suse_version} > 1010
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
18 BuildRequires: libexiv2-devel
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
19 %endif
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
20 %if 0%{?fedora_version}
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
21 BuildRequires: exiv2-devel
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
22 %endif
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
23 %if 0%{?mandriva_version} > 2007
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
24 BuildRequires: libexiv2-devel
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
25 %endif
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
26
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
27
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
28 Summary: Graphics file browser utility.
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
29 Summary(fr): Explorateur de fichiers graphiques
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
30 Summary(es): Navegador de archivos gráficos
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
31 Summary(it): Visualizzatore di archivi grafici
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
32 Name: geeqie
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
33 Version: @VERSION@
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
34 Release: 0
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
35 License: GNU General Public License version 2 or later (GPL v2 or later)
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
36 Group: Productivity/Graphics/Viewers
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
37 Source: geeqie-%{version}.tar.gz
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
38 BuildRoot: %{_tmppath}/%{name}-%{version}-build
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
39
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
40 %description
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
41 Geeqie is a browser for graphics files.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
42 Offering single click viewing of your graphics files.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
43 Includes thumbnail view, zoom and filtering features.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
44 And external editor support.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
45
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
46 %description -l fr
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
47 Geeqie est un explorateur de fichiers graphiques.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
48 Il permet d'un simple clic l'affichage de vos fichiers graphiques.
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
49 Les capacités suivantes sont incluses: vue d'imagettes, zoom,
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
50 filtres et support d'éditeurs externes.
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
51
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
52 %description -l es
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
53 Geeqie es un navegador de archivos gráficos.
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
54 Ofrece visualizar sus archivos gráficos con sólo hacer un clic.
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
55 Incluye visualización de miniaturas, zoom, filtros y soporte para
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
56 editores externos.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
57
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
58 %description -l it
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
59 Geeqie è un visualizzatore di archivi grafici.
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
60 Offre la possibilità di visualizzare i tuoi files grafici grazie ad un singolo
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
61 click.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
62 Include la rappresentazione tramite miniature e gli strumenti di zoom e
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
63 filtraggio.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
64 Supporta anche l'uso di editor grafici esterni.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
65
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
66 %prep
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
67 %setup -q
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
68
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
69 %build
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
70 %configure --with-readmedir="%{_docdir}/%{docname}"
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
71
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
72
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
73 %__make %{?jobs:-j%{jobs}}
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
74
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
75 %install
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
76 make install DESTDIR=%{buildroot}
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
77
528
bf9c9e37adf4 Added LIRC patch written by Matteo Beniamino
nadvornik
parents: 484
diff changeset
78 %__install AUTHORS COPYING ChangeLog NEWS README README.lirc "%{buildroot}/%{_docdir}/%{docname}/"
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
79
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
80 %clean
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
81 %__rm -rf "%{buildroot}"
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
82
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
83 %files
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
84 %defattr(-,root,root)
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
85 %doc %{_docdir}/%{docname}
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
86 %{_bindir}/geeqie
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
87 %{_datadir}/locale/*/LC_MESSAGES/*.mo
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
88 %{_datadir}/applications/geeqie.desktop
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
89 %{_datadir}/pixmaps/geeqie.png
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
90 %{_mandir}/man1/geeqie*
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
91