|
|
|
@ -81,9 +81,6 @@ make %{?_smp_mflags} DC=ldc2 libdir=%{?_lib} DCFLAGS="%{_d_optflags}" LDFLAGS=""
|
|
|
|
|
# generate geany tags
|
|
|
|
|
geany -c geany_config -g gtkd.d.tags $(find src* -name "*.d")
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make %{?_smp_mflags} DC=ldc2 test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} datadir=%{_datadir} \
|
|
|
|
|
install-shared-gstreamer install-headers-gstreamer \
|
|
|
|
@ -96,6 +93,9 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} data
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/geany/tags/
|
|
|
|
|
install -m0644 gtkd.d.tags %{buildroot}%{_datadir}/geany/tags/
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make %{?_smp_mflags} DC=ldc2 libdir=%{?_lib} DCFLAGS="%{_d_optflags}" LDFLAGS="" test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS CHANGELOG README.md
|
|
|
|
|