| 1 | %define pkg_version 3.4.0 |
|---|
| 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.4/%{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 Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
|---|
| 89 | - new upstream release |
|---|
| 90 | |
|---|
| 91 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
|---|
| 92 | - new upstream release |
|---|
| 93 | |
|---|
| 94 | * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
|---|
| 95 | - new upstream release |
|---|
| 96 | |
|---|
| 97 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
|---|
| 98 | - new upstream release |
|---|
| 99 | - add BuildRequires: postr |
|---|
| 100 | |
|---|
| 101 | * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.2-2 |
|---|
| 102 | - enable postr (upload picture to Flickr) |
|---|
| 103 | - enable postasa (upload picture to Picasa web) |
|---|
| 104 | - enable send-by-mail (Send picture to friends by evolution mail) |
|---|
| 105 | - add libgdata-devel to BR |
|---|
| 106 | - add README.vine |
|---|
| 107 | |
|---|
| 108 | * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
|---|
| 109 | - new upstream release |
|---|
| 110 | - add BuildRequires: libpeas-devel |
|---|
| 111 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
|---|
| 112 | - update Patch0 |
|---|
| 113 | |
|---|
| 114 | * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
|---|
| 115 | - new upstream release |
|---|
| 116 | - change BuildRequires: eog-devel instead of eog |
|---|
| 117 | |
|---|
| 118 | * Sat Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2 |
|---|
| 119 | - rebuild with libchamplain-0.8 |
|---|
| 120 | |
|---|
| 121 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
|---|
| 122 | - new upstream release |
|---|
| 123 | |
|---|
| 124 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
|---|
| 125 | - new upstream release |
|---|
| 126 | |
|---|
| 127 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1 |
|---|
| 128 | - initial build for Vine Linux |
|---|
| 129 | - exclude postr plugin |
|---|
| 130 | |
|---|