Пакет gnustep-BDB: 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 | %set_verify_elf_method unresolved=strict Name: gnustep-BDB Version: 0.2.1 Release: alt5 Summary: Berkeley DB Wrapper (BDB) License: LGPLv2.1 Group: Graphical desktop/GNUstep Url: http://fortytwo.sourceforge.net/index.html Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: %name-%version.tar Source1: config.properties BuildPreReq: clang-devel gnustep-make-devel libgnustep-objc2-devel /proc BuildPreReq: gnustep-gui-devel BuildPreReq: libgmp-devel libgnutls-devel libgcrypt-devel BuildPreReq: libxslt-devel libffi-devel libicu-devel zlib-devel BuildPreReq: gnustep-Encore-devel libdb4-devel Requires: lib%name = %EVR Requires: gnustep-Encore Requires: gnustep-back %description BDB is a set of classes implementing an interface to Berkeley DB for the GNUstep and Mac OS X environment written in Objective-C language. It is based on the C API of Berkeley DB and offers an object oriented interface which relies on classes and mechanisms offered by the Foundation library. In its present state BDB just offers a reduced set of functionality of Berkeley DB. %package -n lib%name Summary: Shared libraries of BDB Group: System/Libraries %description -n lib%name BDB is a set of classes implementing an interface to Berkeley DB for the GNUstep and Mac OS X environment written in Objective-C language. It is based on the C API of Berkeley DB and offers an object oriented interface which relies on classes and mechanisms offered by the Foundation library. This package contains shared libraries of BDB. %package -n lib%name-devel Summary: Development files of BDB Group: Development/Objective-C Provides: %name-devel = %EVR Requires: %name = %EVR Requires: lib%name = %EVR %description -n lib%name-devel BDB is a set of classes implementing an interface to Berkeley DB for the GNUstep and Mac OS X environment written in Objective-C language. It is based on the C API of Berkeley DB and offers an object oriented interface which relies on classes and mechanisms offered by the Foundation library. This package contains development files of BDB. %prep %setup install -m644 %SOURCE1 ./ %ifarch x86_64 LIB64=64 %endif sed -i "s|@64@|$LIB64|" config.properties %build . %_datadir/GNUstep/Makefiles/GNUstep.sh %make_build \ messages=yes \ debug=yes \ strip=no \ shared=yes \ AUXILIARY_CPPFLAGS='-I%_includedir/Encore' \ CONFIG_SYSTEM_LIBS='-lEncore -lgnustep-base -lobjc2' %install . %_datadir/GNUstep/Makefiles/GNUstep.sh %makeinstall_std GNUSTEP_INSTALLATION_DOMAIN=SYSTEM pushd %buildroot%_libdir for j in BDB; do for i in lib$j.so*; do rm -f $i mv GNUstep/Frameworks/$j.framework/Versions/Current/$i ./ for k in lib$j.so.*.*; do ln -s %_libdir/$k GNUstep/Frameworks/$j.framework/Versions/Current/$i rm GNUstep/Frameworks/$j.framework/Versions/Current/$j ln -s %_libdir/$k GNUstep/Frameworks/$j.framework/Versions/Current/$j done done done popd install -d %buildroot%_localstatedir/GNUstep %files %doc ANNOUNCEMENT README TODO ChangeLog doc/* %_libdir/GNUstep %exclude %_libdir/GNUstep/Frameworks/BDB.framework/Versions/0/Headers %exclude %_libdir/GNUstep/Frameworks/BDB.framework/Headers %dir %_localstatedir/GNUstep %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %_libdir/GNUstep/Frameworks/BDB.framework/Versions/0/Headers %_libdir/GNUstep/Frameworks/BDB.framework/Headers %changelog * Fri Feb 22 2019 Dmitry V. Levin <ldv@altlinux.org> 0.2.1-alt5 - NMU: Reverted to libdb4. * Wed Sep 10 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.1-alt4 - Built with libdb6.1 instead of libdb4.8 * Fri Feb 14 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.1-alt3 - Built with clang * Wed Jan 29 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.1-alt2 - Added Requires: gnustep-back * Thu Jan 23 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.1-alt1 - Initial build for Sisyphus |