]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
5f9437d4f2cbf45f340b1591ec9953cbbb1f221c
[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:        1.1.4
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/1.1/%{name}-%{version}.tar.bz2
10 Source1:        %{name}.gif
11 Patch0:         %{name}-am.patch
12 Patch1:         %{name}-makefile.patch
13 Patch2:         %{name}-libtool.patch
14 URL:            http://www.gnome.org/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  bonobo-activation-devel >= 2.1.1
18 BuildRequires:  GConf2-devel >= 1.2.1
19 BuildRequires:  gettext-devel
20 BuildRequires:  gnome-vfs2-devel >= 2.1.6
21 BuildRequires:  intltool
22 BuildRequires:  libbonoboui >= 2.1.2
23 BuildRequires:  libgnomeprint-devel >= 2.1.6
24 BuildRequires:  libgnomeui >= 2.1.1
25 BuildRequires:  libjpeg-devel
26 BuildRequires:  libpng-devel
27 BuildRequires:  librsvg-devel >= 2.1.3
28 BuildRequires:  libtool
29 BuildRequires:  popt-devel
30 BuildRequires:  Xft-devel >= 2.1-2
31 Requires:       bonobo-activation >= 2.1.1
32 Requires(post): GConf2
33 Requires(post): scrollkeeper
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Eye of GNOME is a tool for viewing/cataloging images.
38
39 %description -l pl
40 Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
41 obrazków.
42
43 %description -l pt_BR
44 Aplicativo para visualizar imagens chamado Eye of GNOME.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50 %patch2 -p1
51
52 %build
53 rm -f missing
54 sed -e 's/-ourdir/ourdir/' xmldocs.make >xmldocs.make.tmp
55 mv xmldocs.make.tmp xmldocs.make
56 glib-gettextize --copy --force
57 %{__libtoolize}
58 intltoolize --copy --force
59 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
60 %{__autoconf}
61 %{__automake}
62
63 %configure \
64         --enable-platform-gnome-2
65 %{__make} 
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT \
72         omf_dest_dir=%{_omf_dest_dir}/%{name} 
73
74 %find_lang %{name} --with-gnome
75
76 %post
77 %gconf_schema_install
78
79 %postun -p /usr/bin/scrollkeeper-update
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files -f %{name}.lang
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog NEWS README
87 %attr(755,root,root) %{_bindir}/*
88 %attr(755,root,root) %{_libdir}/eog-image-viewer
89 %{_sysconfdir}/gconf/schemas/*
90 %{_libdir}/bonobo/servers/*
91 %{_datadir}/%{name}
92 %{_datadir}/applications/*
93 %{_datadir}/gnome-2.0/ui/*
94 %{_datadir}/idl/*
95 %{_omf_dest_dir}/%{name}
96 %{_pixmapsdir}/*
This page took 0.24038 seconds and 2 git commands to generate.