]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- fixed gnome-vfs2 required version
[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.9.0
6 Release:        2
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/eog/2.9/%{name}-%{version}.tar.bz2
10 # Source0-md5:  be4c2b1dcb1457069d03bf282fccf54b
11 Patch0:         %{name}-libtool.patch
12 Patch1:         %{name}-desktop.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.9.90
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-common >= 2.8.0
19 BuildRequires:  gnome-vfs2-devel >= 2.10.0-2
20 BuildRequires:  intltool
21 BuildRequires:  libart_lgpl-devel >= 2.3.16
22 BuildRequires:  libexif-devel >= 1:0.5.12
23 BuildRequires:  libglade2-devel >= 1:2.5.1
24 BuildRequires:  libgnomeui-devel >= 2.10.0
25 BuildRequires:  libjpeg-devel
26 BuildRequires:  libtool
27 BuildRequires:  popt-devel
28 BuildRequires:  xft-devel >= 2.1.2
29 Requires(post): GConf2
30 Requires(post,postun):  scrollkeeper
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Eye of GNOME is a tool for viewing/cataloging images.
35
36 %description -l pl
37 Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
38 obrazków.
39
40 %description -l pt_BR
41 Aplicativo para visualizar imagens chamado Eye of GNOME.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47
48 %build
49 %{__libtoolize}
50 glib-gettextize --copy --force
51 intltoolize --copy --force
52 %{__aclocal}
53 %{__autoheader}
54 gnome-doc-common
55 %{__automake}
56 %{__autoconf}
57 %configure \
58         --disable-schemas-install
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT \
66         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
67
68 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
69
70 %find_lang %{name} --with-gnome
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 umask 022
77 %gconf_schema_install
78 /usr/bin/scrollkeeper-update
79 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
80
81 %postun
82 umask 022
83 /usr/bin/scrollkeeper-update
84 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README
89 %attr(755,root,root) %{_bindir}/*
90 %{_sysconfdir}/gconf/schemas/*
91 %{_datadir}/%{name}
92 %{_omf_dest_dir}/%{name}
93 %{_desktopdir}/*
94 %{_pixmapsdir}/*
This page took 0.041742 seconds and 4 git commands to generate.