]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
- updated to 2.20.2
[packages/eog.git] / eog.spec
1 Summary:        The Eye of GNOME image viewer
2 Summary(pl.UTF-8):      Oko GNOME - przeglądarka obrazków
3 Summary(pt_BR.UTF-8):   Visualizador de imagem Eye of GNOME
4 Name:           eog
5 Version:        2.20.2
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/eog/2.20/%{name}-%{version}.tar.bz2
10 # Source0-md5:  8b704805411199a57822e653f457502f
11 Patch0:         %{name}-codegen.patch
12 Patch1:         %{name}-desktop.patch
13 URL:            http://www.gnome.org/projects/eog/
14 BuildRequires:  GConf2-devel >= 2.20.0
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake
17 BuildRequires:  dbus-glib-devel >= 0.71
18 BuildRequires:  exempi-devel >= 1.99.2
19 BuildRequires:  gettext-devel
20 BuildRequires:  gnome-common >= 2.20.0
21 BuildRequires:  gnome-desktop-devel >= 2.20.0
22 BuildRequires:  gnome-doc-utils >= 0.12.0
23 BuildRequires:  gnome-icon-theme >= 2.20.0
24 BuildRequires:  gnome-vfs2-devel >= 2.20.0
25 BuildRequires:  gtk+2-devel >= 2:2.12.0
26 BuildRequires:  intltool >= 0.36.2
27 BuildRequires:  lcms-devel
28 BuildRequires:  libart_lgpl-devel >= 2.3.19
29 BuildRequires:  libexif-devel >= 1:0.6.14
30 BuildRequires:  libglade2-devel >= 1:2.6.2
31 BuildRequires:  libgnomeui-devel >= 2.20.0
32 BuildRequires:  libjpeg-devel
33 BuildRequires:  libtool
34 BuildRequires:  pkgconfig >= 0.9.0
35 BuildRequires:  rpmbuild(macros) >= 1.311
36 BuildRequires:  scrollkeeper
37 BuildRequires:  shared-mime-info >= 0.20
38 Requires(post,postun):  desktop-file-utils
39 Requires(post,postun):  gtk+2
40 Requires(post,postun):  hicolor-icon-theme
41 Requires(post,postun):  scrollkeeper
42 Requires(post,preun):   GConf2
43 Requires:       libgnomeui >= 2.20.0
44 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46 %description
47 Eye of GNOME is a tool for viewing/cataloging images.
48
49 %description -l pl.UTF-8
50 Eye of GNOME (Oko GNOME) jest narzędziem do oglądania/katalogowania
51 obrazków.
52
53 %description -l pt_BR.UTF-8
54 Aplicativo para visualizar imagens chamado Eye of GNOME.
55
56 %package devel
57 Summary:        Header files for eog
58 Summary(pl.UTF-8):      Pliki nagłówkowe eog
59 Group:          Development/Libraries
60 Requires:       %{name} = %{version}-%{release}
61 Requires:       GConf2-devel >= 2.20.0
62 Requires:       gnome-vfs2-devel >= 2.20.0
63 Requires:       gtk+2-devel >= 2:2.12.0
64 Requires:       libglade2-devel >= 1:2.6.2
65 Requires:       libgnomeui-devel >= 2.20.0
66
67 %description devel
68 Header files for eog.
69
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe eog.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76 %patch1 -p1
77
78 %build
79 %{__libtoolize}
80 %{__intltoolize}
81 %{__aclocal}
82 %{__autoheader}
83 %{__gnome_doc_common}
84 %{__automake}
85 %{__autoconf}
86 %configure \
87         --disable-schemas-install \
88         --disable-scrollkeeper
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT \
96         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
97
98 %find_lang %{name} --with-gnome
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post
104 %gconf_schema_install eog.schemas
105 %scrollkeeper_update_post
106 %update_desktop_database_post
107 %update_icon_cache hicolor
108
109 %preun
110 %gconf_schema_uninstall eog.schemas
111
112 %postun
113 %scrollkeeper_update_postun
114 %update_desktop_database_postun
115 %update_icon_cache hicolor
116
117 %files -f %{name}.lang
118 %defattr(644,root,root,755)
119 %doc AUTHORS ChangeLog NEWS README THANKS TODO
120 %attr(755,root,root) %{_bindir}/eog
121 %{_sysconfdir}/gconf/schemas/eog.schemas
122 %{_datadir}/%{name}
123 %{_omf_dest_dir}/%{name}
124 %{_desktopdir}/eog.desktop
125 %{_iconsdir}/hicolor/*/*/*
126
127 %files devel
128 %defattr(644,root,root,755)
129 %{_includedir}/eog-2.20
130 %{_pkgconfigdir}/*.pc
This page took 0.03637 seconds and 4 git commands to generate.