]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build | |
3 | %bcond_with postr # flickr uploader plugin (no longer working as of 42) | |
4 | ||
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 | |
8 | Version: 44.0 | |
9 | Release: 1 | |
10 | License: GPL v2+ | |
11 | Group: X11/Applications | |
12 | Source0: https://download.gnome.org/sources/eog-plugins/44/%{name}-%{version}.tar.xz | |
13 | # Source0-md5: 1e2f61bd04521eb61f81727f5c5ef7be | |
14 | URL: https://wiki.gnome.org/Apps/EyeOfGnome | |
15 | BuildRequires: clutter-devel >= 1.9.4 | |
16 | BuildRequires: clutter-gtk-devel >= 1.1.2 | |
17 | BuildRequires: eog-devel >= 41.0 | |
18 | BuildRequires: gettext-tools >= 0.19.7 | |
19 | BuildRequires: glib2-devel >= 1:2.53.4 | |
20 | BuildRequires: gsettings-desktop-schemas-devel | |
21 | BuildRequires: gtk+3-devel >= 3.14.0 | |
22 | BuildRequires: libchamplain-devel >= 0.12.0 | |
23 | BuildRequires: libexif-devel >= 1:0.6.16 | |
24 | BuildRequires: libgdata-devel >= 0.9.1 | |
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 | |
29 | BuildRequires: pkgconfig | |
30 | BuildRequires: python3-devel >= 1:3.2 | |
31 | BuildRequires: rpm-pythonprov | |
32 | BuildRequires: rpmbuild(macros) >= 1.736 | |
33 | BuildRequires: tar >= 1:1.22 | |
34 | BuildRequires: xz | |
35 | Requires(post,postun): glib2 >= 1:2.53.4 | |
36 | Requires: clutter >= 1.9.4 | |
37 | Requires: clutter-gtk >= 1.1.2 | |
38 | Requires: eog >= 41.0 | |
39 | Requires: glib2 >= 1:2.53.4 | |
40 | Requires: gtk+3 >= 3.14.0 | |
41 | Requires: libchamplain >= 0.12.0 | |
42 | Requires: libexif >= 1:0.6.16 | |
43 | Requires: libgdata >= 0.9.1 | |
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} | |
48 | Suggests: python-pygobject3 >= 3.0.0 | |
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 | |
63 | ||
64 | %build | |
65 | %meson build \ | |
66 | %{?with_postr:-Dplugin_postr=true} | |
67 | ||
68 | %ninja_build -C build | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %ninja_install -C build | |
74 | ||
75 | %find_lang eog-plugins | |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %post | |
81 | %glib_compile_schemas | |
82 | ||
83 | %postun | |
84 | %glib_compile_schemas | |
85 | ||
86 | %files -f eog-plugins.lang | |
87 | %defattr(644,root,root,755) | |
88 | %doc AUTHORS MAINTAINERS NEWS README | |
89 | ||
90 | %{pluginsdir}/exif-display.plugin | |
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 | |
100 | ||
101 | %{pluginsdir}/fit-to-width.plugin | |
102 | %attr(755,root,root) %{pluginsdir}/libfit-to-width.so | |
103 | %{_datadir}/metainfo/eog-fit-to-width.appdata.xml | |
104 | ||
105 | %{pluginsdir}/fullscreenbg.plugin | |
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 | |
114 | ||
115 | %{pluginsdir}/map.plugin | |
116 | %attr(755,root,root) %{pluginsdir}/libmap.so | |
117 | %{_datadir}/metainfo/eog-map.appdata.xml | |
118 | ||
119 | %{pluginsdir}/maximize-windows.plugin | |
120 | %{pluginsdir}/maximize-windows.py | |
121 | %{_datadir}/metainfo/eog-maximize-windows.appdata.xml | |
122 | ||
123 | %{pluginsdir}/postasa.plugin | |
124 | %attr(755,root,root) %{pluginsdir}/libpostasa.so | |
125 | %{_datadir}/metainfo/eog-postasa.appdata.xml | |
126 | ||
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 | |
132 | ||
133 | %{pluginsdir}/pythonconsole.plugin | |
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 | |
138 | ||
139 | %{pluginsdir}/send-by-mail.plugin | |
140 | %attr(755,root,root) %{pluginsdir}/libsend-by-mail.so | |
141 | %{_datadir}/metainfo/eog-send-by-mail.appdata.xml | |
142 | ||
143 | %{pluginsdir}/slideshowshuffle.plugin | |
144 | %{pluginsdir}/slideshowshuffle.py | |
145 | %{_datadir}/metainfo/eog-slideshowshuffle.appdata.xml |