]>
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 |
a126e31b | 9 | Version: 3.12.0 |
d1619112 | 10 | Release: 1 |
aa25ce61 | 11 | License: GPL v2+ |
ece649ea | 12 | Group: X11/Applications/Graphics |
a126e31b ŁK |
13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/eog/3.12/%{name}-%{version}.tar.xz |
14 | # Source0-md5: dbd5951ab0336312e04a04497831882c | |
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 |
a126e31b | 21 | BuildRequires: glib2-devel >= 1:2.38.0 |
5e4cb00f | 22 | BuildRequires: gnome-desktop-devel >= 3.2.0 |
8e19d3e0 | 23 | BuildRequires: gnome-icon-theme >= 3.0.0 |
d1619112 | 24 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
5e4cb00f | 25 | BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0 |
a126e31b ŁK |
26 | BuildRequires: gtk+3-devel >= 3.10.6 |
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 |
c4ac352b | 35 | BuildRequires: libxml2-devel >= 1:2.7.0 |
e4c96d5e | 36 | BuildRequires: pkgconfig >= 0.9.0 |
db8dcdfb | 37 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
f83a2ab4 | 38 | BuildRequires: rpmbuild(macros) >= 1.311 |
85b65f0b | 39 | BuildRequires: shared-mime-info >= 0.50 |
8e19d3e0 ŁK |
40 | BuildRequires: tar >= 1:1.22 |
41 | BuildRequires: xz | |
4660dcb6 | 42 | BuildRequires: yelp-tools |
c4ac352b | 43 | BuildRequires: zlib-devel |
a126e31b | 44 | Requires(post,postun): glib2 >= 1:2.38.0 |
7b788a76 | 45 | Requires(post,postun): desktop-file-utils |
54fe8441 | 46 | Requires(post,postun): gtk-update-icon-cache |
8e19d3e0 | 47 | Requires: gnome-icon-theme >= 3.0.0 |
5e4cb00f | 48 | Requires: gsettings-desktop-schemas >= 3.4.0 |
d1619112 | 49 | Requires: hicolor-icon-theme |
f766ecd3 | 50 | # sr@Latn vs. sr@latin |
51 | Conflicts: glibc-misc < 6:2.7 | |
cd132c4c | 52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
53 | ||
cd132c4c | 54 | %description |
55 | Eye of GNOME is a tool for viewing/cataloging images. | |
56 | ||
02a464eb | 57 | %description -l pl.UTF-8 |
5292ec55 | 58 | Eye of GNOME (Oko GNOME) jest narzędziem do oglądania i katalogowania |
02a464eb | 59 | obrazków. |
6b3d5dfe | 60 | |
02a464eb | 61 | %description -l pt_BR.UTF-8 |
f1d811f5 | 62 | Aplicativo para visualizar imagens chamado Eye of GNOME. |
63 | ||
1b874169 PZ |
64 | %package devel |
65 | Summary: Header files for eog | |
66 | Summary(pl.UTF-8): Pliki nagłówkowe eog | |
aa25ce61 | 67 | Group: X11/Development/Libraries |
1b874169 | 68 | Requires: %{name} = %{version}-%{release} |
a126e31b | 69 | Requires: gtk+3-devel >= 3.10.6 |
1b874169 PZ |
70 | |
71 | %description devel | |
72 | Header files for eog. | |
73 | ||
74 | %description devel -l pl.UTF-8 | |
75 | Pliki nagłówkowe eog. | |
76 | ||
85b65f0b MB |
77 | %package apidocs |
78 | Summary: Eye of GNOME API documentation | |
79 | Summary(pl.UTF-8): Dokumentacja API Eye of GNOME | |
80 | Group: Documentation | |
81 | Requires: gtk-doc-common | |
82 | ||
83 | %description apidocs | |
84 | Eye of GNOME API documentation. | |
85 | ||
86 | %description apidocs -l pl.UTF-8 | |
87 | Dokumentacja API Eye of GNOME. | |
88 | ||
cd132c4c | 89 | %prep |
90 | %setup -q | |
4e0ba68a | 91 | |
cd132c4c | 92 | %build |
85b65f0b | 93 | %{?with_apidocs:%{__gtkdocize}} |
aa25ce61 | 94 | %{__gnome_doc_common} |
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 | |
5292ec55 | 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 | |
d1619112 | 141 | %{_libdir}/eog/plugins/fullscreen.plugin |
85b65f0b | 142 | %attr(755,root,root) %{_libdir}/eog/plugins/libfullscreen.so* |
d1619112 | 143 | %{_libdir}/eog/plugins/reload.plugin |
85b65f0b | 144 | %attr(755,root,root) %{_libdir}/eog/plugins/libreload.so* |
d1619112 | 145 | %{_libdir}/eog/plugins/statusbar-date.plugin |
85b65f0b | 146 | %attr(755,root,root) %{_libdir}/eog/plugins/libstatusbar-date.so* |
f83a2ab4 | 147 | %{_iconsdir}/hicolor/*/*/* |
d1619112 MB |
148 | %{_datadir}/%{name} |
149 | %{_datadir}/GConf/gsettings/eog.convert | |
a126e31b | 150 | %{_datadir}/appdata/eog.appdata.xml |
d1619112 MB |
151 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.enums.xml |
152 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.gschema.xml | |
153 | %{_desktopdir}/eog.desktop | |
1b874169 PZ |
154 | |
155 | %files devel | |
156 | %defattr(644,root,root,755) | |
d1619112 | 157 | %{_includedir}/eog-3.0 |
aa25ce61 | 158 | %{_pkgconfigdir}/eog.pc |
85b65f0b MB |
159 | |
160 | %if %{with apidocs} | |
161 | %files apidocs | |
162 | %defattr(644,root,root,755) | |
163 | %{_gtkdocdir}/eog | |
164 | %endif |