]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- use new faster rpm's GConf sutomation
[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.10.0
6 Release:        2
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/eog/2.10/%{name}-%{version}.tar.bz2
10 # Source0-md5:  45c345a0aed600c7ab17c5af750b7c8c
11 Patch0:         %{name}-libtool.patch
12 Patch1:         %{name}-desktop.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.10.0
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-common >= 2.8.0
19 BuildRequires:  gnome-vfs2-devel >= 2.10.0-2
20 BuildRequires:  intltool
21 BuildRequires:  libart_lgpl-devel >= 2.3.17
22 BuildRequires:  libexif-devel >= 1:0.6.12
23 BuildRequires:  libglade2-devel >= 1:2.5.1
24 BuildRequires:  libgnomeui-devel >= 2.10.0-2
25 BuildRequires:  libjpeg-devel
26 BuildRequires:  libtool
27 BuildRequires:  popt-devel
28 BuildRequires:  xft-devel >= 2.1.2
29 Requires(post,preun):   GConf2
30 Requires(post,postun):  desktop-file-utils
31 Requires(post,postun):  scrollkeeper
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Eye of GNOME is a tool for viewing/cataloging images.
36
37 %description -l pl
38 Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
39 obrazków.
40
41 %description -l pt_BR
42 Aplicativo para visualizar imagens chamado Eye of GNOME.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48
49 %build
50 %{__libtoolize}
51 glib-gettextize --copy --force
52 intltoolize --copy --force
53 %{__aclocal}
54 %{__autoheader}
55 gnome-doc-common
56 %{__automake}
57 %{__autoconf}
58 %configure \
59         --disable-schemas-install
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT \
67         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
68
69 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
70
71 %find_lang %{name} --with-gnome
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 umask 022
78 %gconf_schema_install /etc/gconf/schemas/eog.schemas
79 /usr/bin/scrollkeeper-update -q
80 /usr/bin/update-desktop-database
81
82 %preun
83 if [ $1 = 0 ]; then
84         %gconf_schema_uninstall /etc/gconf/schemas/eog.schemas
85 fi
86
87 %postun
88 if [ $1 = 0 ]; then
89         umask 022
90         /usr/bin/scrollkeeper-update -q
91         /usr/bin/update-desktop-database
92 fi
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/*
99 %{_datadir}/%{name}
100 %{_omf_dest_dir}/%{name}
101 %{_desktopdir}/*
102 %{_pixmapsdir}/*
This page took 0.045589 seconds and 4 git commands to generate.