]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- 2.10.2, BR pkgconfig, more macros, killed check for od libexif (patch)
[packages/eog.git] / eog.spec
1 Summary:        The Eye of GNOME image viewer
2 Summary(pl):    Oko GNOME - przegl±darka obrazków
3 Summary(pt_BR): Visualizador de imagem Eye of GNOME
4 Name:           eog
5 Version:        2.10.2
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/eog/2.10/%{name}-%{version}.tar.bz2
10 # Source0-md5:  09884ebaf4d520195093b2a516252579
11 Patch0:         %{name}-libtool.patch
12 Patch1:         %{name}-desktop.patch
13 Patch2:         %{name}-old_exif_check.patch
14 URL:            http://www.gnome.org/
15 BuildRequires:  GConf2-devel >= 2.10.0
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gettext-devel
19 BuildRequires:  gnome-common >= 2.8.0
20 BuildRequires:  gnome-vfs2-devel >= 2.10.0-2
21 BuildRequires:  intltool
22 BuildRequires:  libart_lgpl-devel >= 2.3.17
23 BuildRequires:  libexif-devel >= 1:0.6.12
24 BuildRequires:  libglade2-devel >= 1:2.5.1
25 BuildRequires:  libgnomeui-devel >= 2.10.0-2
26 BuildRequires:  libjpeg-devel
27 BuildRequires:  libtool
28 BuildRequires:  pkgconfig >= 0.9.0
29 BuildRequires:  popt-devel
30 BuildRequires:  rpmbuild(macros) >= 1.197
31 BuildRequires:  xft-devel >= 2.1.2
32 Requires(post,preun):   GConf2
33 Requires(post,postun):  desktop-file-utils
34 Requires(post,postun):  scrollkeeper
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Eye of GNOME is a tool for viewing/cataloging images.
39
40 %description -l pl
41 Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
42 obrazków.
43
44 %description -l pt_BR
45 Aplicativo para visualizar imagens chamado Eye of GNOME.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51 %patch2 -p1
52
53 %build
54 %{__libtoolize}
55 %{__glib_gettextize}
56 %{__intltoolize}
57 %{__aclocal}
58 %{__autoheader}
59 %{__gnome_doc_common}
60 %{__automake}
61 %{__autoconf}
62 %configure \
63         --disable-schemas-install
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
72
73 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
74
75 %find_lang %{name} --with-gnome
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post
81 %gconf_schema_install eog.schemas
82 %scrollkeeper_update_post
83 %update_desktop_database_post
84
85 %preun
86 %gconf_schema_uninstall eog.schemas
87
88 %postun
89 %scrollkeeper_update_postun
90 %update_desktop_database_postun
91
92 %files -f %{name}.lang
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog NEWS README
95 %attr(755,root,root) %{_bindir}/*
96 %{_sysconfdir}/gconf/schemas/*
97 %{_datadir}/%{name}
98 %{_omf_dest_dir}/%{name}
99 %{_desktopdir}/*
100 %{_pixmapsdir}/*
This page took 0.033705 seconds and 4 git commands to generate.