]>
Commit | Line | Data |
---|---|---|
85b65f0b MB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without apidocs # disable API documentation | |
4 | # | |
cd132c4c | 5 | Summary: The Eye of GNOME image viewer |
5f920e55 ER |
6 | Summary(pl.UTF-8): Oko GNOME - przeglądarka obrazków |
7 | Summary(pt_BR.UTF-8): Visualizador de imagem Eye of GNOME | |
cd132c4c | 8 | Name: eog |
5e4cb00f | 9 | Version: 3.4.1 |
d1619112 | 10 | Release: 1 |
aa25ce61 | 11 | License: GPL v2+ |
ece649ea | 12 | Group: X11/Applications/Graphics |
f8d1f17d | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/eog/3.4/%{name}-%{version}.tar.xz |
5e4cb00f | 14 | # Source0-md5: 4d082c6df54a8494c56c72bce6646659 |
a617f262 | 15 | URL: http://www.gnome.org/projects/eog/ |
a617f262 | 16 | BuildRequires: autoconf >= 2.59 |
f8d1f17d | 17 | BuildRequires: automake >= 1:1.11 |
5d861441 | 18 | BuildRequires: docbook-dtd412-xml |
aa25ce61 | 19 | BuildRequires: exempi-devel >= 1.99.5 |
25c7a818 | 20 | BuildRequires: gettext-devel |
5e4cb00f | 21 | BuildRequires: glib2-devel >= 1:2.32.0 |
85b65f0b | 22 | BuildRequires: gnome-common >= 2.24.0 |
5e4cb00f | 23 | BuildRequires: gnome-desktop-devel >= 3.2.0 |
85b65f0b | 24 | BuildRequires: gnome-doc-utils >= 0.14.0 |
8e19d3e0 | 25 | BuildRequires: gnome-icon-theme >= 3.0.0 |
d1619112 | 26 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
5e4cb00f MB |
27 | BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0 |
28 | BuildRequires: gtk+3-devel >= 3.4.0 | |
c4ac352b | 29 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.9} |
85b65f0b | 30 | BuildRequires: intltool >= 0.40.0 |
8e19d3e0 | 31 | BuildRequires: lcms2-devel |
a617f262 | 32 | BuildRequires: libexif-devel >= 1:0.6.14 |
32807e4c | 33 | BuildRequires: libjpeg-devel |
d1619112 | 34 | BuildRequires: libpeas-gtk-devel >= 1.0.0 |
ab6d5038 | 35 | BuildRequires: librsvg-devel >= 2.26.0 |
32807e4c | 36 | BuildRequires: libtool |
c4ac352b | 37 | BuildRequires: libxml2-devel >= 1:2.7.0 |
e4c96d5e | 38 | BuildRequires: pkgconfig >= 0.9.0 |
db8dcdfb | 39 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
f83a2ab4 | 40 | BuildRequires: rpmbuild(macros) >= 1.311 |
9c46f8cd | 41 | BuildRequires: scrollkeeper |
85b65f0b | 42 | BuildRequires: shared-mime-info >= 0.50 |
8e19d3e0 ŁK |
43 | BuildRequires: tar >= 1:1.22 |
44 | BuildRequires: xz | |
c4ac352b | 45 | BuildRequires: zlib-devel |
8e19d3e0 | 46 | Requires(post,postun): glib2 >= 1:2.26.0 |
d1619112 | 47 | Requires(post,postun): scrollkeeper |
7b788a76 | 48 | Requires(post,postun): desktop-file-utils |
54fe8441 | 49 | Requires(post,postun): gtk-update-icon-cache |
8e19d3e0 | 50 | Requires: gnome-icon-theme >= 3.0.0 |
5e4cb00f | 51 | Requires: gsettings-desktop-schemas >= 3.4.0 |
d1619112 | 52 | Requires: hicolor-icon-theme |
f766ecd3 | 53 | # sr@Latn vs. sr@latin |
54 | Conflicts: glibc-misc < 6:2.7 | |
cd132c4c | 55 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
56 | ||
cd132c4c | 57 | %description |
58 | Eye of GNOME is a tool for viewing/cataloging images. | |
59 | ||
02a464eb | 60 | %description -l pl.UTF-8 |
5292ec55 | 61 | Eye of GNOME (Oko GNOME) jest narzędziem do oglądania i katalogowania |
02a464eb | 62 | obrazków. |
6b3d5dfe | 63 | |
02a464eb | 64 | %description -l pt_BR.UTF-8 |
f1d811f5 | 65 | Aplicativo para visualizar imagens chamado Eye of GNOME. |
66 | ||
1b874169 PZ |
67 | %package devel |
68 | Summary: Header files for eog | |
69 | Summary(pl.UTF-8): Pliki nagłówkowe eog | |
aa25ce61 | 70 | Group: X11/Development/Libraries |
1b874169 | 71 | Requires: %{name} = %{version}-%{release} |
5e4cb00f | 72 | Requires: gtk+3-devel >= 3.4.0 |
1b874169 PZ |
73 | |
74 | %description devel | |
75 | Header files for eog. | |
76 | ||
77 | %description devel -l pl.UTF-8 | |
78 | Pliki nagłówkowe eog. | |
79 | ||
85b65f0b MB |
80 | %package apidocs |
81 | Summary: Eye of GNOME API documentation | |
82 | Summary(pl.UTF-8): Dokumentacja API Eye of GNOME | |
83 | Group: Documentation | |
84 | Requires: gtk-doc-common | |
85 | ||
86 | %description apidocs | |
87 | Eye of GNOME API documentation. | |
88 | ||
89 | %description apidocs -l pl.UTF-8 | |
90 | Dokumentacja API Eye of GNOME. | |
91 | ||
cd132c4c | 92 | %prep |
93 | %setup -q | |
4e0ba68a | 94 | |
cd132c4c | 95 | %build |
85b65f0b | 96 | %{?with_apidocs:%{__gtkdocize}} |
aa25ce61 | 97 | %{__gnome_doc_common} |
6bff1701 | 98 | %{__libtoolize} |
268041a5 | 99 | %{__intltoolize} |
cd20d65c | 100 | %{__aclocal} |
470a23a6 | 101 | %{__automake} |
aa25ce61 | 102 | %{__autoheader} |
e3413657 | 103 | %{__autoconf} |
32807e4c | 104 | %configure \ |
f8d1f17d | 105 | %{__enable_disable apidocs gtk-doc} \ |
d1619112 | 106 | --disable-schemas-compile \ |
85b65f0b | 107 | --disable-scrollkeeper \ |
f0aa38bf | 108 | --disable-silent-rules \ |
85b65f0b | 109 | --with-html-dir=%{_gtkdocdir} |
b9d7d08a | 110 | %{__make} |
b13f147c | 111 | |
cd132c4c | 112 | %install |
113 | rm -rf $RPM_BUILD_ROOT | |
32807e4c | 114 | |
cd132c4c | 115 | %{__make} install \ |
d1619112 | 116 | DESTDIR=$RPM_BUILD_ROOT |
cd132c4c | 117 | |
5292ec55 | 118 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la |
8e19d3e0 | 119 | install -d $RPM_BUILD_ROOT%{_datadir}/eog/plugins |
85b65f0b | 120 | |
4e0ba68a | 121 | %find_lang %{name} --with-gnome --with-omf |
cd132c4c | 122 | |
13b71f75 JB |
123 | %clean |
124 | rm -rf $RPM_BUILD_ROOT | |
125 | ||
4d69a7c1 | 126 | %post |
268041a5 | 127 | %scrollkeeper_update_post |
128 | %update_desktop_database_post | |
f83a2ab4 | 129 | %update_icon_cache hicolor |
d1619112 | 130 | %glib_compile_schemas |
4d69a7c1 | 131 | |
6458e674 | 132 | %postun |
268041a5 | 133 | %scrollkeeper_update_postun |
134 | %update_desktop_database_postun | |
f83a2ab4 | 135 | %update_icon_cache hicolor |
d1619112 | 136 | %glib_compile_schemas |
4d69a7c1 | 137 | |
cd132c4c | 138 | %files -f %{name}.lang |
139 | %defattr(644,root,root,755) | |
a617f262 MB |
140 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
141 | %attr(755,root,root) %{_bindir}/eog | |
85b65f0b | 142 | %dir %{_libdir}/eog |
d1619112 MB |
143 | %dir %{_libdir}/eog/girepository-1.0 |
144 | %{_libdir}/eog/girepository-1.0/Eog-3.0.typelib | |
85b65f0b MB |
145 | %dir %{_libdir}/eog/plugins |
146 | # buggy soname generation, uses .so.0.0.0 | |
d1619112 | 147 | %{_libdir}/eog/plugins/fullscreen.plugin |
85b65f0b | 148 | %attr(755,root,root) %{_libdir}/eog/plugins/libfullscreen.so* |
d1619112 | 149 | %{_libdir}/eog/plugins/reload.plugin |
85b65f0b | 150 | %attr(755,root,root) %{_libdir}/eog/plugins/libreload.so* |
d1619112 | 151 | %{_libdir}/eog/plugins/statusbar-date.plugin |
85b65f0b | 152 | %attr(755,root,root) %{_libdir}/eog/plugins/libstatusbar-date.so* |
f83a2ab4 | 153 | %{_iconsdir}/hicolor/*/*/* |
d1619112 MB |
154 | %{_datadir}/%{name} |
155 | %{_datadir}/GConf/gsettings/eog.convert | |
156 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.enums.xml | |
157 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.gschema.xml | |
158 | %{_desktopdir}/eog.desktop | |
1b874169 PZ |
159 | |
160 | %files devel | |
161 | %defattr(644,root,root,755) | |
d1619112 | 162 | %{_includedir}/eog-3.0 |
aa25ce61 | 163 | %{_pkgconfigdir}/eog.pc |
85b65f0b MB |
164 | |
165 | %if %{with apidocs} | |
166 | %files apidocs | |
167 | %defattr(644,root,root,755) | |
168 | %{_gtkdocdir}/eog | |
169 | %endif |