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