]>
Commit | Line | Data |
---|---|---|
38107eb4 MB |
1 | Summary: A collection of plugins for the EOG image viewer |
2 | Summary(pl.UTF-8): Zestaw wtyczek do przeglądarki obrazków EOG | |
3 | Name: eog-plugins | |
f95a9219 | 4 | Version: 3.1.2 |
46b0f424 | 5 | Release: 2 |
38107eb4 MB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
f95a9219 AF |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/eog-plugins/3.1/%{name}-%{version}.tar.xz |
9 | # Source0-md5: ac31d5a89661ca502cd05a366908483b | |
87b58b6c | 10 | Patch0: %{name}-configure.patch |
46b0f424 | 11 | Patch1: champlain-0.12.patch |
38107eb4 | 12 | URL: http://live.gnome.org/EyeOfGnome/Plugins |
38107eb4 MB |
13 | BuildRequires: autoconf >= 2.59 |
14 | BuildRequires: automake >= 1:1.9 | |
15 | BuildRequires: clutter-gtk-devel >= 0.10.0 | |
bc21adc5 | 16 | BuildRequires: eog-devel >= 3.0.0 |
38107eb4 | 17 | BuildRequires: gettext-devel |
bc21adc5 | 18 | BuildRequires: gtk+3-devel >= 3.0.0 |
38107eb4 | 19 | BuildRequires: intltool >= 0.40.0 |
46b0f424 | 20 | BuildRequires: libchamplain-devel >= 0.12.0 |
38107eb4 | 21 | BuildRequires: libexif-devel >= 0.6.16 |
87b58b6c | 22 | BuildRequires: libgdata-devel >= 0.8.0 |
bc21adc5 | 23 | BuildRequires: libpeas-devel >= 1.0.0 |
38107eb4 MB |
24 | BuildRequires: libtool |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: python-devel >= 1:2.3 | |
d1bcfdb4 | 27 | BuildRequires: rpm-pythonprov |
87b58b6c | 28 | BuildRequires: rpmbuild(macros) >= 1.592 |
f95a9219 AF |
29 | BuildRequires: tar >= 1:1.22 |
30 | BuildRequires: xz | |
87b58b6c MB |
31 | Requires(post,postun): glib2 >= 1:2.26.0 |
32 | Requires: eog >= 3.0.0 | |
38107eb4 | 33 | Suggests: postr |
87b58b6c | 34 | Suggests: python-pygobject >= 2.28.0 |
38107eb4 MB |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %define pluginsdir %{_libdir}/eog/plugins | |
38 | ||
39 | %description | |
40 | This package provides collection of plugins for use with the Eye of | |
41 | GNOME Image Viewer. | |
42 | ||
43 | %description -l pl.UTF-8 | |
44 | Ten pakiet dostarcza zestaw wtyczek do przeglądarki obrazków Eye of | |
45 | GNOME (Oko GNOME). | |
46 | ||
47 | %prep | |
48 | %setup -q | |
87b58b6c | 49 | %patch0 -p1 |
46b0f424 | 50 | %patch1 -p1 |
38107eb4 MB |
51 | |
52 | %build | |
53 | %{__intltoolize} | |
54 | %{__libtoolize} | |
55 | %{__aclocal} | |
56 | %{__autoconf} | |
57 | %{__autoheader} | |
58 | %{__automake} | |
7c502027 MB |
59 | %configure \ |
60 | --disable-silent-rules | |
38107eb4 MB |
61 | %{__make} |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
bc21adc5 | 69 | %{__rm} $RPM_BUILD_ROOT%{pluginsdir}/*.{la,py} |
38107eb4 MB |
70 | |
71 | %find_lang eog-plugins | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
87b58b6c MB |
76 | %post |
77 | %glib_compile_schemas | |
78 | ||
79 | %postun | |
80 | %glib_compile_schemas | |
81 | ||
38107eb4 MB |
82 | %files -f eog-plugins.lang |
83 | %defattr(644,root,root,755) | |
84 | %doc AUTHORS ChangeLog NEWS README | |
bc21adc5 | 85 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.exif-display.gschema.xml |
38107eb4 | 86 | |
38107eb4 | 87 | %attr(755,root,root) %{pluginsdir}/libexif-display.so |
bc21adc5 | 88 | %{pluginsdir}/exif-display.plugin |
f95a9219 | 89 | %{_datadir}/eog/plugins/exif-display |
38107eb4 MB |
90 | |
91 | %attr(755,root,root) %{pluginsdir}/libfit-to-width.so | |
bc21adc5 | 92 | %{pluginsdir}/fit-to-width.plugin |
38107eb4 | 93 | |
75535c61 | 94 | %attr(755,root,root) %{pluginsdir}/libmap.so |
95 | %{pluginsdir}/map.plugin | |
7c502027 | 96 | |
87b58b6c MB |
97 | %attr(755,root,root) %{pluginsdir}/libpostr.so |
98 | %{pluginsdir}/postr.plugin | |
38107eb4 | 99 | |
f95a9219 AF |
100 | %attr(755,root,root) %{pluginsdir}/libpostasa.so |
101 | %{pluginsdir}/postasa.plugin | |
102 | %{_datadir}/eog/plugins/postasa | |
103 | ||
104 | %{pluginsdir}/pythonconsole/*.py* | |
bc21adc5 | 105 | %{pluginsdir}/pythonconsole.plugin |
38107eb4 | 106 | |
7c502027 | 107 | %attr(755,root,root) %{pluginsdir}/libsend-by-mail.so |
bc21adc5 | 108 | %{pluginsdir}/send-by-mail.plugin |
7c502027 | 109 | |
38107eb4 | 110 | %{pluginsdir}/slideshowshuffle.py[co] |
bc21adc5 | 111 | %{pluginsdir}/slideshowshuffle.plugin |