Package cca-spec-neo: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | # REMOVE ME (I was set for NMU) and uncomment real Release tags: Release: alt12.2 %define mpiimpl openmpi-compat %define mpidir %_libdir/%mpiimpl %define babelver 2.0.0 Name: cca-spec-neo Version: 0.2.8 #Release: alt12 Summary: Neoclassic binding of the CCA specification and design pattern License: LGPL Group: Sciences/Mathematics Url: http://www.cca-forum.org/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: http://www.cca-forum.org/download/cca-tools/cca-tools-0.7.0/cca-spec-neo-0.2.8.tar.gz Requires: babel lib%name-devel = %version-%release BuildPreReq: %mpiimpl-devel libgraphviz-devel doxygen boost-devel tcl-devel BuildPreReq: babel gcc-c++ libxml2-devel graphviz BuildPreReq: python-devel BuildRequires: openmpi-compat-devel libnuma-devel %description Neoclassic binding of the CCA specification and design pattern. %package -n lib%name Summary: Shared libraries of NEO CCA Specification Group: System/Libraries Requires: libbabel = %babelver %description -n lib%name Neoclassic binding of the CCA specification and design pattern. This package contains shared libraries of NEO CCA Specification. %package -n lib%name-devel Summary: Development files of NEO CCA Specification Group: Development/Other Requires: lib%name = %version-%release Requires: libbabel-devel = %babelver Requires: %name-common = %version-%release %description -n lib%name-devel Neoclassic binding of the CCA specification and design pattern. This package contains development files of NEO CCA Specification. %package common Summary: Architecture independent files of NEO CCA Specification Group: Development/Other BuildArch: noarch %description common Neoclassic binding of the CCA specification and design pattern. This package contains architecture independent files of NEO CCA Specification. %package doc Summary: Documentation for NEO CCA Specification Group: Development/Documentation BuildArch: noarch %description doc Neoclassic binding of the CCA specification and design pattern. This package contains development documentation for NEO CCA Specification. %prep %setup %install export INSTALL_ROOT=%buildroot%prefix source %mpidir/bin/mpivars.sh export LIBS="-Wl,-rpath,%mpidir/lib -L%mpidir/lib -lmpi" export MPIDIR=%mpidir %configure \ --with-boost=%prefix \ --with-babel-libtool=%_bindir/babel-libtool \ --with-mpi=%mpidir \ --with-mpi-cxx=%mpidir/bin/mpicxx \ --with-mpi-inc=%mpidir/include \ --with-cca-neo=%buildroot%prefix \ --with-xml2-config=%_bindir/xml2-config \ --with-dot=%_bindir \ --enable-showcompile \ --enable-showlibtool \ --with-doxygen \ --with-xml2-includes=-I%_includedir/libxml2 \ --with-xml2-libs='-lxml2 ' \ --with-mpi=%mpidir \ --with-mpi-arch=LINUX \ --prefix=%buildroot%prefix %make %make_install install %if "%_libexecdir" != "%_libdir" install -d %buildroot%_libdir mv %buildroot%_libexecdir/* %buildroot%_libdir/ %endif sed -i "s|%buildroot||g" \ $(egrep -R "%buildroot" %buildroot| egrep -v 'Binary file.*matches' |\ awk -F : '{print $1}') rm -fR %buildroot%_docdir/%name-%version/c++/man \ %buildroot%_docdir/eg-neo-0.9.0 %buildroot%_docdir/neotest-go-0.1.0 \ %buildroot%_docdir/neotest-parameter-0.1.0 install doc/README.NEO %buildroot%_docdir/%name-%version %files %_bindir/* %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %files common %_datadir/* %exclude %_docdir %files doc %_docdir/* %changelog * Mon Jul 03 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.2.8-alt12.2 - Updated build dependencies * Mon Jun 06 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.2.8-alt12.1 - (AUTO) subst_x86_64. * Fri Nov 08 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt12 - Rebuilt with new babel * Wed Jul 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt11 - Rebuilt with OpenMPI 1.6 * Tue Dec 13 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt10 - Disabled devel-static package * Thu Mar 17 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt9 - Rebuilt with Boost 1.46.1 * Mon Feb 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt8 - Rebuilt for debuginfo * Sun Feb 20 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt7 - Fixed build * Mon Oct 11 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt6 - Fixed overlinking of libraries * Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt5 - Rebuilt with python 2.6 * Mon Sep 14 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt4 - Rebuilt with updated babel * Tue Sep 08 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt3 - Fixed work with temp files - Rebuilt with fixed babel-libtool * Sun Apr 26 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt1 - Initial build for Sisyphus |