]> git.pld-linux.org Git - packages/eog.git/blob - eog.spec
25354d579d23ce6eb127df9fdc6d59301de25e56
[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.4
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:  f9c923e1e09caa8e6f764ae8242f8d61
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(find_lang) >= 1.23
36 BuildRequires:  rpmbuild(macros) >= 1.311
37 BuildRequires:  scrollkeeper
38 BuildRequires:  sed >= 4.0
39 BuildRequires:  shared-mime-info >= 0.20
40 Requires(post,postun):  desktop-file-utils
41 Requires(post,postun):  gtk+2
42 Requires(post,postun):  hicolor-icon-theme
43 Requires(post,postun):  scrollkeeper
44 Requires(post,preun):   GConf2
45 Requires:       libgnomeui >= 2.20.0
46 # sr@Latn vs. sr@latin
47 Conflicts:      glibc-misc < 6:2.7
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 Eye of GNOME is a tool for viewing/cataloging images.
52
53 %description -l pl.UTF-8
54 Eye of GNOME (Oko GNOME) jest narzędziem do oglądania/katalogowania
55 obrazków.
56
57 %description -l pt_BR.UTF-8
58 Aplicativo para visualizar imagens chamado Eye of GNOME.
59
60 %package devel
61 Summary:        Header files for eog
62 Summary(pl.UTF-8):      Pliki nagłówkowe eog
63 Group:          Development/Libraries
64 Requires:       %{name} = %{version}-%{release}
65 Requires:       GConf2-devel >= 2.20.0
66 Requires:       gnome-vfs2-devel >= 2.20.0
67 Requires:       gtk+2-devel >= 2:2.12.0
68 Requires:       libglade2-devel >= 1:2.6.2
69 Requires:       libgnomeui-devel >= 2.20.0
70
71 %description devel
72 Header files for eog.
73
74 %description devel -l pl.UTF-8
75 Pliki nagłówkowe eog.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80 %patch1 -p1
81
82 %{__sed} -i -e "s#sr\@Latn#sr\@latin#" po/LINGUAS
83 mv po/sr\@{Latn,latin}.po
84
85 %build
86 %{__libtoolize}
87 %{__intltoolize}
88 %{__aclocal}
89 %{__autoheader}
90 %{__gnome_doc_common}
91 %{__automake}
92 %{__autoconf}
93 %configure \
94         --disable-schemas-install \
95         --disable-scrollkeeper
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT \
103         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
104
105 %find_lang %{name} --with-gnome --with-omf
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post
111 %gconf_schema_install eog.schemas
112 %scrollkeeper_update_post
113 %update_desktop_database_post
114 %update_icon_cache hicolor
115
116 %preun
117 %gconf_schema_uninstall eog.schemas
118
119 %postun
120 %scrollkeeper_update_postun
121 %update_desktop_database_postun
122 %update_icon_cache hicolor
123
124 %files -f %{name}.lang
125 %defattr(644,root,root,755)
126 %doc AUTHORS ChangeLog NEWS README THANKS TODO
127 %attr(755,root,root) %{_bindir}/eog
128 %{_sysconfdir}/gconf/schemas/eog.schemas
129 %{_datadir}/%{name}
130 %{_desktopdir}/eog.desktop
131 %{_iconsdir}/hicolor/*/*/*
132
133 %files devel
134 %defattr(644,root,root,755)
135 %{_includedir}/eog-2.20
136 %{_pkgconfigdir}/*.pc
This page took 0.59147 seconds and 2 git commands to generate.