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:
parent
2bbe0c326c
commit
f4350ec74e
@ -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
|
||||
|
||||
|
22
sushi.spec
22
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...
|
||||
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/
|
||||
|
Loading…
Reference in New Issue
Block a user