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