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