Пакет gnustep-dbuskit: 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 | %set_verify_elf_method unresolved=strict Name: gnustep-dbuskit Version: 0.3.2 Release: alt7.svn20140131.2.c9.1 Summary: GNUstep interface to the DBUS data transport mechanism License: LGPLv2.1+ Group: Development/Objective-C Url: http://www.gnustep.org/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # http://svn.gna.org/svn/gnustep/libs/dbuskit/trunk/ Source: %name-%version.tar BuildPreReq: clang7.0-devel gnustep-make-devel gnustep-base-devel BuildPreReq: libgnustep-objc2-devel libdbus-devel /proc BuildPreReq: texinfo texi2html Requires: lib%name = %version-%release Requires: gnustep-back %description GNUstep interface to the DBUS data transport mechanism. This library allows applications written in GNUstep to communicate directly with apps which use DBUS. %package -n lib%name Summary: GNUstep interface to the DBUS Share data transport mechanism Group: System/Libraries %description -n lib%name GNUstep interface to the DBUS data transport mechanism. This library allows applications written in GNUstep to communicate directly with apps which use DBUS. This package contains shared libraris of GNUstep interface. %package -n lib%name-devel Summary: Shares libraries interface to the DBUS Share data transport mechanism Group: System/Libraries Provides: %name-devel = %version-%release Requires: lib%name = %version-%release Requires: %name = %version-%release %description -n lib%name-devel GNUstep interface to the DBUS data transport mechanism. This library allows applications written in GNUstep to communicate directly with apps which use DBUS. This package contains develoment files GNUstep interface. %package doc Summary: Documentation of the interface to the DBUS Share data transport mechanism Group: System/Libraries BuildArch: noarch %description doc GNUstep interface to the DBUS data transport mechanism. This library allows applications written in GNUstep to communicate directly with apps which use DBUS. This package cicu of GNUstep interface. %prep %setup sed -i 's|@LIBDIR@|%_libdir|g' configure.ac %build . %_datadir/GNUstep/Makefiles/GNUstep.sh export CC=clang export OBJCPP='clang -E' export CPP='clang -E' %add_optflags -DHAVE_OBJC_RUNTIME_H %remove_optflags -frecord-gcc-switches %autoreconf for i in $(find ./ -type f); do sed -i 's|[0-9a-z_]*alt-linux-gcc|clang|g' $i done export LD_LIBRARY_PATH=%_libdir/llvm %configure \ --libexecdir=%_libdir \ --enable-static=yes \ --enable-static=no \ --enable-libclang=yes \ --with-installation-domain=SYSTEM export GNUSTEP_MAKEFILES=%_datadir/GNUstep/Makefiles export LD_LIBRARY_PATH=%_libdir/llvm buildIt() { %make \ messages=yes \ debug=yes \ strip=no \ shared=yes \ CONFIG_SYSTEM_LIBS="-L$LD_LIBRARY_PATH -lclang -ldbus-1 $1" \ nonstrict=yes } pushd Source buildIt popd libDBusKit=$PWD/Source/DBusKit.framework/Versions/Current/libDBusKit.so buildIt $libDBusKit %make_build -C Documentation \ messages=yes %install . %_datadir/GNUstep/Makefiles/GNUstep.sh %makeinstall_std \ messages=yes \ GNUSTEP_INSTALLATION_DOMAIN=SYSTEM pushd %buildroot%_libdir lib=$(ls *.so.*.*) for i in *.so*; do rm -f $i mv GNUstep/Frameworks/DBusKit.framework/Versions/Current/$i ./ ln -s %_libdir/$lib \ GNUstep/Frameworks/DBusKit.framework/Versions/Current/$i done popd %makeinstall_std -C Documentation \ GNUSTEP_INSTALLATION_DOMAIN=SYSTEM %files %doc ChangeLog README %_bindir/* %_libdir/GNUstep %exclude %_libdir/GNUstep/Frameworks/*.framework/Headers %exclude %_libdir/GNUstep/Frameworks/*.framework/Versions/0/Headers %_man1dir/* %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %_libdir/GNUstep/Frameworks/*.framework/Headers %_libdir/GNUstep/Frameworks/*.framework/Versions/0/Headers %files doc %_infodir/* %_docdir/GNUstep %changelog * Tue Aug 10 2021 Andrey Cherepanov <cas@altlinux.org> 0.3.2-alt7.svn20140131.2.c9.1 - Rebuild with clang 7.0. * Tue Mar 20 2018 L.A. Kostis <lakostis@altlinux.ru> 0.3.2-alt7.svn20140131.2 - Rebuild with llvm6.0. - BR cleanup. * Mon Feb 05 2018 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.3.2-alt7.svn20140131.1 - Rebuilt with llvm4.0. * Mon Mar 03 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt7.svn20140131 - New snapshot * Fri Feb 14 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt7.git20140101 - Built with clang * Wed Jan 29 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt6.git20140101 - Added Requires: gnustep-back * Mon Jan 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt5.git20140101 - New snapshot * Wed Oct 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt5.git20130710 - New snapshot * Mon Mar 04 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt5.git20121111 - Moved headers into lib%name-devel * Mon Mar 04 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt4.git20121111 - Rebuilt with llvm 3.2 * Wed Feb 20 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt3.git20121111 - Fixed links for libraries * Mon Dec 31 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt2.git20121111 - Rebuilt with libobjc2 instead of libobjc * Sun Dec 16 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.git20121111 - Initial build for Sisyphus |