diff --git a/geany.spec b/geany.spec index 1bec894..d916436 100644 --- a/geany.spec +++ b/geany.spec @@ -5,7 +5,7 @@ Name: geany Version: 1.25 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A fast and lightweight IDE using GTK2 Group: Development/Tools @@ -38,7 +38,7 @@ Source21: http://wiki.geany.org/_media/tags/xfce48.c.tags Source22: http://advamacs.com/pub/tcl.tcl.tags -BuildRequires: desktop-file-utils, gettext, gtk2-devel, glib2-devel, pango-devel, intltool +BuildRequires: desktop-file-utils, gettext, gtk3-devel, glib2-devel, pango-devel, intltool BuildRequires: perl(XML::Parser) Requires: vte Requires: geany-libgeany = %{version}-%{release} @@ -67,7 +67,7 @@ Some features: Summary: Core functions of Geany Group: Development/Tools Requires: geany = %{version}-%{release} -Requires: pkgconfig gtk2-devel +Requires: pkgconfig gtk3-devel %description libgeany This package contains the core functions of Geany which will be used by @@ -78,7 +78,7 @@ Geany plugins. Summary: Header files for building Geany plug-ins Group: Development/Tools Requires: geany = %{version}-%{release} -Requires: pkgconfig gtk2-devel +Requires: pkgconfig gtk3-devel %description devel This package contains the header files and pkg-config file needed for building @@ -94,7 +94,9 @@ rm -f wscript %build -%configure --docdir=%{geany_docdir} +%configure --docdir=%{geany_docdir} --enable-gtk3 +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install @@ -193,6 +195,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_libdir}/pkgconfig/geany.pc %changelog +* Mon Jul 13 2015 François Cami - 1.25-2 +- Switch to gtk3 + disable rpath. + * Mon Jul 13 2015 Dominic Hopf - 1.25-1 - New upstream release: Geany 1.25