[11672] | 1 | %define major_ver 1.20 |
---|
| 2 | %define ver %{major_ver}.0 |
---|
[11021] | 3 | %define rel 1 |
---|
| 4 | |
---|
[8359] | 5 | Summary: An image viewing and cataloging program for MATE |
---|
| 6 | Name: eom |
---|
[11021] | 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
| 9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
[8359] | 10 | License: GPLv2 |
---|
| 11 | Group: Applications/Graphics |
---|
| 12 | URL: http://mate-desktop.org/ |
---|
| 13 | |
---|
| 14 | BuildRequires: mate-common |
---|
| 15 | BuildRequires: mate-desktop-devel |
---|
| 16 | BuildRequires: mate-icon-theme |
---|
[11021] | 17 | BuildRequires: gtk3-devel |
---|
| 18 | BuildRequires: libpeas-devel |
---|
[8359] | 19 | BuildRequires: dbus-glib-devel |
---|
| 20 | BuildRequires: libxml2-devel |
---|
| 21 | BuildRequires: librsvg2-devel |
---|
| 22 | BuildRequires: libexif-devel |
---|
[9552] | 23 | BuildRequires: lcms2-devel |
---|
[8359] | 24 | BuildRequires: exempi-devel |
---|
| 25 | BuildRequires: libjpeg-turbo-devel |
---|
| 26 | BuildRequires: itstool |
---|
| 27 | BuildRequires: gtk-doc |
---|
| 28 | BuildRequires: autoconf |
---|
| 29 | BuildRequires: automake |
---|
| 30 | |
---|
| 31 | Requires(posttrans,postun): glib2 |
---|
| 32 | Requires(post,postun): desktop-file-utils |
---|
| 33 | |
---|
| 34 | Obsoletes: mate-image-viewer < 1.8.0 |
---|
| 35 | Provides: mate-image-viewer = %{version}-%{release} |
---|
| 36 | |
---|
| 37 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 38 | |
---|
| 39 | Vendor: Project Vine |
---|
| 40 | Distribution: Vine Linux |
---|
[10907] | 41 | Packager: Takemikaduchi, iwaim |
---|
[8359] | 42 | |
---|
| 43 | |
---|
| 44 | %description |
---|
| 45 | This is the Eye of MATE, an image viewer program. It is meant to be |
---|
| 46 | a fast and functional image viewer. |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %package devel |
---|
| 50 | Summary: Development tools for mate-image-viewer |
---|
| 51 | Summary(ja): mate-image-viewer の開発環境 |
---|
| 52 | Group: Development/Libraries |
---|
| 53 | Requires: %{name} = %{version}-%{release} |
---|
| 54 | Requires: pkgconfig |
---|
| 55 | Obsoletes: mate-image-viewer-devel < 1.8.0 |
---|
| 56 | Provides: mate-image-viewer-devel = %{version}-%{release} |
---|
| 57 | |
---|
| 58 | %description devel |
---|
| 59 | Header files and libraries for building a extension library for the |
---|
| 60 | mate-image-viewer. |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %package docs |
---|
| 64 | Summary: Documentation for mate-image-viewer |
---|
| 65 | Summary(ja): mate-image-viewer 用のドキュメント |
---|
| 66 | Group: Documentation |
---|
| 67 | Requires: %{name} = %{version}-%{release} |
---|
| 68 | BuildArch: noarch |
---|
| 69 | Obsoletes: mate-image-viewer-docs < 1.8.0 |
---|
| 70 | Provides: mate-image-viewer-docs = %{version}-%{release} |
---|
| 71 | |
---|
| 72 | %description docs |
---|
| 73 | This package contains documentation for mate-image-viewer. |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %prep |
---|
| 77 | %setup -q |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %build |
---|
| 81 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 82 | %configure \ |
---|
| 83 | --disable-static |
---|
| 84 | |
---|
| 85 | %{__make} %{?_smp_mflags} |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %install |
---|
| 89 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 90 | |
---|
| 91 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 92 | |
---|
| 93 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 94 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 95 | |
---|
| 96 | %find_lang %{name} |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | %clean |
---|
| 100 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 101 | |
---|
| 102 | %post |
---|
| 103 | /sbin/ldconfig |
---|
| 104 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 105 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 106 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 107 | |
---|
| 108 | %postun |
---|
| 109 | /sbin/ldconfig |
---|
| 110 | if [ $1 -eq 0 ]; then |
---|
| 111 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 112 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 113 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 114 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 115 | fi |
---|
| 116 | |
---|
| 117 | %posttrans |
---|
| 118 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | %files -f %{name}.lang |
---|
| 122 | %defattr(-,root,root,-) |
---|
| 123 | %doc COPYING ChangeLog NEWS README |
---|
| 124 | %{_bindir}/%{name} |
---|
| 125 | %{_libdir}/%{name}/plugins |
---|
[9552] | 126 | %{_libdir}/girepository-1.0/Eom-1.0.typelib |
---|
| 127 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
[8359] | 128 | %{_datadir}/applications/%{name}.desktop |
---|
[9552] | 129 | %{_datadir}/glib-2.0/schemas/org.mate.%{name}.enums.xml |
---|
| 130 | %{_datadir}/glib-2.0/schemas/org.mate.%{name}.gschema.xml |
---|
[8359] | 131 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 132 | %{_datadir}/help/* |
---|
| 133 | %{_datadir}/%{name} |
---|
[10907] | 134 | %{_mandir}/man1/%{name}.1* |
---|
[8359] | 135 | |
---|
| 136 | %files devel |
---|
| 137 | %defattr(-,root,root,-) |
---|
| 138 | %{_includedir}/%{name}-2.20 |
---|
| 139 | %{_libdir}/pkgconfig/%{name}.pc |
---|
[9552] | 140 | %{_datadir}/gir-1.0/Eom-1.0.gir |
---|
[8359] | 141 | |
---|
| 142 | %files docs |
---|
| 143 | %defattr(-,root,root,-) |
---|
| 144 | %{_datadir}/gtk-doc/html/%{name} |
---|
| 145 | |
---|
| 146 | |
---|
| 147 | %changelog |
---|
[11672] | 148 | * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1 |
---|
| 149 | - update to 1.20.0 |
---|
| 150 | |
---|
[11420] | 151 | * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1 |
---|
| 152 | - update to 1.18.3 |
---|
| 153 | |
---|
[11081] | 154 | * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
| 155 | - update to 1.18.2 |
---|
| 156 | |
---|
[11021] | 157 | * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
| 158 | - update to 1.18.1 |
---|
| 159 | - move to GTK3+ |
---|
| 160 | - add BR: libpeas-devel |
---|
| 161 | - drop BR: python-devel and pygtk2-devel; upstream droped Python bindings |
---|
| 162 | |
---|
[10967] | 163 | * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
| 164 | - update to 1.16.1 |
---|
| 165 | |
---|
[10907] | 166 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
| 167 | - new upstream release |
---|
| 168 | - update Packager |
---|
| 169 | |
---|
[10327] | 170 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
| 171 | - new upstream release |
---|
| 172 | |
---|
[10255] | 173 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 174 | - new upstream release |
---|
| 175 | |
---|
[10039] | 176 | * Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
| 177 | - new upstream release |
---|
| 178 | |
---|
[9876] | 179 | * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
[9797] | 182 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
[9760] | 185 | * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1 |
---|
| 186 | - new upstream release |
---|
| 187 | |
---|
[9667] | 188 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1 |
---|
| 189 | - new upstream release |
---|
| 190 | |
---|
[9661] | 191 | * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
[9601] | 194 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 195 | - new upstream release |
---|
| 196 | - add BuildRequires: python-devel, pygtk2-devel |
---|
| 197 | |
---|
[9552] | 198 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 199 | - new upstream release |
---|
| 200 | - add BuildRequires: lcms2-devel |
---|
| 201 | - remove BuildRequires: lcms-devel |
---|
| 202 | - remove Patch0 (mate-image-viewer-1.2.0-configure.patch) |
---|
| 203 | |
---|
[9120] | 204 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
[8359] | 207 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 208 | - new upstream release |
---|
| 209 | - rename package |
---|
| 210 | - add BuildRequires: itstool |
---|
| 211 | |
---|
| 212 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 213 | - rebuild with VineSeed environment |
---|
| 214 | |
---|
| 215 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 216 | - new upstream release |
---|
| 217 | |
---|
| 218 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 219 | - new upstream release |
---|
| 220 | - remove BuildRequires: mate-conf-devel |
---|
| 221 | |
---|
| 222 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 223 | - new upstream release |
---|
| 224 | |
---|
| 225 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 226 | - new upstream release |
---|
| 227 | - add Patch0 (mate-image-viewer-1.2.0-configure.patch) |
---|
| 228 | |
---|
| 229 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 230 | - change category |
---|
| 231 | |
---|
| 232 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 233 | - initial build for Vine Linux |
---|
| 234 | |
---|