Пакет libtorrent-rasterbar0.15: 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 256 257 258 259 260 261 | %def_disable debug %def_disable static %if_disabled debug %remove_optflags -O2 %add_optflags -Os %endif %define abiversion 0.15 %define upname libtorrent-rasterbar Name: libtorrent-rasterbar%{abiversion} Version: 0.15.5 Epoch: 2 Release: alt0.1.svn5420 Summary: libTorrent is a BitTorrent library written in C++ for *nix Group: System/Libraries License: GPL Url: http://www.rasterbar.com/products/libtorrent Packager: Alexey Morsov <swi@altlinux.ru> Source: %name-%version.tar BuildRequires: libssl-devel BuildRequires: gcc-c++ zlib-devel BuildRequires: glibc-devel glibc-core BuildRequires: boost-devel boost-asio-devel boost-filesystem boost-filesystem-devel boost-program_options-devel libboost_serialization1.46.1 BuildRequires: python-devel boost-python-devel BuildRequires: libGeoIP-devel Obsoletes: libtorrent <= 0.13-alt3.svn.r2433 %description libTorrent is designed to avoid redundant copying and storing of data that other clients and libraries suffer from. libTorrent features: * The client has full control over the polling of sockets. * Sigc++ signals makes it easy for the client to react to events. * Fast resume which checks the file modification time. * Direct reading and writing from network to mmap'ed files. * File hash check uses the same thread; client can control the rate; non-blocking and preload to memory with the mincore and madvise. * File handler: fine-grained use of file read/write permissions, allows seeding of read-only files; allows torrents with unlimited number of files; opens closed files when mapping chunks to memory, with graceful error handling; support for files larger than 2 GB; different download priorities for files in the torrent. * Multi-tracker support. * No dependency on any specific HTTP library, the client implements a wrapper class. * Dynamic request pipe size. * Upload and download throttle. * And much more... %package -n libtorrent-rasterbar-devel Summary: Development libraries and header files for libTorrent Group: Development/C++ Requires: %name = %version-%release Conflicts: libtorrent-devel %description -n libtorrent-rasterbar-devel The libtorrent-devel package contains libraries and header files needed to develop applications using libTorrent. %if_enabled static %package -n libtorrent-rasterbar-devel-static Summary: Development static libraries for libTorrent Group: Development/C++ Requires: %name = %version-%release #Conflicts: libtorrent-devel %description -n libtorrent-rasterbar-devel-static The libtorrent-devel package contains static libraries needed to develop applications using libTorrent. %endif %package -n python-module-libtorrent-rasterbar Summary: libTorrent python bindings Group: Development/Python Requires: %name = %version-%release %description -n python-module-libtorrent-rasterbar The python-module-libtorrent-rasterbar contains python bindings to libTorrent. %prep %setup -q mv -f COPYING COPYING.orig ln -s $(relative %_licensedir/GPL-2 %_docdir/%name/COPYING) COPYING %build %add_optflags -DBOOST_FILESYSTEM_VERSION=2 export LDFLAGS="$LDFLAGS -L/%_lib -lrt" autoreconf -fisv %configure %{subst_enable static} %{subst_enable debug} --with-boost-libdir=%_libdir \ --enable-python-binding %make_build %install %make_install DESTDIR=%buildroot install rm -f %buildroot%_libdir/*.la %if_disabled static rm -f %buildroot%_libdir/*.a %endif %files %doc AUTHORS ChangeLog NEWS README %doc --no-dereference COPYING %_libdir/*.so.* %files -n libtorrent-rasterbar-devel %_includedir/* %_libdir/*.so %_libdir/pkgconfig/* %if_enabled static %files -n libtorrent-rasterbar-devel-static %_libdir/*.a %endif %files -n python-module-libtorrent-rasterbar %python_sitelibdir/libtorrent.so %changelog * Fri Apr 08 2011 Alexey Morsov <swi@altlinux.ru> 2:0.15.5-alt0.1.svn5420 - new svn version - fix libboost_serialization version * Fri Mar 11 2011 Alexey Morsov <swi@altlinux.ru> 2:0.15.5-alt0.1.svn5348 - new svn version - add libGeoIP - add optflags to compile against new boost * Tue Jan 25 2011 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn5184 - new svn version * Fri Dec 17 2010 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn5086 - new svn version - rebuild for boost 1.45 * Tue Dec 07 2010 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn5051 - new svn version * Thu Nov 04 2010 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn4956 - new svn version * Sun Oct 17 2010 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn4895 - new svn version * Mon Aug 23 2010 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn4787 - new svn version (commit 67cef5f3c9dfe8b57e77a8b4fd354a6f339d3de0) * Tue May 25 2010 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn4606 - new svn version (commit b60467eb1e34813bfc1e95ccb8fbe0d8615fc0dc) * Fri Jan 22 2010 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn4196 - new svn version (commit a7f780c9249ac9029c558fd194fbad02115d8138) * Fri Jan 15 2010 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn4163 - new svn version (commit 191f998b58045659bfe7a94925049ab420204912) * Wed Nov 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2:0.15.0-alt0.1.svn4022.1 - Rebuilt with python 2.6 * Fri Nov 20 2009 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn4022 - new svn version (commit efc50b962721acf6e0c360afc74dc1b0413d1f89) * Sun Nov 01 2009 Alexey Morsov <swi@altlinux.ru> 2:0.15.0-alt0.1.svn3950 - new svn version (commit b2e23dc3212944e4e05dac57d9a029bb1831e298) * Mon Oct 19 2009 Alexey Morsov <swi@altlinux.ru> 2:0.14.6-alt1 - new version * Sat Jun 13 2009 Alexey Morsov <swi@altlinux.ru> 2:0.14.4-alt1.1 - build python bindings (patch from crux) * Tue Jun 09 2009 Alexey Morsov <swi@altlinux.ru> 2:0.14.4-alt1 - new version - fix #19429 (thanks to viy) * Sat Mar 21 2009 Alexey Morsov <swi@altlinux.ru> 2:0.14.2-alt1 - new version * Wed Feb 25 2009 Alexey Morsov <swi@altlinux.ru> 2:0.14.1-alt2 - fix -devel name * Wed Dec 31 2008 Alexey Morsov <swi@altlinux.ru> 2:0.14.1-alt1 - new version * Mon Oct 27 2008 Alexey Morsov <swi@altlinux.ru> 2:0.13.1-alt1.1 - fix build with new boost + add boost-asio-devel * Sun Jul 20 2008 Alexey Morsov <swi@altlinux.ru> 2:0.13.1-alt1 [ Alexey Morsov ] - new version + change name for libtorrent-rasterbar0.13 (upstream name change and dso compliance - spec cleanup + remove static + put .so only in -devel * Wed Jun 25 2008 Alexey Morsov <swi@altlinux.ru> 2:0.13-alt3.svn.r2433 - new svn version * Mon Jun 16 2008 Alexey Morsov <swi@altlinux.ru> 2:0.13-alt2.svn.r2411 - new svn version * Sat Jun 07 2008 Alexey Morsov <swi@altlinux.ru> 2:0.13-alt2.svn.r2335 - new svn version * Wed Apr 23 2008 Alexey Morsov <swi@altlinux.ru> 2:0.13-alt1 - 0.13 release * Tue Mar 25 2008 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt2.rc3 - 0.13rc3 * Wed Jan 02 2008 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt1.svn.r1876 - 0.13svn.r1876 * Mon Dec 10 2007 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt1.svn.r1806b - 0.13svn.r1806b * Sat Nov 24 2007 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt1.svn.r1762 - 0.13svn.r1762 * Sat Nov 17 2007 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt1.svn.r1727 - 0.13svn.r1727 * Sat Nov 03 2007 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt1.svn.r1719 - version 0.13svn.r1719 * Thu Oct 25 2007 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt1.svn.r1683 - added support for sparse files. - introduced speed categories for peers and pieces, to separate slow and fast peers. - bug fixes * Sat Oct 13 2007 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt1.svn.r1672d - bugs fixes - some new functionality * Fri Oct 05 2007 Alexey Morsov <swi@altlinux.ru> 1:0.13-alt1.svn.r1615 - bug fixes - some improvements - added UPnP support - added support for local peer discovery - added encryption support * Wed Aug 15 2007 Alexey Morsov <swi@altlinux.ru> 1:0.12-alt1 - version 0.12 release * Tue Apr 10 2007 Alexey Morsov <swi@altlinux.ru> 0.12-alt1.rc2 - new version - truncate changelog for this is not the same libtorrent (old libtorrent now renamed to librtorrent) * Fri Dec 22 2006 Alexey Morsov <swi@altlinux.ru> 0.11-alt1 - NMU: version 0.11 (for qBittorrent) - fix BuildRequires - add patch for configure (add boost.serialization test) |