BR: gcc, .spec cosmetics/cleanup
This commit is contained in:
parent
46b6849b7e
commit
b58c2ed6b4
@ -1,7 +1,7 @@
|
|||||||
Summary: Shared MIME information database
|
Summary: Shared MIME information database
|
||||||
Name: shared-mime-info
|
Name: shared-mime-info
|
||||||
Version: 1.9
|
Version: 1.9
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://freedesktop.org/Software/shared-mime-info
|
URL: http://freedesktop.org/Software/shared-mime-info
|
||||||
@ -20,15 +20,13 @@ Source4: eog-defaults.list
|
|||||||
# Work-around for https://bugs.freedesktop.org/show_bug.cgi?id=40354
|
# Work-around for https://bugs.freedesktop.org/show_bug.cgi?id=40354
|
||||||
Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch
|
Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
# For intltool:
|
# For intltool:
|
||||||
BuildRequires: perl(XML::Parser) intltool
|
BuildRequires: perl(XML::Parser) intltool
|
||||||
|
|
||||||
Requires(post): glib2
|
|
||||||
Requires(post): coreutils
|
|
||||||
|
|
||||||
# Disable pkgconfig autodep
|
# Disable pkgconfig autodep
|
||||||
%global __requires_exclude ^/usr/bin/pkg-config$
|
%global __requires_exclude ^/usr/bin/pkg-config$
|
||||||
|
|
||||||
@ -44,14 +42,17 @@ and looking up the correct MIME type in a database.
|
|||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-silent-rules --disable-update-mimedb
|
%configure \
|
||||||
|
--disable-silent-rules\
|
||||||
|
--disable-update-mimedb
|
||||||
|
|
||||||
# not smp safe, pretty small package anyway
|
# not smp safe, pretty small package anyway
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# speed build a bit
|
# speed build a bit
|
||||||
PKGSYSTEM_ENABLE_FSYNC=0 \
|
PKGSYSTEM_ENABLE_FSYNC=0 \
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT%{_datadir}/mime -type d \
|
find $RPM_BUILD_ROOT%{_datadir}/mime -type d \
|
||||||
| sed -e "s|^$RPM_BUILD_ROOT|%%dir |" > %{name}.files
|
| sed -e "s|^$RPM_BUILD_ROOT|%%dir |" > %{name}.files
|
||||||
@ -85,7 +86,6 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
|||||||
update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README NEWS HACKING shared-mime-info-spec.xml
|
%doc README NEWS HACKING shared-mime-info-spec.xml
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -98,6 +98,9 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.9-4
|
||||||
|
- BR: gcc, .spec cosmetics/cleanup
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-3
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user