]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- release 3,
[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:        0.6
6 Release:        3
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/unstable/sources/eog/%{name}-%{version}.tar.gz
10 Source1:        %{name}.gif
11 Patch0:         %{name}-am_ac.patch
12 Patch1:         %{name}-am16.patch
13 Patch2:         %{name}-ac253.patch
14 Patch3:         %{name}-disable_GConf_test.patch
15 Patch4:         %{name}-zh_CN.patch
16 Patch5:         %{name}-sane-window-size.patch
17 URL:            http://www.gnome.org/
18 BuildRequires:  GConf-devel >= 0.12
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  bonobo-devel
22 BuildRequires:  bonobo-devel >= 0.35
23 BuildRequires:  gdk-pixbuf-gnome-devel >= 0.9.0
24 BuildRequires:  gettext-devel
25 BuildRequires:  gnome-libs-devel
26 BuildRequires:  gnome-print-devel >= 0.25
27 BuildRequires:  intltool
28 BuildRequires:  libglade-gnome-devel
29 BuildRequires:  libjpeg-devel
30 BuildRequires:  libpng-devel
31 BuildRequires:  libtool
32 BuildRequires:  oaf-devel >= 0.6.2
33 Requires(post): GConf
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %define         _prefix         /usr/X11R6
37 %define         _mandir         %{_prefix}/man
38 %define         _sysconfdir     /etc/X11/GNOME
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 %patch2 -p1
55 %patch3 -p1
56 %patch4 -p1
57 mv -f ./po/zh_CN.GB2312.po ./po/zh_CN.po && rm -f ./po/zh_CN.GB2312.gm
58 %patch5 -p1
59
60 %build
61 rm -f missing
62 %{__gettextize}
63 %{__libtoolize}
64 xml-i18n-toolize --copy --force
65 aclocal -I %{_aclocaldir}/gnome
66 %{__autoconf}
67 %{__automake}
68 %configure \
69         --with-bonobo
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT \
77         Graphicsdir=%{_applnkdir}/Graphics
78
79 %find_lang %{name} --with-gnome
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post
85 GCONF_CONFIG_SOURCE=xml::%{_sysconfdir}/gconf/gconf.xml.defaults
86 export GCONF_CONFIG_SOURCE
87 gconftool --makefile-install-rule %{_sysconfdir}/gconf/schemas/eog.schemas
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_bindir}/*
93 %{_sysconfdir}/gconf/schemas/eog.schemas
94 %{_applnkdir}/Graphics/*
95 %{_datadir}/idl/*.idl
96 %{_datadir}/%{name}
97 %{_datadir}/gnome/ui/*
98 %{_datadir}/oaf/*.oaf
99 %{_pixmapsdir}/*
This page took 0.068038 seconds and 4 git commands to generate.