|
|
|
@ -45,12 +45,10 @@ sed -i -e '/^CPPFLAGS_NODEBUG=/s/=.*/="%{optflags}"/' configure
|
|
|
|
|
%configure
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p %{buildroot}/%{_includedir}
|
|
|
|
|
mkdir %{buildroot}/%{_includedir}/mdds
|
|
|
|
|
install -d -m 0755 %{buildroot}/%{_includedir}/mdds
|
|
|
|
|
cp -pr include/mdds/* %{buildroot}/%{_includedir}/mdds
|
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}
|
|
|
|
|
mkdir %{buildroot}/%{_datadir}/pkgconfig
|
|
|
|
|
cp -p misc/%{name}.pc %{buildroot}/%{_datadir}/pkgconfig
|
|
|
|
|
install -d -m 0755 %{buildroot}/%{_datadir}/pkgconfig
|
|
|
|
|
install -p -m 0644 misc/%{name}.pc %{buildroot}/%{_datadir}/pkgconfig
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check %{?_smp_mflags}
|
|
|
|
|