Пакет cca-spec-babel: 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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | %define mpiimpl openmpi %define mpidir %_libdir/%mpiimpl %define babelver 2.0.0 Name: cca-spec-babel Version: 0.8.6 Release: alt8.svn20090721 Summary: The Common Component Architecture Specification for Babel License: LGPL Group: Sciences/Mathematics Url: http://www.cca-forum.org/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: %name-%version.tar.gz Requires: lib%name = %version-%release Requires: lib%name-devel = %version-%release Requires: lib%name-j = %version-%release Requires: python-module-%name = %version-%release Requires: babel >= %babelver %add_python_req_skip Index Symbol boccalib BuildRequires(pre): rpm-build-python rpm-build-java /proc BuildPreReq: %mpiimpl-devel libgraphviz-devel doxygen boost-devel BuildPreReq: gcc-fortran gcc-c++ libbabel-devel libxml2-devel tcl-devel babel BuildPreReq: python-devel libgfortran-devel chrpath BuildPreReq: java-devel-default libnumpy-devel graphviz %description The Common Component Architecture Specification for Babel. %package -n lib%name Summary: Shared libraries of CCA Specification for Babel Group: System/Libraries Requires: libbabel >= %babelver %description -n lib%name The Common Component Architecture Specification for Babel. This package contains shared libraries of CCA Specification for Babel. %package -n lib%name-devel Summary: Development files of CCA Specification for Babel Group: Development/Other Requires: libbabel-devel >= %babelver Requires: lib%name = %version-%release Requires: %name = %version-%release Requires: lib%name-j = %version-%release Requires: python-module-%name = %version-%release %description -n lib%name-devel The Common Component Architecture Specification for Babel. This package contains development files of CCA Specification for Babel. %package -n lib%name-devel-static Summary: Static libraries of CCA Specification for Babel Group: Development/Other Requires: libbabel-devel-static >= %babelver Requires: lib%name-devel = %version-%release %description -n lib%name-devel-static The Common Component Architecture Specification for Babel. This package contains static libraries of CCA Specification for Babel. %package -n lib%name-j Summary: Java library of CCA Specification for Babel Group: Development/Java #BuildArch: noarch Requires: java babel-j >= %babelver %description -n lib%name-j The Common Component Architecture Specification for Babel. This package contains java library of CCA Specification for Babel. %package -n python-module-%name Summary: Python modules of CCA Specification for Babel Group: Development/Python Requires: python-module-sidl >= %babelver Requires: python-module-sidlx >= %babelver Requires: lib%name = %version-%release Requires: %name = %version-%release %py_provides CCAXMLQuery %description -n python-module-%name The Common Component Architecture Specification for Babel. This package contains python modules of CCA Specification for Babel. %package doc Summary: Documentation for CCA Specification for Babel Group: Development/Documentation BuildArch: noarch %description doc The Common Component Architecture Specification for Babel. This package contains development documentation for CCA Specification for Babel. %prep %setup %build mpi-selector --set %mpiimpl source %mpidir/bin/mpivars.sh export MPI=%mpidir %add_optflags -fno-strict-aliasing %autoreconf %configure \ --enable-showcompile \ --enable-showlibtool \ --enable-mpi=yes \ --with-boost=yes \ --with-tclsh=%_bindir/tclsh \ --with-babel-config=%_bindir/babel-config \ --with-babel=%prefix \ --with-libxml2=%prefix \ --with-util-python=%_bindir/python \ --with-babel-python %make_build pushd doc %make_build popd %install install -d %buildroot%_libexecdir %makeinstall_std install -d %buildroot%_libdir install -d %buildroot%_javadir install -d %buildroot%_docdir/%name/html TOPDIR=$PWD pushd %buildroot%_libexecdir/ if [ -s cca-spec.jar ]; then rm -f cca-spec.jar fi %ifarch x86_64 install -d %buildroot%python_sitelibdir install -d %buildroot%_javadir mv *.so* %buildroot%_libdir/ mv python%_python_version/site-packages/* \ %buildroot%python_sitelibdir/ mv $(find $TOPDIR -name '*.jar') \ %buildroot%_javadir/ %else mv $(find ./ -name '*.jar') \ %buildroot%_javadir/ %endif popd pushd %buildroot%_javadir if [ ! -f cca-spec.jar ]; then ln -s $(ls *.jar) cca-spec.jar fi popd install -m644 doc/html/* %buildroot%_docdir/%name/html for i in %buildroot%_libdir/*.so do chrpath -d $i done %ifnarch x86_64 for i in %buildroot%_libdir/%name-*/*.so do chrpath -d $i done %endif %files %doc CHANGELOG TODO %_bindir/* %_datadir/cca %_datadir/%name-*-babel-%babelver %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %files -n python-module-%name %python_sitelibdir/* %_libdir/%name-*/python%_python_version %files -n lib%name-j %_javadir/*.jar %files doc %_docdir/%name %changelog * Sat Jan 23 2016 Igor Vlasenko <viy@altlinux.ru> 0.8.6-alt8.svn20090721 - NMU: rebuild with new babel * Fri Nov 08 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt7.svn20090721 - Rebuilt with new babel * Tue Sep 25 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt6.svn20090721 - Fixed build with make 3.82 * Wed Jul 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt5.svn20090721 - Rebuilt with OpenMPI 1.6 * Mon Apr 16 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 0.8.6-alt4.svn20090721.1 - Rebuild to remove redundant libpython2.7 dependency * Tue Dec 13 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt4.svn20090721 - Fixed RPATH * Tue Dec 13 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt3.svn20090721 - Disabled devel-static package * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.8.6-alt2.svn20090721.9.1 - Rebuild with Python-2.7 * Thu Mar 17 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.9 - Rebuilt with Boost 1.46.1 * Thu Mar 03 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.8 - Rebuilt for debuginfo * Mon Oct 18 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.7 - Rebuilt for soname set-versions * Thu Mar 04 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.6 - Fixed build on x86_64 * Thu Dec 17 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.5 - Enabled requirement on bocca * Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.4 - Rebuilt with python 2.6 (bootstrap) * Mon Sep 14 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.3 - Rebuilt with updatet babel * Fri Sep 11 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.2 - Set doc and java packages as noarch * Thu Sep 10 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721.1 - Disabled strict-aliasing rules * Thu Jul 23 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt2.svn20090721 - Snapshot 20090721 - Resolved conflict with babel - Enabled x86_64 arch * Sat Jun 06 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.6-alt1 - Initial build for Sisyphus |