[8353] | 1 | %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
---|
[624] | 2 | |
---|
[9102] | 3 | %define pkg_version 3.14.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} |
---|
[9073] | 11 | Source0: http://download.gnome.org/sources/%{name}/3.14/%{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 |
---|
[9073] | 79 | %{_datadir}/appdata/eog-*.xml |
---|
[6890] | 80 | %{_datadir}/eog/plugins/pythonconsole/config.ui |
---|
[4616] | 81 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.exif-display.gschema.xml |
---|
[6890] | 82 | %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.pythonconsole.gschema.xml |
---|
[624] | 83 | |
---|
[6890] | 84 | |
---|
[4786] | 85 | %changelog |
---|
[9102] | 86 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
| 87 | - new upstream release |
---|
| 88 | |
---|
[9073] | 89 | * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 90 | - new upstream release |
---|
| 91 | |
---|
[8369] | 92 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[8353] | 95 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[8119] | 98 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 99 | - rebuild with VineSeed environment |
---|
| 100 | |
---|
[7938] | 101 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[7681] | 104 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[7633] | 107 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
[6951] | 110 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
[6890] | 113 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 114 | - new upstream release |
---|
| 115 | - add BuildRequires: gsettings-desktop-schemas-devel |
---|
| 116 | |
---|
[6273] | 117 | * Tue Jun 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
| 118 | - new upstream release |
---|
| 119 | - remove Patch0 |
---|
| 120 | |
---|
[6011] | 121 | * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[5335] | 124 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[4850] | 127 | * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[4812] | 130 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
| 131 | - new upstream release |
---|
| 132 | - add BuildRequires: postr |
---|
| 133 | |
---|
[4786] | 134 | * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.2-2 |
---|
| 135 | - enable postr (upload picture to Flickr) |
---|
| 136 | - enable postasa (upload picture to Picasa web) |
---|
| 137 | - enable send-by-mail (Send picture to friends by evolution mail) |
---|
| 138 | - add libgdata-devel to BR |
---|
| 139 | - add README.vine |
---|
[624] | 140 | |
---|
[4616] | 141 | * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
---|
| 142 | - new upstream release |
---|
| 143 | - add BuildRequires: libpeas-devel |
---|
| 144 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 145 | - update Patch0 |
---|
| 146 | |
---|
[2653] | 147 | * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 148 | - new upstream release |
---|
| 149 | - change BuildRequires: eog-devel instead of eog |
---|
| 150 | |
---|
[7633] | 151 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2 |
---|
[2041] | 152 | - rebuild with libchamplain-0.8 |
---|
| 153 | |
---|
[1251] | 154 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 155 | - new upstream release |
---|
| 156 | |
---|
[805] | 157 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 158 | - new upstream release |
---|
| 159 | |
---|
[624] | 160 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1 |
---|
| 161 | - initial build for Vine Linux |
---|
| 162 | - exclude postr plugin |
---|
| 163 | |
---|