[5311] | 1 | Summary: An image viewing and cataloging program for MATE |
---|
| 2 | Name: mate-image-viewer |
---|
[7821] | 3 | Version: 1.6.1 |
---|
[8068] | 4 | Release: 2%{?_dist_release} |
---|
[7697] | 5 | Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
[5316] | 7 | Group: Applications/Graphics |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: mate-doc-utils |
---|
| 12 | BuildRequires: mate-desktop-devel |
---|
| 13 | BuildRequires: mate-icon-theme |
---|
| 14 | BuildRequires: gtk2-devel |
---|
| 15 | BuildRequires: dbus-glib-devel |
---|
| 16 | BuildRequires: libxml2-devel |
---|
| 17 | BuildRequires: librsvg2-devel |
---|
| 18 | BuildRequires: libexif-devel |
---|
| 19 | BuildRequires: lcms-devel |
---|
| 20 | BuildRequires: exempi-devel |
---|
| 21 | BuildRequires: libjpeg-turbo-devel |
---|
| 22 | BuildRequires: gtk-doc |
---|
| 23 | BuildRequires: autoconf |
---|
| 24 | BuildRequires: automake |
---|
| 25 | |
---|
[7697] | 26 | Requires(posttrans,postun): glib2 |
---|
[5311] | 27 | Requires(post,postun): desktop-file-utils |
---|
| 28 | |
---|
| 29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 30 | |
---|
[6172] | 31 | Patch0: mate-image-viewer-1.2.0-configure.patch |
---|
| 32 | |
---|
[5311] | 33 | Vendor: Project Vine |
---|
| 34 | Distribution: Vine Linux |
---|
| 35 | Packager: Takemikaduchi |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %description |
---|
| 39 | This is the Eye of MATE, an image viewer program. It is meant to be |
---|
| 40 | a fast and functional image viewer. |
---|
| 41 | |
---|
| 42 | |
---|
[7821] | 43 | %package devel |
---|
[5311] | 44 | Summary: Development tools for mate-image-viewer |
---|
| 45 | Summary(ja): mate-image-viewer の開発環境 |
---|
| 46 | Group: Development/Libraries |
---|
| 47 | Requires: %{name} = %{version}-%{release} |
---|
| 48 | Requires: pkgconfig |
---|
| 49 | |
---|
| 50 | %description devel |
---|
| 51 | Header files and libraries for building a extension library for the |
---|
| 52 | mate-image-viewer. |
---|
| 53 | |
---|
| 54 | |
---|
[7821] | 55 | %package docs |
---|
[5311] | 56 | Summary: Documentation for mate-image-viewer |
---|
| 57 | Summary(ja): mate-image-viewer 用のドキュメント |
---|
| 58 | Group: Documentation |
---|
| 59 | Requires: %{name} = %{version}-%{release} |
---|
| 60 | BuildArch: noarch |
---|
| 61 | |
---|
[7821] | 62 | %description docs |
---|
[5311] | 63 | This package contains documentation for mate-image-viewer. |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %prep |
---|
| 67 | %setup -q |
---|
[6172] | 68 | %patch0 -p1 |
---|
[5311] | 69 | |
---|
| 70 | |
---|
| 71 | %build |
---|
| 72 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 73 | %configure \ |
---|
[7697] | 74 | --disable-static |
---|
[5311] | 75 | |
---|
| 76 | %{__make} %{?_smp_mflags} |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %install |
---|
| 80 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 81 | |
---|
| 82 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 83 | |
---|
| 84 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 85 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 86 | |
---|
| 87 | %find_lang eom |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %clean |
---|
| 91 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 92 | |
---|
| 93 | %post |
---|
| 94 | /sbin/ldconfig |
---|
| 95 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 96 | touch --no-create %{_datadir}/icons/hicolor |
---|
[7697] | 97 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 98 | |
---|
| 99 | %postun |
---|
| 100 | /sbin/ldconfig |
---|
[7697] | 101 | if [ $1 -eq 0 ]; then |
---|
| 102 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 103 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 104 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 105 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 106 | fi |
---|
| 107 | |
---|
[7697] | 108 | %posttrans |
---|
| 109 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 110 | |
---|
[7697] | 111 | |
---|
[5311] | 112 | %files -f eom.lang |
---|
| 113 | %defattr(-,root,root,-) |
---|
| 114 | %doc COPYING ChangeLog NEWS README |
---|
| 115 | %{_bindir}/eom |
---|
| 116 | %{_libdir}/eom/plugins |
---|
[7697] | 117 | %{_datadir}/MateConf/gsettings/eom.convert |
---|
[5311] | 118 | %{_datadir}/applications/eom.desktop |
---|
[7697] | 119 | %{_datadir}/glib-2.0/schemas/org.mate.eom.gschema.xml |
---|
[5311] | 120 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 121 | %{_datadir}/mate/help/eom |
---|
[7821] | 122 | %{_datadir}/%{name} |
---|
[5311] | 123 | %{_datadir}/omf/eom |
---|
[7821] | 124 | %{_mandir}/man1/eom.1.gz |
---|
[5311] | 125 | |
---|
| 126 | %files devel |
---|
| 127 | %defattr(-,root,root,-) |
---|
| 128 | %{_includedir}/eom-2.20 |
---|
| 129 | %{_libdir}/pkgconfig/eom.pc |
---|
| 130 | |
---|
[7821] | 131 | %files docs |
---|
| 132 | %defattr(-,root,root,-) |
---|
| 133 | %{_datadir}/gtk-doc/html/eom |
---|
[5311] | 134 | |
---|
[7821] | 135 | |
---|
[5311] | 136 | %changelog |
---|
[8068] | 137 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 138 | - rebuild with VineSeed environment |
---|
| 139 | |
---|
[7821] | 140 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
[7697] | 143 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 144 | - new upstream release |
---|
| 145 | - remove BuildRequires: mate-conf-devel |
---|
| 146 | |
---|
[6679] | 147 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[6172] | 150 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 151 | - new upstream release |
---|
| 152 | - add Patch0 (mate-image-viewer-1.2.0-configure.patch) |
---|
| 153 | |
---|
[5316] | 154 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 155 | - change category |
---|
| 156 | |
---|
[5311] | 157 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 158 | - initial build for Vine Linux |
---|
| 159 | |
---|