Hi, my two pence.

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Not required.

%cmake -DBLA_VENDOR=ATLAS -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make %{?_smp_mflags}

May be you want to do:
mkdir -p %{_target_platform}
pushd %{_target_platform}
%cmake -DBLA_VENDOR=ATLAS -DCMAKE_BUILD_TYPE=Release ..
popd
make -C %{_target_platform} %{?_smp_mflags}

and later

make -C %{_target_platform} install DESTDIR=$RPM_BUILD_ROOT

mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/%{_libdir}

That wouldn't work on systems with /usr/lib dir.
Anyway lib_64_ must be handled in another way.

You are missing %doc and %licence in %files still.

Dmitrij

Is this version better ? I think I incorporated all your suggestions +
some more that are in the same vein to what you suggested.

        Theo.

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to