]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- massive attack: s/_serverdir/_bonobo_server_dir/cg
[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.2
6 Release:        2
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 >= 2.1.0-3
17 BuildRequires:  GConf2-devel >= 1.2.1
18 BuildRequires:  gettext-devel
19 BuildRequires:  gnome-vfs2-devel >= 2.1.3-3
20 BuildRequires:  intltool
21 BuildRequires:  libbonoboui >= 2.1.0
22 BuildRequires:  libgnomeprint-devel >= 2.1.1
23 BuildRequires:  libgnomeui >= 2.1.1
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  libpng-devel
26 BuildRequires:  librsvg-devel >= 2.1.1
27 BuildRequires:  libtool
28 BuildRequires:  popt-devel
29 Requires:       bonobo-activation >= 2.1.0
30 Requires(post): GConf2
31 Requires(post): scrollkeeper
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %define         _prefix                 /usr/X11R6
35 %define         _sysconfdir             /etc/X11/GNOME2
36 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
37 %define         _bonobo_server_dir              /usr/lib/bonobo/servers
38
39 %description
40 Eye of GNOME is a tool for viewing/cataloging images.
41
42 %description -l pl
43 Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
44 obrazków.
45
46 %description -l pt_BR
47 Aplicativo para visualizar imagens chamado Eye of GNOME.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53
54 %build
55 rm -f missing
56 sed -e 's/-ourdir/ourdir/' xmldocs.make >xmldocs.make.tmp
57 mv xmldocs.make.tmp xmldocs.make
58 glib-gettextize --copy --force
59 libtoolize --copy --force
60 intltoolize --copy --force
61 aclocal -I %{_aclocaldir}/gnome2-macros
62 %{__autoconf}
63 %{__automake}
64 %configure \
65         --enable-platform-gnome-2
66 %{__make} 
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         omf_dest_dir=%{_omf_dest_dir}/%{name} \
74         serverdir=%{_bonobo_server_dir}
75
76 %find_lang %{name} --with-gnome
77
78 %post
79 %gconf_schema_install
80
81 %postun -p /usr/bin/scrollkeeper-update
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README
89 %attr(755,root,root) %{_bindir}/*
90 %attr(755,root,root) %{_libdir}/eog-image-viewer
91 %{_sysconfdir}/gconf/schemas/*
92 %{_bonobo_server_dir}/*
93 %{_datadir}/%{name}
94 %{_datadir}/applications/*
95 %{_datadir}/gnome-2.0/ui/*
96 %{_datadir}/idl/*
97 %{_omf_dest_dir}/%{name}
98 %{_pixmapsdir}/*
This page took 0.039601 seconds and 4 git commands to generate.