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