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