]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- added desktop patch
[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.1
6 Release:        2
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:  2bad4006f3ccf15b0153d7b9facbc961
11 Patch0:         %{name}-libtool.patch
12 Patch1:         %{name}-desktop.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.8.0.1
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  eel-devel >= 2.8.1
18 BuildRequires:  gettext-devel
19 BuildRequires:  gnome-common >= 2.8.0
20 BuildRequires:  gnome-vfs2-devel >= 2.8.2
21 BuildRequires:  intltool
22 Buildrequires:  libart_lgpl-devel >= 2.3.16
23 Buildrequires:  libexif-devel >= 1:0.5.12
24 Buildrequires:  libglade2-devel >= 1:2.4.0
25 BuildRequires:  libgnomeprint-devel >= 2.8.0
26 BuildRequires:  libgnomeui-devel >= 2.8.0
27 BuildRequires:  libgnomeprintui-devel >= 2.8.0
28 BuildRequires:  libjpeg-devel
29 BuildRequires:  libpng-devel
30 BuildRequires:  librsvg-devel >= 1:2.8.1
31 BuildRequires:  libtool
32 BuildRequires:  popt-devel
33 BuildRequires:  xft-devel >= 2.1.2
34 Requires(post): GConf2
35 Requires(post,postun):  scrollkeeper
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Eye of GNOME is a tool for viewing/cataloging images.
40
41 %description -l pl
42 Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
43 obrazków.
44
45 %description -l pt_BR
46 Aplicativo para visualizar imagens chamado Eye of GNOME.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52
53 %build
54 %{__libtoolize}
55 glib-gettextize --copy --force
56 intltoolize --copy --force
57 %{__aclocal}
58 %{__autoheader}
59 gnome-doc-common
60 %{__automake}
61 %{__autoconf}
62 %configure \
63         --disable-schemas-install
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
72
73 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
74
75 %find_lang %{name} --with-gnome
76
77 %post
78 umask 022
79 %gconf_schema_install
80 /usr/bin/scrollkeeper-update
81 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
82
83 %postun
84 umask 022
85 /usr/bin/scrollkeeper-update
86 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
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/*
96 %{_datadir}/%{name}
97 %{_datadir}/gnome-2.0/ui/*
98 %{_omf_dest_dir}/%{name}
99 %{_desktopdir}/*
100 %{_pixmapsdir}/*
This page took 0.035311 seconds and 4 git commands to generate.