]> git.pld-linux.org Git - packages/libtorrent-rasterbar.git/blobdiff - libtorrent-rasterbar.spec
- rebuild with boost 1.71
[packages/libtorrent-rasterbar.git] / libtorrent-rasterbar.spec
index a86ae9d588552ef9d63d3fcc05aa1bc915f31f39..78260692c448e1802573a77711aff95dfb67f105 100644 (file)
@@ -1,15 +1,18 @@
+# WARNING: qbittorrent 3.x uses 1.0.x (libtorrent-1.0 branch), 4.x 1.1.x (master), there is no version ready for 1.2.x (DEVEL-1.2 branch)
+#
 %define                tagver  %(echo %{version} | tr . _)
 Summary:       A C++ BitTorrent library
 Summary(hu.UTF-8):     C++ BitTorrent könyvtár
 Summary(pl.UTF-8):     Biblioteka BitTorrenta napisana w C++
 Name:          libtorrent-rasterbar
-Version:       1.0.6
-Release:       6
-Epoch:         1
+Version:       1.1.11
+Release:       2
+Epoch:         2
 License:       BSD
 Group:         Libraries
-Source0:       https://github.com/arvidn/libtorrent/releases/download/libtorrent-%{tagver}/%{name}-%{version}.tar.gz
-# Source0-md5: e88d7f56fe9384e835b8389cd59e540e
+Source0:       https://github.com/arvidn/libtorrent/releases/download/libtorrent_%{tagver}/%{name}-%{version}.tar.gz
+# Source0-md5: 80e76c6fe6a57cf262afe09583c4dda2
+Patch0:                %{name}-boost.patch
 URL:           http://www.rasterbar.com/products/libtorrent/
 BuildRequires: GeoIP-devel
 BuildRequires: autoconf >= 2.63
@@ -119,6 +122,7 @@ Wiązania Pythona do biblioteki libtorrent-rasterbar.
 
 %prep
 %setup -q
+%patch0 -p1
 
 ## Some of the sources and docs are executable, which makes rpmlint against
 ## the resulting -debuginfo and -devel packages, respectively, quite angry. :]
@@ -137,16 +141,16 @@ find -type f -regex '.*\.[hc]pp' | xargs chmod a-x
        LIBS="-lpthread -lrt" \
        --disable-silent-rules \
        --enable-python-binding \
+       --with-asio=system \
        --with-boost-libdir=%{_libdir} \
-       --with-boost-system=boost_system \
        --with-boost-filesystem=boost_filesystem \
-       --with-boost-thread=boost_thread \
-       --with-boost-regex=boost_regex \
        --with-boost-program-options=boost_program_options \
-       --with-asio=system \
-       --with-zlib=system \
+       --with-boost-regex=boost_regex \
+       --with-boost-system=boost_system \
+       --with-boost-thread=boost_thread \
        --with-libgeoip=system \
-       --with-ssl
+       --with-ssl \
+       --with-zlib=system
 
 %{__make}
 
@@ -164,9 +168,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING README
+%doc AUTHORS ChangeLog COPYING
 %attr(755,root,root) %{_libdir}/libtorrent-rasterbar.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtorrent-rasterbar.so.8
+%attr(755,root,root) %ghost %{_libdir}/libtorrent-rasterbar.so.9
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.132222 seconds and 4 git commands to generate.