[eom] initial import

Wolfgang Ulbrich raveit65 at fedoraproject.org
Fri Feb 14 16:09:21 UTC 2014


commit 2130f65856f68d96c601471926bb5049ef467c88
Author: raveit65 <chat-to-me at raveit.de>
Date:   Fri Feb 14 17:09:41 2014 +0100

    initial import

 .gitignore |    1 +
 eom.spec   |  190 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 192 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..331ea6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/eom-1.7.0.tar.xz
diff --git a/eom.spec b/eom.spec
new file mode 100644
index 0000000..70c2378
--- /dev/null
+++ b/eom.spec
@@ -0,0 +1,190 @@
+# Conditional for release and snapshot builds. Uncomment for release-builds.
+%global rel_build 1
+
+# This is needed, because src-url contains branched part of versioning-scheme.
+%global branch 1.7
+
+# Settings used for build from snapshots.
+%{!?rel_build:%global commit 7ba7e03f4d5e2ecd3c77f9d9394521b7608ca05f}
+%{!?rel_build:%global commit_date 20131212}
+%{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})}
+%{!?rel_build:%global git_ver git%{commit_date}-%{shortcommit}}
+%{!?rel_build:%global git_rel .git%{commit_date}.%{shortcommit}}
+%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz}
+
+Name:          eom
+Version:       %{branch}.0
+#Release:       0.1%{?git_rel}%{?dist}
+Release:       1%{?dist}
+Summary:       Eye of MATE image viewer
+License:       GPLv2+ and LGPLv2+ 
+URL:           http://mate-desktop.org 
+
+# for downloading the tarball use 'spectool -g -R eom.spec'
+# Source for release-builds.
+%{?rel_build:Source0:     http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
+# Source for snapshot-builds.
+%{!?rel_build:Source0:    http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
+
+BuildRequires: zlib-devel
+BuildRequires: gtk2-devel
+BuildRequires: libexif-devel
+BuildRequires: exempi-devel
+BuildRequires: libxml2-devel
+BuildRequires: librsvg2-devel
+BuildRequires: mate-desktop-devel
+BuildRequires: lcms2-devel
+BuildRequires: mate-icon-theme-devel
+BuildRequires: pygtk2-devel
+BuildRequires: dbus-glib-devel
+BuildRequires: libjpeg-turbo-devel
+BuildRequires: desktop-file-utils
+BuildRequires: mate-common
+
+#fix rhbz (#1008249)
+Requires:      mate-desktop-libs
+
+%if 0%{?fedora} && 0%{?fedora} <= 25
+Provides: mate-image-viewer%{?_isa} = %{version}-%{release}
+Provides: mate-image-viewer = %{version}-%{release}
+Obsoletes: mate-image-viewer < %{version}-%{release}
+%endif
+
+%description
+The Eye of MATE (eom) is the official image viewer for the
+MATE desktop. It can view single image files in a variety of formats, as
+well as large image collections.
+Eye of Mate is extensible through a plugin system.
+
+%package devel
+Summary:  Support for developing plugins for the eom image viewer
+Group:    Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%if 0%{?fedora} && 0%{?fedora} <= 25
+Provides: mate-image-viewer%{?_isa} = %{version}-%{release}
+Provides: mate-image-viewer = %{version}-%{release}
+Obsoletes: mate-image-viewer < %{version}-%{release}
+%endif
+
+%description devel
+Development files for eom
+
+
+%prep
+%setup -q%{!?rel_build:n %{name}-%{commit}}
+
+# needed for git snapshots
+#NOCONFIGURE=1 ./autogen.sh
+
+%build
+%configure \
+   --with-gtk=2.0 \
+   --enable-python \
+   --with-x \
+   --disable-schemas-compile
+           
+make %{?_smp_mflags} V=1
+
+%install
+%{make_install}
+
+desktop-file-install                               \
+  --delete-original                                \
+  --dir $RPM_BUILD_ROOT%{_datadir}/applications    \
+$RPM_BUILD_ROOT%{_datadir}/applications/eom.desktop
+
+find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
+
+%find_lang %{name} --with-gnome --all-name
+
+# remove needless gsettings convert file
+rm -f  $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/eom.convert
+
+
+%post
+/usr/bin/update-desktop-database &> /dev/null || :
+/bin/touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
+
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ]; then
+  /bin/touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
+  /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
+  /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING NEWS README
+%{_mandir}/man1/*
+%{_bindir}/eom
+%dir %{_libdir}/eom
+%dir %{_libdir}/eom/plugins
+%{_libdir}/eom/plugins/*
+%{_datadir}/applications/eom.desktop
+%{_datadir}/eom/
+%{_datadir}/icons/hicolor/*
+%{_datadir}/glib-2.0/schemas/org.mate.eom.gschema.xml
+
+%files devel
+%{_libdir}/pkgconfig/eom.pc
+%dir %{_includedir}/eom-2.20
+%dir %{_includedir}/eom-2.20/eom
+%{_includedir}/eom-2.20/eom/*.h
+%{_datadir}/gtk-doc/html/eom/
+
+
+%changelog
+* Thu Feb 13 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.7.0-1
+- update to 1.7.0
+- add --with-x configure flag
+- use -devel subpackage for release builds
+
+* Wed Dec 18 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.7.0-0.1.git20131212.7ba7e03
+- rename mate-image-viewer to eom
+- use latest git snapshot
+- make maintainers life easier and use better git snapshot usage, thanks to Björn Esser
+- use --with-gnome --all-name for find locale
+
+* Fri Dec 06 2013 Dan Mashal <dan.mashal at fedoraproject.org> - 1.7.0-1
+- Update to 1.7.0 from mate-desktop git
+
+* Mon Sep 16 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.1-2
+- add mate-desktop-libs runtime require, fix rhbz (#1008249)
+- remove gsettings-desktop-schemas BR and runtime require
+- add BR pkgconfig(zlib)
+- cleanup BRs
+- update descriptions
+- use modern make install macro
+- remove needless check for "*.a" files
+- remove needless --with-gnome from find locale
+- remove needless 'save space by linking identical images in translated docs'
+- remove needless gsettings convert file
+- fix rpm scriptlets
+- add omf directory
+- own directories
+- add python-libdir patch
+
+* Mon Jul 29 2013 Dan Mashal <dan.mashal at fedoraproject.org> - 1.6.1-1
+- Update to latest 1.6.1 stable release.
+
+* Wed Apr 03 2013 Dan Mashal <dan.mashal at fedoraproject.org> - 1.6.0-1
+- Update to latest 1.6.0 stable release.
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.5.0-3
+- rebuild due to "jpeg8-ABI" feature drop
+
+* Tue Nov 06 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.5.0-2
+- Fix scriptlet mistake
+
+* Mon Nov 05 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.5.0-1
+- Initial build
+
diff --git a/sources b/sources
index e69de29..2d2a67e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6c662a8a46353ae7c1692373042bfb18  eom-1.7.0.tar.xz


More information about the scm-commits mailing list