]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- merged from DEVEL and updated to 2.8.0
[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.0
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:  a6bf46dfc587ee6cffa9f86c12086a8a
11 Patch0:         %{name}-libtool.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.7.92
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  eel-devel >= 2.7.92
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-common >= 2.4.0
19 BuildRequires:  gnome-vfs2-devel >= 2.7.92
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.0
24 BuildRequires:  libgnomeprint-devel >= 2.7.90
25 BuildRequires:  libgnomeui-devel >= 2.7.92
26 BuildRequires:  libgnomeprintui-devel >= 2.7.90
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
51 %build
52 %{__libtoolize}
53 glib-gettextize --copy --force
54 intltoolize --copy --force
55 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
56 %{__autoheader}
57 gnome-doc-common
58 %{__automake}
59 %{__autoconf}
60 %configure \
61         --disable-schemas-install
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT \
69         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
70
71 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
72
73 %find_lang %{name} --with-gnome
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 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_bindir}/*
93 %{_sysconfdir}/gconf/schemas/*
94 %{_datadir}/%{name}
95 %{_datadir}/gnome-2.0/ui/*
96 %{_omf_dest_dir}/%{name}
97 %{_desktopdir}/*
98 %{_pixmapsdir}/*
This page took 0.034934 seconds and 4 git commands to generate.