SPECS: libtorrent-rasterbar.spec - down to 0.13.1 - imho it doesn't work wi...

uzsolt uzsolt at pld-linux.org
Sat Nov 15 10:29:42 CET 2008


Author: uzsolt                       Date: Sat Nov 15 09:29:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- down to 0.13.1 - imho it doesn't work with qbittorrent 1.2.1
- rel 5 (rebuild with newest boost)

---- Files affected:
SPECS:
   libtorrent-rasterbar.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/libtorrent-rasterbar.spec
diff -u SPECS/libtorrent-rasterbar.spec:1.8 SPECS/libtorrent-rasterbar.spec:1.9
--- SPECS/libtorrent-rasterbar.spec:1.8	Mon Nov 10 20:08:42 2008
+++ SPECS/libtorrent-rasterbar.spec	Sat Nov 15 10:29:37 2008
@@ -3,24 +3,23 @@
 Summary(hu.UTF-8):	C++ BitTorrent könyvtár
 Summary(pl.UTF-8):	Biblioteka BitTorrenta napisana w C++
 Name:		libtorrent-rasterbar
-Version:	0.14
+Version:	0.13.1
 Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/libtorrent/%{name}-%{version}.tar.gz
-# Source0-md5:	d4577ac07cff34b4a8202edc24383b8b
+# Source0-md5:	9d6b112fedc5861402647ff72e95dba0
+Patch0:		%{name}-examples.patch
+## fix the build error with newest boost -- it will be fixed in the next libtorrent version
+Patch1:		%{name}-boost.patch
+Patch2:		%{name}-condition.patch
 URL:		http://www.rasterbar.com/products/libtorrent/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	boost-devel >= 1.35.0
 BuildRequires:	libstdc++-devel
-BuildRequires:	libtool
-BuildRequires:	openssl-devel
 BuildRequires:	sed >= 4.0
-BuildRequires:	which
-BuildRequires:	util-linux-ng
 BuildRequires:	zlib-devel
-Obsoletes:	rb_libtorrent
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -59,7 +58,8 @@
 Requires:	%{name} = %{version}-%{release}
 Requires:	boost-devel
 Requires:	openssl-devel
-Obsoletes:	rb_libtorrent-devel
+## Same pkgconfig file, and unsuffixed shared library symlink.:(
+Conflicts:	libtorrent-devel
 
 %description    devel
 The libtorrent-rasterbar-devel package contains libraries and header
@@ -86,7 +86,6 @@
 Summary(pl.UTF-8):	Statyczna biblioteka %{name}
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
-Obsoletes:	rb_libtorrent-static
 
 %description static
 Static libtorrent-rasterbar library.
@@ -99,7 +98,9 @@
 
 %prep
 %setup -q
-
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 ## Some of the sources and docs are executable, which makes rpmlint against
 ## the resulting -debuginfo and -devel packages, respectively, quite angry. :]
 find src docs -type f | xargs chmod a-x
@@ -114,13 +115,13 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--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,zlib}=system \
-	--with-ssl
+	--with-boost-system=boost_system\
+	--with-boost-date-time=boost_date_time\
+	--with-boost-filesystem=boost_filesystem\
+	--with-boost-thread=boost_thread\
+	--with-boost-regex=boost_regex\
+	--with-boost-program-options=boost_program_options\
+	--with-{asio,zlib}=system
 
 %{__make} LDFLAGS="-L%{_libdir}64 %{rpmldflags}"
 
@@ -164,26 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.8  2008/11/10 19:08:42  megabajt
-- added O: rb_libtorrent, rb_libtorrent-devel, rb_libtorrent-static
-
-Revision 1.7  2008/11/10 16:49:47  duddits
-- up to 0.14
-- obsolete patches removed
-- %configure options updated
-
-Revision 1.6  2008/09/09 12:37:39  pluto
-- add missed BRs.
-
-Revision 1.5  2008/09/07 09:29:03  uzsolt
-- removed libtorrent-devel conflict (libtorrent-rb's files names are libtorrent-rasterbar*)
-- release 3
-
-Revision 1.4  2008/09/06 21:06:36  paszczus
-- release 2
-
-Revision 1.3  2008/09/01 17:16:04  uzsolt
-- added -L/usr/lib64 to LDFLAGS
+Revision 1.9  2008/11/15 09:29:37  uzsolt
+- down to 0.13.1 - imho it doesn't work with qbittorrent 1.2.1
+- rel 5 (rebuild with newest boost)
 
 Revision 1.1  2008/08/31 11:25:25  uzsolt
 - rb_libtorrent renamed to libtorrent-rasterbar
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libtorrent-rasterbar.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list