diff --git a/gtkd.spec b/gtkd.spec index d988585..c832e1a 100644 --- a/gtkd.spec +++ b/gtkd.spec @@ -6,7 +6,7 @@ Name: gtkd Version: 3.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: D binding and OO wrapper of GTK+ License: LGPLv3+ with exceptions @@ -14,6 +14,7 @@ URL: https://github.com/gtkd-developers/GtkD/ Source0: https://github.com/gtkd-developers/GtkD/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel, gtk3-devel, libcurl-devel +BuildRequires: vte291-devel # Explicit require since gtkd use dlopen internally so rpm can't detect this. Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libcurl #Requires: gtkglext3-devel --> should te be packaged https://github.com/tdz/gtkglext @@ -65,7 +66,7 @@ mkdir geany_config # sed -i 's/GTKD_VERSION=2.4.1/GTKD_VERSION=2.4.2/g' GNUmakefile %build -make %{?_smp_mflags} -f ./GNUmakefile shared-libs DC=ldc2 CC=gcc libdir=%{?_lib} DCFLAGS="%{_d_optflags}" +make %{?_smp_mflags} -f ./GNUmakefile shared-libs shared-vte DC=ldc2 CC=gcc libdir=%{?_lib} DCFLAGS="%{_d_optflags}" # generate geany tags geany -c geany_config -g gtkd.d.tags $(find src* -name "*.d") @@ -74,7 +75,7 @@ geany -c geany_config -g gtkd.d.tags $(find src* -name "*.d") make %{?_smp_mflags} DC=ldc2 test %install -make %{?_smp_mflags} install-shared install-headers DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} datadir=%{_datadir} +make %{?_smp_mflags} install-shared install-shared-vte install-headers install-headers-vte DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} datadir=%{_datadir} # geany tags mkdir -p %{buildroot}/%{_datadir}/geany/tags/ @@ -92,21 +93,27 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/ %{_libdir}/libgtkdgl-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} %{_libdir}/libgtkdsv-3.so.%{gtkd_major} %{_libdir}/libgtkdsv-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} +%{_libdir}/libvted-3.so.%{gtkd_major} +%{_libdir}/libvted-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} %files devel %{_d_includedir}/%{name}-3 %{_libdir}/libgtkd-3.so %{_libdir}/libgtkdgl-3.so %{_libdir}/libgtkdsv-3.so +%{_libdir}/libvted-3.so %{_datadir}/pkgconfig/gtkd-3.pc %{_datadir}/pkgconfig/gtkdgl-3.pc %{_datadir}/pkgconfig/gtkdsv-3.pc - +%{_datadir}/pkgconfig/vted-3.pc %files geany-tags %{_datadir}/geany/tags/gtkd.d.tags %changelog +* Wed Oct 26 2016 Kalev Lember - 3.3.1-2 +- Build vte bindings + * Mon Oct 24 2016 Kalev Lember - 3.3.1-1 - Update to 3.3.1 - Enable arm architecture now that ldc is available there