| 1 | %define pkg_version 2.30.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/2.30/%{name}-%{version}.tar.bz2 |
|---|
| 10 | Patch0: eog-plugins-2.28.1-configure.patch |
|---|
| 11 | License: GPLv2+ |
|---|
| 12 | Group: Applications/Graphics |
|---|
| 13 | URL: http://live.gnome.org/EyeOfGnome/Plugins |
|---|
| 14 | |
|---|
| 15 | Requires: gtk2 |
|---|
| 16 | Requires: eog |
|---|
| 17 | Requires: python |
|---|
| 18 | Requires: gnome-python |
|---|
| 19 | Requires: pygtk2 |
|---|
| 20 | Requires: libexif |
|---|
| 21 | Requires: libchamplain, libchamplain-gtk |
|---|
| 22 | BuildRequires: gtk2-devel |
|---|
| 23 | BuildRequires: eog-devel |
|---|
| 24 | BuildRequires: pygobject-devel |
|---|
| 25 | BuildRequires: gnome-python-devel |
|---|
| 26 | BuildRequires: pygtk2-devel |
|---|
| 27 | BuildRequires: libexif-devel |
|---|
| 28 | BuildRequires: libchamplain-devel, libchamplain-gtk-devel |
|---|
| 29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 30 | |
|---|
| 31 | Vendor: Project Vine |
|---|
| 32 | Distribution: Vine Linux |
|---|
| 33 | Packager: Takemikaduchi |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | %description |
|---|
| 37 | It's a collection of plugins for use with the Eye of GNOME Image Viewer. |
|---|
| 38 | |
|---|
| 39 | %description -l ja |
|---|
| 40 | Eye of GNOME イメージビューア用のプラグイン集 |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | %prep |
|---|
| 44 | %setup -q |
|---|
| 45 | %ifarch x86_64 |
|---|
| 46 | %patch0 -p1 -b .patch0 |
|---|
| 47 | %endif |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | %build |
|---|
| 51 | %configure --with-plugins=map,exif-display,fit-to-width,pythonconsole,slideshowshuffle |
|---|
| 52 | %{__make} %{?_smp_mflags} |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | %install |
|---|
| 56 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 57 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 58 | |
|---|
| 59 | # remove *.la |
|---|
| 60 | %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/eog/plugins/*.la |
|---|
| 61 | |
|---|
| 62 | %find_lang %{name} |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | %clean |
|---|
| 66 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 67 | |
|---|
| 68 | |
|---|
| 69 | %files -f %{name}.lang |
|---|
| 70 | %defattr(-,root,root) |
|---|
| 71 | %doc COPYING ChangeLog NEWS README |
|---|
| 72 | %{_libdir}/* |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | %changelog |
|---|
| 76 | * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
|---|
| 77 | - new upstream release |
|---|
| 78 | - change BuildRequires: eog-devel instead of eog |
|---|
| 79 | |
|---|
| 80 | * Sat Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2 |
|---|
| 81 | - rebuild with libchamplain-0.8 |
|---|
| 82 | |
|---|
| 83 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
|---|
| 84 | - new upstream release |
|---|
| 85 | |
|---|
| 86 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
|---|
| 87 | - new upstream release |
|---|
| 88 | |
|---|
| 89 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1 |
|---|
| 90 | - initial build for Vine Linux |
|---|
| 91 | - exclude postr plugin |
|---|
| 92 | |
|---|