Accepting request 581198 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581198
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/sushi?expand=0&rev=69
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:53:27 +00:00 committed by Git OBS Bridge
parent 2bbe0c326c
commit f4350ec74e
2 changed files with 16 additions and 13 deletions

View File

@ -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 Sat May 6 20:17:03 UTC 2017 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package sushi # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,13 +22,11 @@ Release: 0
Summary: Quick Previewer for Nautilus Summary: Quick Previewer for Nautilus
License: SUSE-GPL-2.0-with-plugin-exception License: SUSE-GPL-2.0-with-plugin-exception
Group: Productivity/File utilities 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 Source0: http://download.gnome.org/sources/sushi/3.24/%{name}-%{version}.tar.xz
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: intltool BuildRequires: intltool
%ifarch %ix86 x86_64 BuildRequires: pkgconfig
BuildRequires: unoconv
%endif
BuildRequires: pkgconfig(clutter-1.0) >= 1.11.4 BuildRequires: pkgconfig(clutter-1.0) >= 1.11.4
BuildRequires: pkgconfig(clutter-gst-3.0) BuildRequires: pkgconfig(clutter-gst-3.0)
BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(clutter-gtk-1.0)
@ -49,16 +47,19 @@ BuildRequires: pkgconfig(webkit2gtk-4.0)
Recommends: %{name}-lang Recommends: %{name}-lang
Recommends: unoconv Recommends: unoconv
Supplements: nautilus 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: libsushi-1_0-0 < %{version}
Obsoletes: typelib-1_0-Sushi-1_0 < %{version} Obsoletes: typelib-1_0-Sushi-1_0 < %{version}
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%ifarch %{ix86} x86_64
BuildRequires: unoconv
%endif
%description %description
Sushi is a quick previewer for Nautilus, the GNOME desktop file manager. Sushi is a quick previewer for Nautilus, the GNOME desktop file manager.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
@ -68,7 +69,7 @@ make %{?_smp_mflags}
%install %install
%make_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} %find_lang %{name} %{?no_lang_C}
%post %post
@ -77,12 +78,9 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%postun %postun
%glib2_gsettings_schema_postun %glib2_gsettings_schema_postun
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %license COPYING
%doc AUTHORS COPYING NEWS README %doc AUTHORS NEWS README
%{_bindir}/sushi %{_bindir}/sushi
%{_datadir}/dbus-1/services/org.gnome.Sushi.service %{_datadir}/dbus-1/services/org.gnome.Sushi.service
%{_datadir}/sushi/ %{_datadir}/sushi/