]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- marged from DEVEL
[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.0
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 URL:            http://www.gnome.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  bonobo-activation-devel >= 1.0.3
17 BuildRequires:  GConf2-devel >= 1.2.1
18 BuildRequires:  gettext-devel
19 BuildRequires:  gnome-vfs2-devel >= 2.0.3
20 BuildRequires:  intltool
21 BuildRequires:  libbonoboui >= 2.0.2
22 BuildRequires:  libgnomeprint-devel >= 1.116.0
23 BuildRequires:  libgnomeui >= 2.0.4
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  libpng-devel
26 BuildRequires:  librsvg-devel >= 2.0.1
27 BuildRequires:  libtool
28 BuildRequires:  popt-devel
29 Requires(post): GConf2
30 Requires(post): scrollkeeper
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _prefix                         /usr/X11R6
34 %define         _sysconfdir             /etc/X11/GNOME2
35 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
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 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 --copy --force
58 intltoolize --copy --force
59 aclocal -I %{_aclocaldir}/gnome2-macros
60 %{__autoconf}
61 %{__automake}
62 %configure \
63         --enable-platform-gnome-2
64 %{__make} 
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         omf_dest_dir=%{_omf_dest_dir}/%{name}
72
73 %find_lang %{name} --with-gnome
74
75 %post
76 /usr/bin/scrollkeeper-update
77 GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
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.040886 seconds and 3 git commands to generate.