]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- updated to 2.8.2
[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.8.2
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
10 # Source0-md5:  1edf5f0e48fe17468c2d67c56e14c437
11 Patch0:         %{name}-libtool.patch
12 Patch1:         %{name}-desktop.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.8.1
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-common >= 2.8.0
19 BuildRequires:  gnome-vfs2-devel >= 2.8.3
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.4.1
24 BuildRequires:  libgnomeprint-devel >= 2.8.1
25 BuildRequires:  libgnomeui-devel >= 2.8.0
26 BuildRequires:  libgnomeprintui-devel >= 2.8.1
27 BuildRequires:  libjpeg-devel
28 BuildRequires:  libpng-devel
29 BuildRequires:  librsvg-devel >= 1:2.8.1
30 BuildRequires:  libtool
31 BuildRequires:  popt-devel
32 BuildRequires:  xft-devel >= 2.1.2
33 Requires(post): GConf2
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
52 %build
53 %{__libtoolize}
54 glib-gettextize --copy --force
55 intltoolize --copy --force
56 %{__aclocal}
57 %{__autoheader}
58 gnome-doc-common
59 %{__automake}
60 %{__autoconf}
61 %configure \
62         --disable-schemas-install
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
71
72 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
73
74 %find_lang %{name} --with-gnome
75
76 %post
77 umask 022
78 %gconf_schema_install
79 /usr/bin/scrollkeeper-update
80 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
81
82 %postun
83 umask 022
84 /usr/bin/scrollkeeper-update
85 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README
93 %attr(755,root,root) %{_bindir}/*
94 %{_sysconfdir}/gconf/schemas/*
95 %{_datadir}/%{name}
96 %{_datadir}/gnome-2.0/ui/*
97 %{_omf_dest_dir}/%{name}
98 %{_desktopdir}/*
99 %{_pixmapsdir}/*
This page took 0.1808 seconds and 4 git commands to generate.