Bootstrapping on EPEL7
This commit is contained in:
parent
016ed7ccc1
commit
315f5bb771
19
xviewer.spec
19
xviewer.spec
|
@ -1,5 +1,5 @@
|
|||
# Uncomment for bootstrapping on so-name bump.
|
||||
%global bootstrap 0
|
||||
%global bootstrap 1
|
||||
|
||||
# Filter provides from plugins.
|
||||
%global __provides_exclude_from ^%{_libdir}/%{name}/plugins/.*$
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
Name: xviewer
|
||||
Version: 1.6.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Fast and functional graphics viewer
|
||||
|
||||
License: GPLv2+ and LGPLv2+
|
||||
|
@ -29,7 +29,11 @@ BuildRequires: pkgconfig(gtk+-3.0)
|
|||
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
|
||||
BuildRequires: pkgconfig(lcms2)
|
||||
BuildRequires: pkgconfig(libexif)
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
%else
|
||||
BuildRequires: libjpeg-devel
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libpeas-gtk-1.0)
|
||||
BuildRequires: pkgconfig(librsvg-2.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
|
@ -44,7 +48,11 @@ Requires: xapps%{?_isa}
|
|||
Requires: %{name}-plugins%{?_isa}
|
||||
%endif # !0%%{?bootstrap}
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
Recommends: yelp%{?_isa}
|
||||
%else
|
||||
Requires: yelp%{?_isa}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Xviewer is a simple graphics viewer for the Cinnamon desktop and others
|
||||
|
@ -147,12 +155,15 @@ fi
|
|||
|
||||
|
||||
%files doc
|
||||
%license %{_datadir}/licenses/%{name}
|
||||
%doc %{_datadir}/doc/%{name}
|
||||
%license %{_datadir}/licenses/%{name}*
|
||||
%doc %{_datadir}/doc/%{name}*
|
||||
%doc %{_datadir}/gtk-doc
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 1.6.0-2
|
||||
- Bootstrapping on EPEL7
|
||||
|
||||
* Sat Nov 04 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.6.0-1
|
||||
- Update to 1.6.0 release
|
||||
|
||||
|
|
Loading…
Reference in New Issue