#
# Conditional build:
%bcond_without caja # Caja support
-%bcond_with gtk3 # use GTK+ 3.x instead of 2.x
#
Summary: Engrampa - an archive manager for MATE
Summary(pl.UTF-8): Engrampa - zarządca archiwów dla środowiska MATE
Summary(pt_BR.UTF-8): Engrampa - gerenciador de arquivos compactados para o MATE
Name: engrampa
-Version: 1.12.0
+Version: 1.22.1
Release: 1
License: GPL v2+
Group: X11/Applications
-Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz
-# Source0-md5: 2312750eb9abcbc35bf1d04ba83d2a76
+Source0: http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
+# Source0-md5: e13d23c5ac9586d769b349ec2eb5697f
URL: http://mate-desktop.org/
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.9
-%{?with_caja:BuildRequires: caja-devel >= 1.1.0}
+%{?with_caja:BuildRequires: caja-devel >= 1.17.1}
BuildRequires: docbook-dtd412-xml
BuildRequires: gettext-tools >= 0.10.40
-BuildRequires: glib2-devel >= 1:2.32.0
-%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.24.0}
-%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0.2}
+BuildRequires: glib2-devel >= 1:2.50.0
+BuildRequires: gtk+3-devel >= 3.22.0
BuildRequires: intltool >= 0.50.1
BuildRequires: json-glib-devel >= 0.14.0
BuildRequires: libtool >= 1:1.4.3
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
Requires(post,postun): scrollkeeper
-Requires: glib2 >= 1:2.32.0
-%{!?with_gtk3:Requires: gtk+2 >= 2:2.24.0}
-%{?with_gtk3:Requires: gtk+3 >= 3.0.2}
+Requires: glib2 >= 1:2.50.0
+Requires: gtk+3 >= 3.22.0
Requires: json-glib >= 0.14.0
Suggests: bzip2
Suggests: gzip
Summary(pl.UTF-8): Rozszerzenie Engrampa (zarządca archiwów) dla zarządcy plików Caja
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
-Requires: caja >= 1.1.0
+Requires: caja >= 1.17.1
Obsoletes: mate-file-manager-extension-engrampa
%description -n caja-extension-engrampa
%configure \
%{!?with_caja:--disable-caja-actions} \
--disable-silent-rules \
- --disable-static \
- %{?with_gtk3:--with-gtk=3.0}
+ --disable-static
%{__make}
# just a copy of ur
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
-# update naming convention
-%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{sr@ije,sr@ijekavian}
-# mate < 1.5 did not exist in pld, avoid dependency on mate-conf
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/engrampa.convert
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{es_ES,frp,ku_IQ,jv,pms}
%find_lang engrampa --with-mate
%files -f engrampa.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
+%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/engrampa
%attr(755,root,root) %{_libexecdir}/engrampa-server
-%dir %{_libdir}/engrampa
-%attr(755,root,root) %{_libdir}/engrampa/isoinfo.sh
-%attr(755,root,root) %{_libdir}/engrampa/rpm2cpio
+%dir %{_libexecdir}/engrampa
+%attr(755,root,root) %{_libexecdir}/engrampa/isoinfo.sh
+%attr(755,root,root) %{_libexecdir}/engrampa/rpm2cpio
%{_datadir}/engrampa
-%{_datadir}/appdata/engrampa.appdata.xml
+%{_datadir}/metainfo/engrampa.appdata.xml
%{_datadir}/dbus-1/services/org.mate.Engrampa.service
%{_datadir}/glib-2.0/schemas/org.mate.engrampa.gschema.xml
%{_desktopdir}/engrampa.desktop