]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- 2.15.91
[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.91
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:  fd6860e07df2f3ec50fec052c999a121
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.91
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:  popt-devel
32 BuildRequires:  rpmbuild(macros) >= 1.197
33 BuildRequires:  scrollkeeper
34 Requires(post,preun):   GConf2
35 Requires(post,postun):  desktop-file-utils
36 Requires(post,postun):  scrollkeeper
37 Requires:       libgnomeui >= 2.15.91
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 Eye of GNOME is a tool for viewing/cataloging images.
42
43 %description -l pl
44 Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
45 obrazków.
46
47 %description -l pt_BR
48 Aplicativo para visualizar imagens chamado Eye of GNOME.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 %build
56 %{__libtoolize}
57 %{__intltoolize}
58 %{__aclocal}
59 %{__autoheader}
60 %{__gnome_doc_common}
61 %{__automake}
62 %{__autoconf}
63 %configure \
64         --disable-schemas-install \
65         --disable-scrollkeeper
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
74
75 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{tk,ug}
76
77 %find_lang %{name} --with-gnome
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83 %gconf_schema_install eog.schemas
84 %scrollkeeper_update_post
85 %update_desktop_database_post
86
87 %preun
88 %gconf_schema_uninstall eog.schemas
89
90 %postun
91 %scrollkeeper_update_postun
92 %update_desktop_database_postun
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog NEWS README
97 %attr(755,root,root) %{_bindir}/*
98 %{_sysconfdir}/gconf/schemas/eog.schemas
99 %{_datadir}/%{name}
100 %{_omf_dest_dir}/%{name}
101 %{_desktopdir}/*
102 %{_pixmapsdir}/*
This page took 0.076659 seconds and 4 git commands to generate.