Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:repabuild:xenial-universe
mtl
mtl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mtl.spec of Package mtl
Prefix: /usr Name: mtl Summary: Matrix Template Library Version: 2.1.2.23.tentative Release: 4 Source0: mtl-2.1.2-23.tentative.tar.gz Source1: mtl_reference.tar.gz Patch0: mtl-fc6-070717.patch Patch1: gcc4-patches Patch2: examples.patch Patch3: exception.patch Patch4: mtl-2.1.2-gcc46.patch Patch5: mtl-2.1.2-gcc47.patch Group: Development BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch License: Artistic %if 0%{?sles_version} Requires: libblas3 liblapack3 BuildRequires: blas-devel lapack-devel %else Requires: blas lapack Buildrequires: blas lapack %endif Buildrequires: automake gcc-c++ %if 0%{?suse_version} Buildrequires: gcc-fortran %else Buildrequires: gcc-gfortran %endif %if 0%{?fedora} Buildrequires: lapack-devel, blas-devel %endif %description MTL is a template-based library for linear algebra %package doc Summary: Documentation for %{name} Group: Development Requires: %{name} = %{version}-%{release} %description doc The %{name}-doc package contains documentation for developing applications that use %{name}. %package devel Summary: Headers for %{name} Group: Development Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains headers for developing applications that use %{name}. %prep %setup -q -T -D -b 1 -n mtl_reference %setup -q -n mtl-2.1.2-23 %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in # version file is incorrect. cat >VERSION <<EOF MTLVERSION=2.1.2 MTLRELEASE=23 EOF aclocal autoconf automake --add-missing autoconf if [ -x /usr/bin/gfortran ]; then export F77=gfortran export FORTLIBS=-lgfortran fi ./configure --prefix=%{prefix} \ --enable-exceptions --with-lapack %build make %install make install prefix=$RPM_BUILD_ROOT/%{prefix} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > \ $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed -e 's,^\.,\%attr(-\,root\,root) ,' \ -e '/\/config\//s|^|%config|' >> \ $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> \ $RPM_BUILD_DIR/file.list.%{name} #echo "%docdir %{prefix}/doc/kde" >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name} %files %defattr(-,root,root) %doc license.mtl.txt %files devel %defattr(-,root,root) %{_includedir}/mtl %files doc %defattr(-,root,root) %doc $RPM_BUILD_DIR/mtl_reference %changelog * Wed Feb 21 2007 Rene van Paassen <repa@lrlscs29.lr.tudelft.nl> - 2.1.2.22-4 - for FC6 and x86_64 * Fri Apr 7 2006 Rene van Paassen <repa@lrcs024a.lr.tudelft.nl> - 2.1.2.22-1 - Adapted to FC5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor