diff --git a/sushi.changes b/sushi.changes index 969842a..3f4250c 100644 --- a/sushi.changes +++ b/sushi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:39:48 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Sat May 6 20:17:03 UTC 2017 - zaitor@opensuse.org diff --git a/sushi.spec b/sushi.spec index 530c8fb..768aaa2 100644 --- a/sushi.spec +++ b/sushi.spec @@ -1,7 +1,7 @@ # # spec file for package sushi # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,13 +22,11 @@ Release: 0 Summary: Quick Previewer for Nautilus License: SUSE-GPL-2.0-with-plugin-exception Group: Productivity/File utilities -Url: http://www.gnome.org +URL: http://www.gnome.org Source0: http://download.gnome.org/sources/sushi/3.24/%{name}-%{version}.tar.xz BuildRequires: gobject-introspection-devel BuildRequires: intltool -%ifarch %ix86 x86_64 -BuildRequires: unoconv -%endif +BuildRequires: pkgconfig BuildRequires: pkgconfig(clutter-1.0) >= 1.11.4 BuildRequires: pkgconfig(clutter-gst-3.0) BuildRequires: pkgconfig(clutter-gtk-1.0) @@ -49,16 +47,19 @@ BuildRequires: pkgconfig(webkit2gtk-4.0) Recommends: %{name}-lang Recommends: unoconv Supplements: nautilus -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# libsushi and the typelib were erronously installed in the system libdir... +# 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} %glib2_gsettings_schema_requires +%ifarch %{ix86} x86_64 +BuildRequires: unoconv +%endif %description Sushi is a quick previewer for Nautilus, the GNOME desktop file manager. %lang_package + %prep %setup -q @@ -68,7 +69,7 @@ make %{?_smp_mflags} %install %make_install -find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print +find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %{?no_lang_C} %post @@ -77,12 +78,9 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %postun %glib2_gsettings_schema_postun -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root) -%doc AUTHORS COPYING NEWS README +%license COPYING +%doc AUTHORS NEWS README %{_bindir}/sushi %{_datadir}/dbus-1/services/org.gnome.Sushi.service %{_datadir}/sushi/