]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- 2.15.92, updated deps, popt-devel no longer required
[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.15.92
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/eog/2.15/%{name}-%{version}.tar.bz2
10 # Source0-md5:  f0227269fe5568e03e58f228d9e41288
11 Patch0:         %{name}-libtool.patch
12 Patch1:         %{name}-desktop.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.14.0
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-common >= 2.12.0
19 BuildRequires:  gnome-desktop-devel >= 2.15.91
20 BuildRequires:  gnome-vfs2-devel >= 2.15.92
21 BuildRequires:  intltool >= 0.35
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
27 BuildRequires:  libgnomeui-devel >= 2.15.91
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.15.91
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 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{tk,ug}
75
76 %find_lang %{name} --with-gnome
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 %gconf_schema_install eog.schemas
83 %scrollkeeper_update_post
84 %update_desktop_database_post
85
86 %preun
87 %gconf_schema_uninstall eog.schemas
88
89 %postun
90 %scrollkeeper_update_postun
91 %update_desktop_database_postun
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog NEWS README
96 %attr(755,root,root) %{_bindir}/*
97 %{_sysconfdir}/gconf/schemas/eog.schemas
98 %{_datadir}/%{name}
99 %{_omf_dest_dir}/%{name}
100 %{_desktopdir}/*
101 %{_pixmapsdir}/*
This page took 0.112226 seconds and 4 git commands to generate.