Summary: An image viewing and cataloging program for MATE Name: mate-image-viewer Version: 1.1.0 Release: 2%{?_dist_release} Source0: %{name}-%{version}.tar.xz License: GPLv2 Group: Applications/Graphics URL: https://matsusoft.com.ar/projects/mate/ BuildRequires: mate-common BuildRequires: mate-doc-utils BuildRequires: mate-conf-devel BuildRequires: mate-desktop-devel BuildRequires: mate-icon-theme BuildRequires: gtk2-devel BuildRequires: dbus-glib-devel BuildRequires: libxml2-devel BuildRequires: librsvg2-devel BuildRequires: libexif-devel BuildRequires: lcms-devel BuildRequires: exempi-devel BuildRequires: libjpeg-turbo-devel BuildRequires: gtk-doc BuildRequires: autoconf BuildRequires: automake Requires(post,pre,preun): mate-conf Requires(post,postun): desktop-file-utils BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %description This is the Eye of MATE, an image viewer program. It is meant to be a fast and functional image viewer. %package devel Summary: Development tools for mate-image-viewer Summary(ja): mate-image-viewer の開発環境 Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Header files and libraries for building a extension library for the mate-image-viewer. %package doc Summary: Documentation for mate-image-viewer Summary(ja): mate-image-viewer 用のドキュメント Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc This package contains documentation for mate-image-viewer. %prep %setup -q %build (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) %configure \ --disable-static \ --disable-scrollkeeper %{__make} %{?_smp_mflags} %install %{__rm} -rf ${RPM_BUILD_ROOT} export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %{__make} install DESTDIR=${RPM_BUILD_ROOT} unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; %find_lang eom %clean %{__rm} -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` SCHEMAS=" \ eom.schemas" for S in $SCHEMAS; do echo %{_sysconfdir}/mateconf/schemas/$S; done \ | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: update-desktop-database %{_datadir}/applications >& /dev/null ||: touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: fi %pre if [ "$1" -gt 1 ]; then export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` SCHEMAS=" \ eom.schemas" for S in $SCHEMAS; do echo %{_sysconfdir}/mateconf/schemas/$S; done \ | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: fi %preun if [ "$1" -eq 0 ]; then export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` SCHEMAS=" \ eom.schemas" for S in $SCHEMAS; do echo %{_sysconfdir}/mateconf/schemas/$S; done \ | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: fi %postun /sbin/ldconfig update-desktop-database %{_datadir}/applications >& /dev/null ||: touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: fi %files -f eom.lang %defattr(-,root,root,-) %doc COPYING ChangeLog NEWS README %{_sysconfdir}/mateconf/schemas/eom.schemas %{_bindir}/eom %{_libdir}/eom/plugins %{_datadir}/applications/eom.desktop %{_datadir}/eom %{_datadir}/icons/hicolor/*/*/* %{_datadir}/mate/help/eom %{_datadir}/omf/eom %files devel %defattr(-,root,root,-) %{_includedir}/eom-2.20 %{_libdir}/pkgconfig/eom.pc %changelog * Fri Dec 23 2011 Yoji TOYODA 1.1.0-2 - change category * Fri Dec 23 2011 Yoji TOYODA 1.1.0-1 - initial build for Vine Linux