]>
Commit | Line | Data |
---|---|---|
6c2c5c74 JB |
1 | # |
2 | # Conditional build | |
3 | %bcond_with postr # flickr uploader plugin (no longer working as of 42) | |
4 | ||
38107eb4 MB |
5 | Summary: A collection of plugins for the EOG image viewer |
6 | Summary(pl.UTF-8): Zestaw wtyczek do przeglądarki obrazków EOG | |
7 | Name: eog-plugins | |
2ad24be1 | 8 | Version: 44.0 |
e9c5f79f | 9 | Release: 1 |
06ab8be1 | 10 | License: GPL v2+ |
38107eb4 | 11 | Group: X11/Applications |
2ad24be1 JB |
12 | Source0: https://download.gnome.org/sources/eog-plugins/44/%{name}-%{version}.tar.xz |
13 | # Source0-md5: 1e2f61bd04521eb61f81727f5c5ef7be | |
0745781f | 14 | URL: https://wiki.gnome.org/Apps/EyeOfGnome |
2cd9aa03 ŁK |
15 | BuildRequires: clutter-devel >= 1.9.4 |
16 | BuildRequires: clutter-gtk-devel >= 1.1.2 | |
6c2c5c74 | 17 | BuildRequires: eog-devel >= 41.0 |
8ac3482d | 18 | BuildRequires: gettext-tools >= 0.19.7 |
6c2c5c74 | 19 | BuildRequires: glib2-devel >= 1:2.53.4 |
2cd9aa03 | 20 | BuildRequires: gsettings-desktop-schemas-devel |
06ab8be1 | 21 | BuildRequires: gtk+3-devel >= 3.14.0 |
e68aa623 | 22 | BuildRequires: libchamplain-devel >= 0.12.0 |
06ab8be1 | 23 | BuildRequires: libexif-devel >= 1:0.6.16 |
8ac3482d | 24 | BuildRequires: libgdata-devel >= 0.9.1 |
6c2c5c74 JB |
25 | BuildRequires: libpeas-devel >= 1.14.1 |
26 | BuildRequires: libpeas-gtk-devel >= 1.14.1 | |
27 | BuildRequires: meson >= 0.58.0 | |
28 | BuildRequires: ninja >= 1.5 | |
38107eb4 | 29 | BuildRequires: pkgconfig |
06ab8be1 | 30 | BuildRequires: python3-devel >= 1:3.2 |
d1bcfdb4 | 31 | BuildRequires: rpm-pythonprov |
6c2c5c74 | 32 | BuildRequires: rpmbuild(macros) >= 1.736 |
e68aa623 AF |
33 | BuildRequires: tar >= 1:1.22 |
34 | BuildRequires: xz | |
6c2c5c74 | 35 | Requires(post,postun): glib2 >= 1:2.53.4 |
06ab8be1 JB |
36 | Requires: clutter >= 1.9.4 |
37 | Requires: clutter-gtk >= 1.1.2 | |
6c2c5c74 JB |
38 | Requires: eog >= 41.0 |
39 | Requires: glib2 >= 1:2.53.4 | |
06ab8be1 JB |
40 | Requires: gtk+3 >= 3.14.0 |
41 | Requires: libchamplain >= 0.12.0 | |
42 | Requires: libexif >= 1:0.6.16 | |
8ac3482d | 43 | Requires: libgdata >= 0.9.1 |
6c2c5c74 JB |
44 | Requires: libpeas >= 1.14.1 |
45 | Requires: libpeas-gtk >= 1.14.1 | |
46 | Suggests: libpeas-loader-python >= 1.14.1 | |
47 | %{?with_postr:Suggests: postr} | |
e68aa623 | 48 | Suggests: python-pygobject3 >= 3.0.0 |
38107eb4 MB |
49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
50 | ||
51 | %define pluginsdir %{_libdir}/eog/plugins | |
52 | ||
53 | %description | |
54 | This package provides collection of plugins for use with the Eye of | |
55 | GNOME Image Viewer. | |
56 | ||
57 | %description -l pl.UTF-8 | |
58 | Ten pakiet dostarcza zestaw wtyczek do przeglądarki obrazków Eye of | |
59 | GNOME (Oko GNOME). | |
60 | ||
61 | %prep | |
62 | %setup -q | |
38107eb4 MB |
63 | |
64 | %build | |
6c2c5c74 JB |
65 | %meson build \ |
66 | %{?with_postr:-Dplugin_postr=true} | |
67 | ||
68 | %ninja_build -C build | |
38107eb4 MB |
69 | |
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
6c2c5c74 | 73 | %ninja_install -C build |
38107eb4 MB |
74 | |
75 | %find_lang eog-plugins | |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
87b58b6c MB |
80 | %post |
81 | %glib_compile_schemas | |
82 | ||
83 | %postun | |
84 | %glib_compile_schemas | |
85 | ||
38107eb4 MB |
86 | %files -f eog-plugins.lang |
87 | %defattr(644,root,root,755) | |
6c2c5c74 | 88 | %doc AUTHORS MAINTAINERS NEWS README |
2f5381fb | 89 | |
bc21adc5 | 90 | %{pluginsdir}/exif-display.plugin |
6c2c5c74 JB |
91 | %attr(755,root,root) %{pluginsdir}/libexif-display.so |
92 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.exif-display.gschema.xml | |
93 | %{_datadir}/metainfo/eog-exif-display.appdata.xml | |
94 | ||
95 | %{pluginsdir}/export-to-folder.plugin | |
96 | %{pluginsdir}/export-to-folder.py | |
97 | %{_datadir}/eog/plugins/export-to-folder | |
98 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.export-to-folder.gschema.xml | |
99 | %{_datadir}/metainfo/eog-export-to-folder.appdata.xml | |
38107eb4 | 100 | |
bc21adc5 | 101 | %{pluginsdir}/fit-to-width.plugin |
6c2c5c74 JB |
102 | %attr(755,root,root) %{pluginsdir}/libfit-to-width.so |
103 | %{_datadir}/metainfo/eog-fit-to-width.appdata.xml | |
38107eb4 | 104 | |
2cd9aa03 | 105 | %{pluginsdir}/fullscreenbg.plugin |
6c2c5c74 JB |
106 | %{pluginsdir}/fullscreenbg.py |
107 | %{_datadir}/eog/plugins/fullscreenbg | |
108 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.fullscreenbg.gschema.xml | |
109 | %{_datadir}/metainfo/eog-fullscreenbg.appdata.xml | |
110 | ||
111 | %{pluginsdir}/light-theme.plugin | |
112 | %attr(755,root,root) %{pluginsdir}/liblight-theme.so | |
113 | %{_datadir}/metainfo/eog-light-theme.appdata.xml | |
2cd9aa03 | 114 | |
75535c61 | 115 | %{pluginsdir}/map.plugin |
6c2c5c74 JB |
116 | %attr(755,root,root) %{pluginsdir}/libmap.so |
117 | %{_datadir}/metainfo/eog-map.appdata.xml | |
7c502027 | 118 | |
6c2c5c74 JB |
119 | %{pluginsdir}/maximize-windows.plugin |
120 | %{pluginsdir}/maximize-windows.py | |
121 | %{_datadir}/metainfo/eog-maximize-windows.appdata.xml | |
38107eb4 | 122 | |
e68aa623 | 123 | %{pluginsdir}/postasa.plugin |
6c2c5c74 JB |
124 | %attr(755,root,root) %{pluginsdir}/libpostasa.so |
125 | %{_datadir}/metainfo/eog-postasa.appdata.xml | |
e68aa623 | 126 | |
6c2c5c74 JB |
127 | %if %{with postr} |
128 | %{pluginsdir}/postr.plugin | |
129 | %attr(755,root,root) %{pluginsdir}/libpostr.so | |
130 | %{_datadir}/metainfo/eog-postr.appdata.xml | |
131 | %endif | |
2f5381fb | 132 | |
bc21adc5 | 133 | %{pluginsdir}/pythonconsole.plugin |
6c2c5c74 JB |
134 | %{pluginsdir}/pythonconsole |
135 | %{_datadir}/eog/plugins/pythonconsole | |
136 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.pythonconsole.gschema.xml | |
137 | %{_datadir}/metainfo/eog-pythonconsole.appdata.xml | |
38107eb4 | 138 | |
bc21adc5 | 139 | %{pluginsdir}/send-by-mail.plugin |
6c2c5c74 JB |
140 | %attr(755,root,root) %{pluginsdir}/libsend-by-mail.so |
141 | %{_datadir}/metainfo/eog-send-by-mail.appdata.xml | |
7c502027 | 142 | |
bc21adc5 | 143 | %{pluginsdir}/slideshowshuffle.plugin |
6c2c5c74 JB |
144 | %{pluginsdir}/slideshowshuffle.py |
145 | %{_datadir}/metainfo/eog-slideshowshuffle.appdata.xml |