[5335] | 1 | %define pkg_version 3.2.2 |
---|
[4812] | 2 | %define pkg_release 1%{?_dist_release} |
---|
[624] | 3 | |
---|
| 4 | Summary: Plugins for eog |
---|
| 5 | Summary(ja): eog用のプラグイン |
---|
| 6 | Name: eog-plugins |
---|
| 7 | Version: %{pkg_version} |
---|
| 8 | Release: %{pkg_release} |
---|
[4850] | 9 | Source0: http://download.gnome.org/sources/eog-plugins/3.2/%{name}-%{version}.tar.xz |
---|
[4786] | 10 | Source1: README.vine |
---|
[4616] | 11 | Patch0: %{name}-3.1.2-configure.patch |
---|
[624] | 12 | License: GPLv2+ |
---|
| 13 | Group: Applications/Graphics |
---|
| 14 | URL: http://live.gnome.org/EyeOfGnome/Plugins |
---|
| 15 | |
---|
[4616] | 16 | Requires: gtk3 |
---|
[624] | 17 | Requires: eog |
---|
| 18 | Requires: python |
---|
| 19 | Requires: gnome-python |
---|
| 20 | Requires: pygtk2 |
---|
| 21 | Requires: libexif |
---|
| 22 | Requires: libchamplain, libchamplain-gtk |
---|
[4616] | 23 | BuildRequires: gtk3-devel |
---|
[2653] | 24 | BuildRequires: eog-devel |
---|
[805] | 25 | BuildRequires: pygobject-devel |
---|
[624] | 26 | BuildRequires: gnome-python-devel |
---|
| 27 | BuildRequires: pygtk2-devel |
---|
| 28 | BuildRequires: libexif-devel |
---|
| 29 | BuildRequires: libchamplain-devel, libchamplain-gtk-devel |
---|
[4616] | 30 | BuildRequires: libpeas-devel |
---|
[4786] | 31 | BuildRequires: libgdata-devel |
---|
[4812] | 32 | BuildRequires: postr |
---|
[624] | 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 |
---|
[4616] | 50 | %patch0 -p1 -b .python |
---|
[624] | 51 | %endif |
---|
[4786] | 52 | %{__cp} %{SOURCE1} . |
---|
[624] | 53 | |
---|
| 54 | %build |
---|
[4786] | 55 | %configure --with-plugins=map,exif-display,fit-to-width,pythonconsole,slideshowshuffle,postr,postasa,send-by-mail |
---|
[624] | 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 | |
---|
[4616] | 72 | %postun |
---|
| 73 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[624] | 74 | |
---|
[4616] | 75 | %posttrans |
---|
| 76 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 77 | |
---|
| 78 | |
---|
[624] | 79 | %files -f %{name}.lang |
---|
| 80 | %defattr(-,root,root) |
---|
[4786] | 81 | %doc COPYING ChangeLog NEWS README README.vine |
---|
[624] | 82 | %{_libdir}/* |
---|
[4616] | 83 | %{_datadir}/eog/plugins/exif-display/*.ui |
---|
[4786] | 84 | %{_datadir}/eog/plugins/postasa |
---|
[4616] | 85 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.exif-display.gschema.xml |
---|
[624] | 86 | |
---|
[4786] | 87 | %changelog |
---|
[5335] | 88 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 89 | - new upstream release |
---|
| 90 | |
---|
[4850] | 91 | * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[4812] | 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 | |
---|
[4786] | 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 |
---|
[624] | 104 | |
---|
[4616] | 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 | |
---|
[2653] | 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 | |
---|
[2041] | 115 | * Sat Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2 |
---|
| 116 | - rebuild with libchamplain-0.8 |
---|
| 117 | |
---|
[1251] | 118 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
[805] | 121 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[624] | 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 | |
---|