annotate geeqie.spec.in @ 443:e7361d06d83a

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