1 | %define pkg_version 3.2.2 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: Plugins for eog |
---|
5 | Summary(ja): eog用のプラグイン |
---|
6 | Name: eog-plugins |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | Source0: http://download.gnome.org/sources/eog-plugins/3.2/%{name}-%{version}.tar.xz |
---|
10 | Source1: README.vine |
---|
11 | Patch0: %{name}-3.1.2-configure.patch |
---|
12 | License: GPLv2+ |
---|
13 | Group: Applications/Graphics |
---|
14 | URL: http://live.gnome.org/EyeOfGnome/Plugins |
---|
15 | |
---|
16 | Requires: gtk3 |
---|
17 | Requires: eog |
---|
18 | Requires: python |
---|
19 | Requires: gnome-python |
---|
20 | Requires: pygtk2 |
---|
21 | Requires: libexif |
---|
22 | Requires: libchamplain, libchamplain-gtk |
---|
23 | BuildRequires: gtk3-devel |
---|
24 | BuildRequires: eog-devel |
---|
25 | BuildRequires: pygobject-devel |
---|
26 | BuildRequires: gnome-python-devel |
---|
27 | BuildRequires: pygtk2-devel |
---|
28 | BuildRequires: libexif-devel |
---|
29 | BuildRequires: libchamplain-devel, libchamplain-gtk-devel |
---|
30 | BuildRequires: libpeas-devel |
---|
31 | BuildRequires: libgdata-devel |
---|
32 | BuildRequires: postr |
---|
33 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
34 | |
---|
35 | Vendor: Project Vine |
---|
36 | Distribution: Vine Linux |
---|
37 | Packager: Takemikaduchi |
---|
38 | |
---|
39 | |
---|
40 | %description |
---|
41 | It's a collection of plugins for use with the Eye of GNOME Image Viewer. |
---|
42 | |
---|
43 | %description -l ja |
---|
44 | Eye of GNOME イメージビューア用のプラグイン集 |
---|
45 | |
---|
46 | |
---|
47 | %prep |
---|
48 | %setup -q |
---|
49 | %ifarch x86_64 |
---|
50 | %patch0 -p1 -b .python |
---|
51 | %endif |
---|
52 | %{__cp} %{SOURCE1} . |
---|
53 | |
---|
54 | %build |
---|
55 | %configure --with-plugins=map,exif-display,fit-to-width,pythonconsole,slideshowshuffle,postr,postasa,send-by-mail |
---|
56 | %{__make} %{?_smp_mflags} |
---|
57 | |
---|
58 | |
---|
59 | %install |
---|
60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
61 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
62 | |
---|
63 | # remove *.la |
---|
64 | %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/eog/plugins/*.la |
---|
65 | |
---|
66 | %find_lang %{name} |
---|
67 | |
---|
68 | |
---|
69 | %clean |
---|
70 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
71 | |
---|
72 | %postun |
---|
73 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
74 | |
---|
75 | %posttrans |
---|
76 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
77 | |
---|
78 | |
---|
79 | %files -f %{name}.lang |
---|
80 | %defattr(-,root,root) |
---|
81 | %doc COPYING ChangeLog NEWS README README.vine |
---|
82 | %{_libdir}/* |
---|
83 | %{_datadir}/eog/plugins/exif-display/*.ui |
---|
84 | %{_datadir}/eog/plugins/postasa |
---|
85 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.exif-display.gschema.xml |
---|
86 | |
---|
87 | %changelog |
---|
88 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
89 | - new upstream release |
---|
90 | |
---|
91 | * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
92 | - new upstream release |
---|
93 | |
---|
94 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
95 | - new upstream release |
---|
96 | - add BuildRequires: postr |
---|
97 | |
---|
98 | * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.2-2 |
---|
99 | - enable postr (upload picture to Flickr) |
---|
100 | - enable postasa (upload picture to Picasa web) |
---|
101 | - enable send-by-mail (Send picture to friends by evolution mail) |
---|
102 | - add libgdata-devel to BR |
---|
103 | - add README.vine |
---|
104 | |
---|
105 | * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
---|
106 | - new upstream release |
---|
107 | - add BuildRequires: libpeas-devel |
---|
108 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
109 | - update Patch0 |
---|
110 | |
---|
111 | * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
112 | - new upstream release |
---|
113 | - change BuildRequires: eog-devel instead of eog |
---|
114 | |
---|
115 | * Sat Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2 |
---|
116 | - rebuild with libchamplain-0.8 |
---|
117 | |
---|
118 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1 |
---|
125 | - initial build for Vine Linux |
---|
126 | - exclude postr plugin |
---|
127 | |
---|