Name: gst-plugins-video-dec
Version: 1.1.0
-Release: 0
+Release: 1
License: LGPL-2.1+
Summary: nexell video decoder gstreamer plugin
Group: Development/Libraries
%build
autoreconf -v --install || exit 1
-%configure
+%configure --libdir=%{_hal_libdir}
make %{?_smp_mflags}
%postun -p /sbin/ldconfig
%install
rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp LICENSE.LGPLv2+ %{buildroot}%{_hal_licensedir}/%{name}
make install DESTDIR=%{buildroot}
find %{buildroot} -type f -name "*.la" -delete
%files
%manifest gst-plugins-video-dec.manifest
%defattr(-,root,root,-)
-%{_libdir}/gstreamer-1.0/libgstnxvideodec.so*
-%license LICENSE.LGPLv2+
+%{_hal_libdir}/gstreamer-1.0/libgstnxvideodec.so*
+%{_hal_licensedir}/%{name}/*
-lnxgstmeta \
-lnx_video_api
-libgstnxvideodec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -L$(libdir)
+libgstnxvideodec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -L$(libdir) -Wl,-rpath,${libdir}
libgstnxvideodec_la_LIBTOOLFLAGS = --tag=disable-static
# headers we need but don't want installed