|
@@ -1,6 +1,8 @@
|
|
|
+%define _unpackaged_files_terminate_build 1
|
|
|
+
|
|
|
Summary: Simply a document viewer for MATE
|
|
|
Name: atril
|
|
|
-Version: 1.16.1
|
|
|
+Version: 1.18.3
|
|
|
Release: 1%{?_dist_release}
|
|
|
Source0: http://pub.mate-desktop.org/releases/1.16/%{name}-%{version}.tar.xz
|
|
|
License: GPLv2
|
|
@@ -11,9 +13,9 @@ BuildRequires: mate-common
|
|
|
BuildRequires: mate-icon-theme
|
|
|
#BuildRequires: mate-desktop-devel
|
|
|
BuildRequires: caja-devel
|
|
|
-BuildRequires: gtk2-devel
|
|
|
+BuildRequires: gtk3-devel
|
|
|
BuildRequires: libxml2-devel
|
|
|
-BuildRequires: WebKit-gtk-devel
|
|
|
+BuildRequires: webkitgtk4-devel
|
|
|
BuildRequires: libSM-devel
|
|
|
BuildRequires: poppler-devel
|
|
|
BuildRequires: libtiff-devel
|
|
@@ -94,6 +96,7 @@ sed -i "s|Artil|Atril|" po/ja.po
|
|
|
%configure \
|
|
|
--libexecdir=%{_libexecdir}/mate \
|
|
|
--disable-static \
|
|
|
+ --with-gtk=3.0 \
|
|
|
--enable-pixbuf
|
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
@@ -141,7 +144,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
%{_libdir}/libatrildocument.so.*
|
|
|
%{_libdir}/libatrilview.so.*
|
|
|
%{_libdir}/%{name}
|
|
|
-%{_libexecdir}/mate/atril-convert-metadata
|
|
|
%{_libexecdir}/mate/atrild
|
|
|
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
@@ -176,6 +178,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.3-1
|
|
|
+- new upstream release.
|
|
|
+- switched to gtk3.
|
|
|
+
|
|
|
* Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
|
|
|
- new upstream release
|
|
|
- update Packager
|