[8353] | 1 | %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
---|
[624] | 2 | |
---|
[8369] | 3 | %define pkg_version 3.12.1 |
---|
[8353] | 4 | %define pkg_release 1%{?_dist_release} |
---|
| 5 | |
---|
[624] | 6 | Summary: Plugins for eog |
---|
| 7 | Summary(ja): eog用のプラグイン |
---|
| 8 | Name: eog-plugins |
---|
| 9 | Version: %{pkg_version} |
---|
| 10 | Release: %{pkg_release} |
---|
[8353] | 11 | Source0: http://download.gnome.org/sources/%{name}/3.12/%{name}-%{version}.tar.xz |
---|
[4786] | 12 | Source1: README.vine |
---|
[624] | 13 | License: GPLv2+ |
---|
| 14 | Group: Applications/Graphics |
---|
| 15 | URL: http://live.gnome.org/EyeOfGnome/Plugins |
---|
| 16 | |
---|
[4616] | 17 | BuildRequires: gtk3-devel |
---|
[2653] | 18 | BuildRequires: eog-devel |
---|
[624] | 19 | BuildRequires: libexif-devel |
---|
| 20 | BuildRequires: libchamplain-devel, libchamplain-gtk-devel |
---|
[4616] | 21 | BuildRequires: libpeas-devel |
---|
[6890] | 22 | BuildRequires: gsettings-desktop-schemas-devel |
---|
[4786] | 23 | BuildRequires: libgdata-devel |
---|
[8353] | 24 | BuildRequires: python3-devel |
---|
[4812] | 25 | BuildRequires: postr |
---|
[6890] | 26 | |
---|
| 27 | Requires: eog |
---|
| 28 | Requires(postun,posttrans): glib2 |
---|
| 29 | |
---|
[624] | 30 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 31 | |
---|
| 32 | Vendor: Project Vine |
---|
| 33 | Distribution: Vine Linux |
---|
| 34 | Packager: Takemikaduchi |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | It's a collection of plugins for use with the Eye of GNOME Image Viewer. |
---|
| 39 | |
---|
| 40 | %description -l ja |
---|
| 41 | Eye of GNOME イメージビューア用のプラグイン集 |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q |
---|
[4786] | 46 | %{__cp} %{SOURCE1} . |
---|
[624] | 47 | |
---|
| 48 | %build |
---|
[4786] | 49 | %configure --with-plugins=map,exif-display,fit-to-width,pythonconsole,slideshowshuffle,postr,postasa,send-by-mail |
---|
[624] | 50 | %{__make} %{?_smp_mflags} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 55 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 56 | |
---|
| 57 | # remove *.la |
---|
| 58 | %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/eog/plugins/*.la |
---|
| 59 | |
---|
| 60 | %find_lang %{name} |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 65 | |
---|
[4616] | 66 | %postun |
---|
[7633] | 67 | if [ $1 -eq 0 ]; then |
---|
| 68 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 69 | fi |
---|
[624] | 70 | |
---|
[4616] | 71 | %posttrans |
---|
| 72 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 73 | |
---|
| 74 | |
---|
[624] | 75 | %files -f %{name}.lang |
---|
| 76 | %defattr(-,root,root) |
---|
[4786] | 77 | %doc COPYING ChangeLog NEWS README README.vine |
---|
[7633] | 78 | %{_libdir}/eog/plugins |
---|
[6890] | 79 | %{_datadir}/eog/plugins/pythonconsole/config.ui |
---|
[4616] | 80 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.exif-display.gschema.xml |
---|
[6890] | 81 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.pythonconsole.gschema.xml |
---|
[624] | 82 | |
---|
[6890] | 83 | |
---|
[4786] | 84 | %changelog |
---|
[8369] | 85 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
[8353] | 88 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 89 | - new upstream release |
---|
| 90 | |
---|
[8119] | 91 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 92 | - rebuild with VineSeed environment |
---|
| 93 | |
---|
[7938] | 94 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[7681] | 97 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[7633] | 100 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[6951] | 103 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[6890] | 106 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 107 | - new upstream release |
---|
| 108 | - add BuildRequires: gsettings-desktop-schemas-devel |
---|
| 109 | |
---|
[6273] | 110 | * Tue Jun 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
| 111 | - new upstream release |
---|
| 112 | - remove Patch0 |
---|
| 113 | |
---|
[6011] | 114 | * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[5335] | 117 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[4850] | 120 | * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[4812] | 123 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
| 124 | - new upstream release |
---|
| 125 | - add BuildRequires: postr |
---|
| 126 | |
---|
[4786] | 127 | * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.2-2 |
---|
| 128 | - enable postr (upload picture to Flickr) |
---|
| 129 | - enable postasa (upload picture to Picasa web) |
---|
| 130 | - enable send-by-mail (Send picture to friends by evolution mail) |
---|
| 131 | - add libgdata-devel to BR |
---|
| 132 | - add README.vine |
---|
[624] | 133 | |
---|
[4616] | 134 | * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
---|
| 135 | - new upstream release |
---|
| 136 | - add BuildRequires: libpeas-devel |
---|
| 137 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 138 | - update Patch0 |
---|
| 139 | |
---|
[2653] | 140 | * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 141 | - new upstream release |
---|
| 142 | - change BuildRequires: eog-devel instead of eog |
---|
| 143 | |
---|
[7633] | 144 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2 |
---|
[2041] | 145 | - rebuild with libchamplain-0.8 |
---|
| 146 | |
---|
[1251] | 147 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[805] | 150 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[624] | 153 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1 |
---|
| 154 | - initial build for Vine Linux |
---|
| 155 | - exclude postr plugin |
---|
| 156 | |
---|