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