2011-07-06 19:12:38 +02:00
|
|
|
#
|
|
|
|
# spec file for package sushi
|
|
|
|
#
|
2016-03-04 10:50:27 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-07-06 19:12:38 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-03-11 18:44:31 +01:00
|
|
|
|
2011-07-06 19:12:38 +02:00
|
|
|
Name: sushi
|
2016-03-04 10:50:27 +01:00
|
|
|
Version: 3.19.90
|
2011-12-21 10:07:09 +01:00
|
|
|
Release: 0
|
2011-07-06 19:12:38 +02:00
|
|
|
Summary: Quick Previewer for Nautilus
|
2012-09-24 12:12:45 +02:00
|
|
|
License: SUSE-GPL-2.0-with-plugin-exception
|
2011-07-06 19:12:38 +02:00
|
|
|
Group: Productivity/File utilities
|
2011-12-21 10:07:09 +01:00
|
|
|
Url: http://www.gnome.org
|
2016-03-04 10:50:27 +01:00
|
|
|
Source0: http://download.gnome.org/sources/sushi/3.19/%{name}-%{version}.tar.xz
|
2011-07-06 19:12:38 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: intltool
|
2015-04-07 14:04:11 +02:00
|
|
|
%ifarch %ix86 x86_64
|
2011-07-06 19:12:38 +02:00
|
|
|
BuildRequires: unoconv
|
2015-02-01 11:58:53 +01:00
|
|
|
%endif
|
2012-09-07 17:27:50 +02:00
|
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.11.4
|
2015-11-16 10:19:37 +01:00
|
|
|
BuildRequires: pkgconfig(clutter-gst-3.0)
|
2011-07-06 19:12:38 +02:00
|
|
|
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
2012-03-11 18:44:31 +01:00
|
|
|
BuildRequires: pkgconfig(clutter-x11-1.0)
|
2011-07-06 19:12:38 +02:00
|
|
|
BuildRequires: pkgconfig(evince-document-3.0)
|
|
|
|
BuildRequires: pkgconfig(evince-view-3.0)
|
2012-09-07 17:27:50 +02:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2015-09-04 13:32:07 +02:00
|
|
|
BuildRequires: pkgconfig(gjs-1.0) >= 1.38.0
|
2011-09-02 02:00:13 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.29.14
|
2012-09-07 17:27:50 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
2015-03-19 15:36:42 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.2
|
2011-07-06 19:12:38 +02:00
|
|
|
BuildRequires: pkgconfig(gtksourceview-3.0)
|
2012-09-07 17:27:50 +02:00
|
|
|
BuildRequires: pkgconfig(libmusicbrainz5)
|
2015-03-19 15:36:42 +01:00
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
2011-07-06 19:12:38 +02:00
|
|
|
Recommends: %{name}-lang
|
2012-09-07 17:27:50 +02:00
|
|
|
Recommends: unoconv
|
2011-07-06 19:12:38 +02:00
|
|
|
Supplements: nautilus
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-09-07 17:27:50 +02:00
|
|
|
# libsushi and the typelib were erronously installed in the system libdir...
|
|
|
|
Obsoletes: libsushi-1_0-0 < %{version}
|
|
|
|
Obsoletes: typelib-1_0-Sushi-1_0 < %{version}
|
2012-10-05 10:56:07 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2011-07-06 19:12:38 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Sushi is a quick previewer for Nautilus, the GNOME desktop file manager.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
2012-10-05 10:56:07 +02:00
|
|
|
%post
|
|
|
|
%glib2_gsettings_schema_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
|
2011-07-06 19:12:38 +02:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
%{_bindir}/sushi
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Sushi.service
|
|
|
|
%{_datadir}/sushi/
|
2012-09-07 17:27:50 +02:00
|
|
|
%{_libdir}/sushi/
|
|
|
|
%{_libexecdir}/sushi-start
|
2011-07-06 19:12:38 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|