annotate geeqie.spec.in @ 1804:2cc889b20a9e

Unifying the datetime output The output of %date% and %formatted.DateTime% should be equivalent.
author mow
date Sat, 27 Feb 2010 20:34:54 +0000
parents 22ec11cc989c
children
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
1689
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
3 BuildRequires: gtk2-devel gcc-c++ intltool
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
4 %if 0%{?suse_version}
1689
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
5 BuildRequires: liblcms-devel update-desktop-files
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
1689
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
24 %ifarch x86_64
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
25 BuildRequires: lib64exiv2-devel
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
26 %else
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
27 BuildRequires: libexiv2-devel
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
28 %endif
1689
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
29 %endif
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
30
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
31
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
32 Summary: Graphics file browser utility.
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
33 Summary(fr): Explorateur de fichiers graphiques
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
34 Summary(es): Navegador de archivos gráficos
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
35 Summary(it): Visualizzatore di archivi grafici
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
36 Name: geeqie
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
37 Version: @VERSION@
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
38 Release: 0
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
39 License: GNU General Public License version 2 or later (GPL v2 or later)
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
40 Group: Productivity/Graphics/Viewers
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
41 Source: geeqie-%{version}.tar.gz
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
42 BuildRoot: %{_tmppath}/%{name}-%{version}-build
1689
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
43 #
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
44 # these are requirements of the plugins
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
45 Requires: exiv2 exiftran ImageMagick ufraw
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
46
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
47 %description
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
48 Geeqie is a browser for graphics files.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
49 Offering single click viewing of your graphics files.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
50 Includes thumbnail view, zoom and filtering features.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
51 And external editor support.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
52
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
53 %description -l fr
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
54 Geeqie est un explorateur de fichiers graphiques.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
55 Il permet d'un simple clic l'affichage de vos fichiers graphiques.
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
56 Les capacités suivantes sont incluses: vue d'imagettes, zoom,
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
57 filtres et support d'éditeurs externes.
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
58
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
59 %description -l es
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
60 Geeqie es un navegador de archivos gráficos.
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
61 Ofrece visualizar sus archivos gráficos con sólo hacer un clic.
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
62 Incluye visualización de miniaturas, zoom, filtros y soporte para
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
63 editores externos.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
64
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
65 %description -l it
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
66 Geeqie è un visualizzatore di archivi grafici.
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
67 Offre la possibilità di visualizzare i tuoi files grafici grazie ad un singolo
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
68 click.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
69 Include la rappresentazione tramite miniature e gli strumenti di zoom e
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
70 filtraggio.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
71 Supporta anche l'uso di editor grafici esterni.
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
72
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
73 %prep
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
74 %setup -q
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
75
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
76 %build
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
77 %configure --with-readmedir="%{_docdir}/%{docname}"
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
78
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
79
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
80 %__make %{?jobs:-j%{jobs}}
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
81
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
82 %install
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
83 make install DESTDIR=%{buildroot}
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
84
1689
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
85 %if 0%{?suse_version} > 1100
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
86 %suse_update_desktop_file -n geeqie
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
87 %endif
2c75d19e4676 updated spec file
nadvornik
parents: 1575
diff changeset
88
941
36906129bbec fixed spec file
nadvornik
parents: 528
diff changeset
89 %__install -m 644 AUTHORS COPYING ChangeLog NEWS README README.lirc "%{buildroot}/%{_docdir}/%{docname}/"
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
90
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
91 %clean
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
92 %__rm -rf "%{buildroot}"
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
93
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
94 %files
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
95 %defattr(-,root,root)
484
35991929975d fixed instalation of doc files
nadvornik
parents: 466
diff changeset
96 %doc %{_docdir}/%{docname}
1575
7a541ebaf0b9 added new files
nadvornik
parents: 941
diff changeset
97 %{_bindir}/geeqie*
7a541ebaf0b9 added new files
nadvornik
parents: 941
diff changeset
98 %{_datadir}/geeqie
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
99 %{_datadir}/locale/*/LC_MESSAGES/*.mo
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
100 %{_datadir}/applications/geeqie.desktop
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
101 %{_datadir}/pixmaps/geeqie.png
418
4043254aee5b improved spec file
nadvornik
parents: 197
diff changeset
102 %{_mandir}/man1/geeqie*
1694
22ec11cc989c make sure that automake and config.h uses the same installation paths
nadvornik
parents: 1689
diff changeset
103 %{_prefix}/lib/geeqie
197
e3f10b6046ab more renames
nadvornik
parents:
diff changeset
104