Package picosat: 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 | Name: picosat Version: 965 Release: alt3 Summary: PicoSAT solver License: MIT Group: Sciences/Mathematics Url: http://fmv.jku.at/picosat/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: %name-%version.tar BuildRequires(pre): rpm-macros-make BuildPreReq: swig BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-devel Requires: lib%name = %EVR %description The SAT problem is the classical NP complete problem of searching for a satisfying assignment of a propositional formula in conjunctive normal form (CNF). General information on SAT can be found at www.satlive.org or www.satlib.org. %package -n lib%name Summary: Shared library of %name Group: System/Libraries %description -n lib%name The SAT problem is the classical NP complete problem of searching for a satisfying assignment of a propositional formula in conjunctive normal form (CNF). General information on SAT can be found at www.satlive.org or www.satlib.org. This package contains shared library of %name. %package -n lib%name-devel Summary: Development files of %name Group: Development/C Requires: lib%name = %EVR %description -n lib%name-devel The SAT problem is the classical NP complete problem of searching for a satisfying assignment of a propositional formula in conjunctive normal form (CNF). General information on SAT can be found at www.satlive.org or www.satlib.org. This package contains development files of %name. %package -n python3-module-%name Summary: Python bindings of %name Group: Development/Python3 Requires: lib%name = %EVR %py3_provides _%name %description -n python3-module-%name The SAT problem is the classical NP complete problem of searching for a satisfying assignment of a propositional formula in conjunctive normal form (CNF). General information on SAT can be found at www.satlive.org or www.satlib.org. This package contains Python bindings of %name. %prep %setup %build %add_optflags %optflags_shared ./configure.sh --shared %make_build_ext libpicosat.so %make_build_ext all %python3_build %install %if "%_lib" == "lib64" LIB_SUFF=64 %endif %makeinstall_std LIB_SUFF=$LIB_SUFF install -d %buildroot%python3_sitelibdir install -m644 build/lib*/*.so %buildroot%python3_sitelibdir/ %check # FIXME: ~, hmm pushd ~ export LD_LIBRARY_PATH=%buildroot%_libdir export PYTHONPATH=%buildroot%python3_sitelibdir python3 -c "import _picosat; print (_picosat.picosat_version())" popd %files %doc NEWS README %_bindir/* %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %files -n python3-module-%name %python3_sitelibdir/* %changelog * Sun Jul 12 2020 Michael Shigorin <mike@altlinux.org> 965-alt3 - fixed build on non-x86 64-bit arches * Wed Feb 05 2020 Stanislav Levin <slev@altlinux.org> 965-alt2 - Stopped build for Python2. * Thu Apr 11 2019 Grigory Ustinov <grenka@altlinux.org> 965-alt1 - Build new version. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 960-alt2.1.1 - (NMU) Rebuilt with python-3.6.4. * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 960-alt2.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Tue Mar 17 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 960-alt2 - Applied patch from https://github.com/pysmt/pysmt/tree/master/patches for Python bindings * Tue Mar 17 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 960-alt1 - Initial build for Sisyphus |