|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: gtkd
|
|
|
|
Name: gtkd
|
|
|
|
Version: 3.3.1
|
|
|
|
Version: 3.3.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: D binding and OO wrapper of GTK+
|
|
|
|
Summary: D binding and OO wrapper of GTK+
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv3+ with exceptions
|
|
|
|
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
|
|
|
|
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: 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.
|
|
|
|
# Explicit require since gtkd use dlopen internally so rpm can't detect this.
|
|
|
|
Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libcurl
|
|
|
|
Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libcurl
|
|
|
|
#Requires: gtkglext3-devel --> should te be packaged https://github.com/tdz/gtkglext
|
|
|
|
#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
|
|
|
|
# sed -i 's/GTKD_VERSION=2.4.1/GTKD_VERSION=2.4.2/g' GNUmakefile
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%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
|
|
|
|
# generate geany tags
|
|
|
|
geany -c geany_config -g gtkd.d.tags $(find src* -name "*.d")
|
|
|
|
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
|
|
|
|
make %{?_smp_mflags} DC=ldc2 test
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%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
|
|
|
|
# geany tags
|
|
|
|
mkdir -p %{buildroot}/%{_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}/libgtkdgl-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump}
|
|
|
|
%{_libdir}/libgtkdsv-3.so.%{gtkd_major}
|
|
|
|
%{_libdir}/libgtkdsv-3.so.%{gtkd_major}
|
|
|
|
%{_libdir}/libgtkdsv-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump}
|
|
|
|
%{_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
|
|
|
|
%files devel
|
|
|
|
%{_d_includedir}/%{name}-3
|
|
|
|
%{_d_includedir}/%{name}-3
|
|
|
|
%{_libdir}/libgtkd-3.so
|
|
|
|
%{_libdir}/libgtkd-3.so
|
|
|
|
%{_libdir}/libgtkdgl-3.so
|
|
|
|
%{_libdir}/libgtkdgl-3.so
|
|
|
|
%{_libdir}/libgtkdsv-3.so
|
|
|
|
%{_libdir}/libgtkdsv-3.so
|
|
|
|
|
|
|
|
%{_libdir}/libvted-3.so
|
|
|
|
%{_datadir}/pkgconfig/gtkd-3.pc
|
|
|
|
%{_datadir}/pkgconfig/gtkd-3.pc
|
|
|
|
%{_datadir}/pkgconfig/gtkdgl-3.pc
|
|
|
|
%{_datadir}/pkgconfig/gtkdgl-3.pc
|
|
|
|
%{_datadir}/pkgconfig/gtkdsv-3.pc
|
|
|
|
%{_datadir}/pkgconfig/gtkdsv-3.pc
|
|
|
|
|
|
|
|
%{_datadir}/pkgconfig/vted-3.pc
|
|
|
|
|
|
|
|
|
|
|
|
%files geany-tags
|
|
|
|
%files geany-tags
|
|
|
|
%{_datadir}/geany/tags/gtkd.d.tags
|
|
|
|
%{_datadir}/geany/tags/gtkd.d.tags
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Oct 26 2016 Kalev Lember <klember@redhat.com> - 3.3.1-2
|
|
|
|
|
|
|
|
- Build vte bindings
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 24 2016 Kalev Lember <klember@redhat.com> - 3.3.1-1
|
|
|
|
* Mon Oct 24 2016 Kalev Lember <klember@redhat.com> - 3.3.1-1
|
|
|
|
- Update to 3.3.1
|
|
|
|
- Update to 3.3.1
|
|
|
|
- Enable arm architecture now that ldc is available there
|
|
|
|
- Enable arm architecture now that ldc is available there
|
|
|
|