Accepting request 583605 from GNOME:Next
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/583605 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=68
This commit is contained in:
parent
36f64896ed
commit
7a957a0bb4
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:39:36 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 11 14:14:36 CEST 2017 - sbrabec@suse.com
|
Wed Oct 11 14:14:36 CEST 2017 - sbrabec@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package shared-mime-info
|
# spec file for package shared-mime-info
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -19,10 +19,10 @@
|
|||||||
Name: shared-mime-info
|
Name: shared-mime-info
|
||||||
Version: 1.9
|
Version: 1.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://freedesktop.org/wiki/Software/shared-mime-info
|
|
||||||
Summary: Shared MIME Database
|
Summary: Shared MIME Database
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: System/X11/Utilities
|
Group: System/X11/Utilities
|
||||||
|
URL: http://freedesktop.org/wiki/Software/shared-mime-info
|
||||||
Source: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz
|
Source: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz
|
||||||
Source1: macros.shared-mime-info
|
Source1: macros.shared-mime-info
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
@ -33,11 +33,12 @@ BuildRequires: libxml2-tools
|
|||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
# libgio-2_0-0 Requires: shared-mime-info, but this can't exist yet. We explicitly ignore this dependency here.
|
# libgio-2_0-0 Requires: shared-mime-info, but this can't exist yet. We explicitly ignore this dependency here.
|
||||||
#!BuildIgnore: shared-mime-info
|
#!BuildIgnore: shared-mime-info
|
||||||
|
# FIXME: use proper Requires(pre/post/preun/...)
|
||||||
|
PreReq: libglib-2_0-0
|
||||||
# needed by update-mime-database
|
# needed by update-mime-database
|
||||||
PreReq: libxml2-2 libglib-2_0-0
|
PreReq: libxml2-2
|
||||||
Provides: %{name}-devel = %{version}-%{release}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
|
Provides: %{name}-devel = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains:
|
This package contains:
|
||||||
@ -49,6 +50,7 @@ This package contains:
|
|||||||
- The update-mime-database command, used to install new MIME data.
|
- The update-mime-database command, used to install new MIME data.
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
@ -56,16 +58,16 @@ translation-update-upstream
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-default-make-check
|
--disable-default-make-check
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
# Install rpm macros
|
# Install rpm macros
|
||||||
install -D -m644 %{S:1} %{buildroot}%{_sysconfdir}/rpm/macros.shared-mime-info
|
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.shared-mime-info
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%filetriggerin -- %{_datadir}/mime
|
%filetriggerin -- %{_datadir}/mime
|
||||||
export PKGSYSTEM_ENABLE_FSYNC=0
|
export PKGSYSTEM_ENABLE_FSYNC=0
|
||||||
@ -76,13 +78,13 @@ export PKGSYSTEM_ENABLE_FSYNC=0
|
|||||||
[ -x %{_bindir}/update-mime-database ] && %{_bindir}/update-mime-database "%{_datadir}/mime"
|
[ -x %{_bindir}/update-mime-database ] && %{_bindir}/update-mime-database "%{_datadir}/mime"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (-, root, root)
|
%license COPYING
|
||||||
%doc COPYING ChangeLog NEWS README
|
%doc ChangeLog NEWS README
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/mime/packages/*.xml
|
%{_datadir}/mime/packages/*.xml
|
||||||
%{_datadir}/pkgconfig/*.pc
|
%{_datadir}/pkgconfig/*.pc
|
||||||
%ghost %{_datadir}/mime/[a-ms-vxX]*
|
%ghost %{_datadir}/mime/[a-ms-vxX]*
|
||||||
%{_mandir}/man?/*.*
|
%{_mandir}/man?/*%{ext_man}
|
||||||
%{_sysconfdir}/rpm/macros.shared-mime-info
|
%{_sysconfdir}/rpm/macros.shared-mime-info
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
Loading…
Reference in New Issue
Block a user