[8353] | 1 | %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
---|
[624] | 2 | |
---|
[9804] | 3 | %define pkg_version 3.16.3 |
---|
[9475] | 4 | %define pkg_release 1%{?_dist_release} |
---|
[8353] | 5 | |
---|
[624] | 6 | Summary: Plugins for eog |
---|
| 7 | Summary(ja): eog用のプラグイン |
---|
| 8 | Name: eog-plugins |
---|
| 9 | Version: %{pkg_version} |
---|
| 10 | Release: %{pkg_release} |
---|
[9475] | 11 | Source0: http://download.gnome.org/sources/%{name}/3.16/%{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 |
---|
[9804] | 86 | * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.3-1 |
---|
| 87 | - new upstream release |
---|
| 88 | |
---|
[9761] | 89 | * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1 |
---|
| 90 | - new upstream release |
---|
| 91 | |
---|
[9724] | 92 | * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[9475] | 95 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[9249] | 98 | * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-2 |
---|
| 99 | - rebuild with python-3.4.2 |
---|
| 100 | |
---|
[9102] | 101 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[9073] | 104 | * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[8369] | 107 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
[8353] | 110 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
[8119] | 113 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 114 | - rebuild with VineSeed environment |
---|
| 115 | |
---|
[7938] | 116 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 117 | - new upstream release |
---|
| 118 | |
---|
[7681] | 119 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
[7633] | 122 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 123 | - new upstream release |
---|
| 124 | |
---|
[6951] | 125 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[6890] | 128 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 129 | - new upstream release |
---|
| 130 | - add BuildRequires: gsettings-desktop-schemas-devel |
---|
| 131 | |
---|
[6273] | 132 | * Tue Jun 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
| 133 | - new upstream release |
---|
| 134 | - remove Patch0 |
---|
| 135 | |
---|
[6011] | 136 | * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 137 | - new upstream release |
---|
| 138 | |
---|
[5335] | 139 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[4850] | 142 | * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
[4812] | 145 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
| 146 | - new upstream release |
---|
| 147 | - add BuildRequires: postr |
---|
| 148 | |
---|
[4786] | 149 | * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.2-2 |
---|
| 150 | - enable postr (upload picture to Flickr) |
---|
| 151 | - enable postasa (upload picture to Picasa web) |
---|
| 152 | - enable send-by-mail (Send picture to friends by evolution mail) |
---|
| 153 | - add libgdata-devel to BR |
---|
| 154 | - add README.vine |
---|
[624] | 155 | |
---|
[4616] | 156 | * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
---|
| 157 | - new upstream release |
---|
| 158 | - add BuildRequires: libpeas-devel |
---|
| 159 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 160 | - update Patch0 |
---|
| 161 | |
---|
[2653] | 162 | * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 163 | - new upstream release |
---|
| 164 | - change BuildRequires: eog-devel instead of eog |
---|
| 165 | |
---|
[7633] | 166 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2 |
---|
[2041] | 167 | - rebuild with libchamplain-0.8 |
---|
| 168 | |
---|
[1251] | 169 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 170 | - new upstream release |
---|
| 171 | |
---|
[805] | 172 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 173 | - new upstream release |
---|
| 174 | |
---|
[624] | 175 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1 |
---|
| 176 | - initial build for Vine Linux |
---|
| 177 | - exclude postr plugin |
---|
| 178 | |
---|