eog/eog.spec

264 lines
8.0 KiB
RPMSpec
Raw Normal View History

2013-06-22 05:01:30 +00:00
%global _changelog_trimtime %(date +%s -d "1 year ago")
2014-10-13 21:06:03 +00:00
%define gtk3_version 3.14.0
2014-04-15 21:23:58 +00:00
%define glib2_version 2.38.0
2011-05-11 14:44:15 +00:00
%define gnome_desktop_version 2.91.2
2007-07-10 14:55:11 +00:00
%define desktop_file_utils_version 0.9
2011-06-16 13:04:44 +00:00
%define libexif_version 0.6.14
Summary: Eye of GNOME image viewer
Name: eog
2014-11-10 22:07:47 +00:00
Version: 3.14.2
2014-11-12 11:41:08 +00:00
Release: 2%{?dist}
2008-11-22 02:36:56 +00:00
URL: http://projects.gnome.org/eog/
2010-03-29 23:33:09 +00:00
#VCS: git:git://git.gnome.org/eog
2014-09-22 21:11:28 +00:00
Source: http://download.gnome.org/sources/eog/3.14/%{name}-%{version}.tar.xz
2013-02-20 23:45:51 +00:00
2008-05-21 21:09:11 +00:00
# The GFDL has an "or later version" clause embedded inside the license.
# There is no need to add the + here.
License: GPLv2+ and GFDL
Group: User Interface/Desktops
BuildRequires: glib2-devel >= %{glib2_version}
2010-10-06 19:04:32 +00:00
BuildRequires: gtk3-devel >= %{gtk3_version}
2005-07-08 17:37:19 +00:00
BuildRequires: libexif-devel >= %{libexif_version}
2007-08-14 14:05:31 +00:00
BuildRequires: exempi-devel
2011-06-16 13:04:44 +00:00
BuildRequires: lcms2-devel
2011-12-20 18:05:12 +00:00
BuildRequires: intltool >= 0.50.0-1
BuildRequires: libjpeg-devel
BuildRequires: gettext
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
2010-10-06 19:04:32 +00:00
BuildRequires: gnome-desktop3-devel >= %{gnome_desktop_version}
2006-05-21 03:52:05 +00:00
BuildRequires: libXt-devel
2008-11-13 02:50:59 +00:00
BuildRequires: libxml2-devel
BuildRequires: librsvg2-devel
2011-03-22 14:32:15 +00:00
BuildRequires: libpeas-devel >= 0.7.4
2011-05-11 14:44:15 +00:00
BuildRequires: gdk-pixbuf2-devel
BuildRequires: shared-mime-info
BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: dbus-glib-devel
2011-06-16 13:04:44 +00:00
BuildRequires: gobject-introspection-devel
BuildRequires: zlib-devel
2012-08-22 08:02:26 +00:00
BuildRequires: itstool
2011-05-11 14:44:15 +00:00
Requires: gsettings-desktop-schemas
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: gtk3%{?_isa} >= %{gtk3_version}
2011-01-09 20:22:55 +00:00
Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
2006-05-09 16:56:22 +00:00
Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
2006-05-09 16:56:22 +00:00
%description
2009-03-03 17:02:32 +00:00
The Eye of GNOME image viewer (eog) is the official image viewer for the
GNOME desktop. It can view single image files in a variety of formats, as
2008-11-21 23:17:45 +00:00
well as large image collections.
eog is extensible through a plugin system.
2007-05-20 01:36:45 +00:00
%package devel
2008-11-21 23:17:45 +00:00
Summary: Support for developing plugins for the eog image viewer
2007-05-20 01:36:45 +00:00
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
2007-05-20 01:36:45 +00:00
%description devel
2009-03-03 17:02:32 +00:00
The Eye of GNOME image viewer (eog) is the official image viewer for the
2008-11-21 23:17:45 +00:00
GNOME desktop. This package allows you to develop plugins that add new
functionality to eog.
2007-05-20 01:36:45 +00:00
2014-11-12 11:41:08 +00:00
%package tests
Summary: Tests for the %{name} package
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: dogtail
Requires: python-behave
%description tests
The %{name}-tests package contains tests that can be used to verify
the functionality of the installed %{name} package.
%prep
%setup -q
%build
2014-11-12 11:41:08 +00:00
%configure --enable-installed-tests
2011-05-11 14:44:15 +00:00
make %{?_smp_mflags}
%install
2007-02-27 17:02:18 +00:00
make install DESTDIR=$RPM_BUILD_ROOT
2007-08-06 05:33:21 +00:00
%find_lang %{name} --with-gnome
2009-12-04 03:37:42 +00:00
rm -rf $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la
2007-05-20 01:36:45 +00:00
2013-02-20 23:46:43 +00:00
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/eog.desktop
2008-10-09 04:00:51 +00:00
%post
2012-04-24 14:00:06 +00:00
update-desktop-database >&/dev/null || :
2010-03-29 23:33:09 +00:00
touch %{_datadir}/icons/hicolor >&/dev/null || :
2006-10-18 16:48:17 +00:00
%postun
2012-04-24 14:00:06 +00:00
update-desktop-database >&/dev/null || :
2010-03-29 23:33:09 +00:00
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
2012-04-24 14:00:06 +00:00
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
2007-05-20 00:22:04 +00:00
fi
2010-03-29 23:33:09 +00:00
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
2012-04-24 14:00:06 +00:00
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
2010-03-29 23:33:09 +00:00
%files -f %{name}.lang
2007-08-06 05:33:21 +00:00
%doc AUTHORS COPYING NEWS README
%{_datadir}/eog
2013-02-20 23:46:43 +00:00
%{_datadir}/applications/eog.desktop
2007-07-10 15:22:08 +00:00
%{_datadir}/icons/hicolor/*/apps/*
%{_bindir}/*
2007-05-20 01:36:45 +00:00
%{_libdir}/eog
2010-10-06 22:18:00 +00:00
%{_datadir}/GConf/gsettings/eog.convert
2013-10-30 10:58:08 +00:00
%{_datadir}/appdata/eog.appdata.xml
2010-10-06 22:18:00 +00:00
%{_datadir}/glib-2.0/schemas/org.gnome.eog.enums.xml
2010-10-07 03:03:32 +00:00
%{_datadir}/glib-2.0/schemas/org.gnome.eog.gschema.xml
2007-05-20 01:36:45 +00:00
%files devel
2011-01-15 00:42:09 +00:00
%{_includedir}/eog-3.0
2007-05-20 01:36:45 +00:00
%{_libdir}/pkgconfig/eog.pc
2010-08-23 18:16:06 +00:00
%{_datadir}/gtk-doc/
2014-11-12 11:41:08 +00:00
%files tests
%dir %{_libexecdir}/eog
%{_libexecdir}/eog/installed-tests/
%{_datadir}/installed-tests/
%changelog
2014-11-12 11:41:08 +00:00
* Wed Nov 12 2014 Vadim Rutkovsky <vrutkovs@redhat.com> - 3.14.2-2
- Build installed tests
2014-11-10 22:07:47 +00:00
* Mon Nov 10 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
- Update to 3.14.2
2014-10-13 21:06:03 +00:00
* Mon Oct 13 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
- Update to 3.14.1
2014-09-22 21:11:28 +00:00
* Mon Sep 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
- Update to 3.14.0
2014-09-16 09:57:53 +00:00
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
- Update to 3.13.92
- Tighten -devel subpackage deps
2014-09-16 09:57:53 +00:00
2014-08-19 10:38:06 +00:00
* Tue Aug 19 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.90-1
- Update to 3.13.90
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.3-2
- Rebuilt for gobject-introspection 1.41.4
2014-07-22 10:00:31 +00:00
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.3-1
- Update to 3.13.3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-28 17:34:48 +00:00
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-1
- Update to 3.13.2
2014-04-29 14:54:40 +00:00
* Tue Apr 29 2014 Richard Hughes <rhughes@redhat.com> - 3.13.1-1
- Update to 3.13.1
2014-04-15 21:23:58 +00:00
* Tue Apr 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.1-1
- Update to 3.12.1
2014-03-24 23:11:58 +00:00
* Mon Mar 24 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.0-1
- Update to 3.12.0
2014-03-18 20:37:32 +00:00
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
- Update to 3.11.92
2014-03-05 00:34:09 +00:00
* Wed Mar 05 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
- Update to 3.11.91
2014-02-19 15:49:05 +00:00
* Wed Feb 19 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-2
- Rebuilt for gnome-desktop soname bump
2014-02-18 18:28:08 +00:00
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-1
- Update to 3.11.90
2014-01-14 10:05:38 +00:00
* Tue Jan 14 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4-1
- Update to 3.11.4
2013-12-17 10:22:05 +00:00
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 3.11.3-1
- Update to 3.11.3
2013-11-19 09:46:38 +00:00
* Tue Nov 19 2013 Richard Hughes <rhughes@redhat.com> - 3.11.2-1
- Update to 3.11.2
2013-10-30 09:54:21 +00:00
* Wed Oct 30 2013 Richard Hughes <rhughes@redhat.com> - 3.11.1-1
- Update to 3.11.1
2013-10-28 19:24:17 +00:00
* Mon Oct 28 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
- Update to 3.10.1
2013-09-24 22:46:13 +00:00
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
- Update to 3.10.0
2013-09-17 23:45:12 +00:00
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.92-1
- Update to 3.9.92
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.91-2
- Rebuilt for libgnome-desktop soname bump
2013-09-02 23:28:43 +00:00
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.91-1
- Update to 3.9.91
2013-08-09 23:20:22 +00:00
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.5-1
- Update to 3.9.5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-06-22 05:01:30 +00:00
* Sat Jun 22 2013 Matthias Clasen <mclasen@redhat.com> - 3.9.1-2
- Trim %%changelog
2013-06-20 19:43:49 +00:00
* Thu Jun 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.1-1
- Update to 3.9.1
- Adapt for gnome-icon-theme packaging changes
2013-06-20 19:43:49 +00:00
2013-05-14 08:27:28 +00:00
* Tue May 14 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
- Update to 3.8.2
2013-03-26 02:04:06 +00:00
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
- Update to 3.8.0
2013-03-20 13:49:12 +00:00
* Wed Mar 20 2013 Richard Hughes <rhughes@redhat.com> - 3.7.92-1
- Update to 3.7.92
2013-03-08 12:29:00 +00:00
* Fri Mar 8 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
- Update to 3.7.91
2013-02-20 23:46:43 +00:00
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.4-5
- Drop the desktop file vendor prefix
* Wed Feb 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.4-4
- Rebuilt for libgnome-desktop soname bump
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 3.7.4-2
- rebuild due to "jpeg8-ABI" feature drop
2013-01-16 12:15:01 +00:00
* Wed Jan 16 2013 Richard Hughes <hughsient@gmail.com> - 3.7.4-1
- Update to 3.7.4
* Fri Dec 21 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.2-2
- Rebuilt for libgnome-desktop-3 3.7.3 soname bump
2012-11-21 10:34:23 +00:00
* Wed Nov 21 2012 Richard Hughes <hughsient@gmail.com> - 3.7.2-1
- Update to 3.7.2
2012-11-09 16:54:40 +00:00
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.1-1
- Update to 3.7.1