forked from pool/sushi
Dominique Leuenberger
62810e7b6c
Update, should we split out the gir file into a devel package? (Feel we have debated this before) OBS-URL: https://build.opensuse.org/request/show/134752 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/sushi?expand=0&rev=29
87 lines
2.7 KiB
RPMSpec
87 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package sushi
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: sushi
|
|
Version: 3.5.92
|
|
Release: 0
|
|
Summary: Quick Previewer for Nautilus
|
|
License: GPL-2.0+
|
|
Group: Productivity/File utilities
|
|
Url: http://www.gnome.org
|
|
Source0: http://download.gnome.org/sources/sushi/3.5/%{name}-%{version}.tar.xz
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: unoconv
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.11.4
|
|
BuildRequires: pkgconfig(clutter-gst-2.0)
|
|
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
|
BuildRequires: pkgconfig(clutter-x11-1.0)
|
|
BuildRequires: pkgconfig(evince-document-3.0)
|
|
BuildRequires: pkgconfig(evince-view-3.0)
|
|
BuildRequires: pkgconfig(freetype2)
|
|
BuildRequires: pkgconfig(gjs-1.0)
|
|
BuildRequires: pkgconfig(gjs-dbus-1.0)
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.29.14
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
|
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(gtksourceview-3.0)
|
|
BuildRequires: pkgconfig(libmusicbrainz5)
|
|
BuildRequires: pkgconfig(webkitgtk-3.0)
|
|
Recommends: %{name}-lang
|
|
Recommends: unoconv
|
|
Supplements: nautilus
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
# 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}
|
|
|
|
%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}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING NEWS README
|
|
%{_bindir}/sushi
|
|
%{_datadir}/dbus-1/services/org.gnome.Sushi.service
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.sushi.gschema.xml
|
|
%{_datadir}/sushi/
|
|
%{_libdir}/sushi/
|
|
%{_libexecdir}/sushi-start
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|