Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 5f6fcb5290
commit 30297b7ccb
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -7,39 +7,20 @@ License: GPLv2+
URL: https://wiki.gnome.org/Apps/FileRoller
Source0: https://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libnautilus-extension)
BuildRequires: pkgconfig(libnotify)
BuildRequires: meson >= 0.43
BuildRequires: gcc
BuildRequires: pkgconfig(glib-2.0) >= 2.36
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.2
BuildRequires: pkgconfig(libnautilus-extension) >= 2.22.2
BuildRequires: pkgconfig(json-glib-1.0) >= 0.14.0
BuildRequires: pkgconfig(libnotify) >= 0.4.3
BuildRequires: pkgconfig(libarchive) >= 3.0.0
BuildRequires: file-devel
BuildRequires: (%{_bindir}/gcpio or %{_bindir}/cpio)
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: itstool
BuildRequires: meson
BuildRequires: /usr/bin/appstream-util
%if 0%{?rhel}
# Explicitly depend on various archivers to avoid problems when installing
# new archiver support on demand.
# https://bugzilla.redhat.com/show_bug.cgi?id=837608
Requires: /usr/bin/ar
Requires: /usr/bin/bzip2
Requires: /usr/bin/compress
Requires: /usr/bin/cpio
Requires: /usr/bin/gzip
Requires: /usr/bin/isoinfo
Requires: /usr/bin/lzop
Requires: /usr/bin/tar
Requires: /usr/bin/unzip
Requires: /usr/bin/xz
Requires: /usr/bin/zip
%endif
# for file triggers
Requires: glib2 >= 2.45.4-2
Requires: desktop-file-utils >= 0.22-6
BuildRequires: %{_bindir}/desktop-file-validate
BuildRequires: %{_bindir}/appstream-util
%description
File Roller is an application for creating and viewing archives files,
@ -66,11 +47,9 @@ or directories.
%find_lang %{name} --with-gnome
%check
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.FileRoller.appdata.xml
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.FileRoller.desktop
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.FileRoller.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.FileRoller.desktop
%files -f %{name}.lang
%doc README NEWS AUTHORS

Loading…
Cancel
Save