SPECS: rb_libtorrent.spec - 0.13 - use auto tools - use sed macro

lisu lisu at pld-linux.org
Wed Apr 16 21:18:46 CEST 2008


Author: lisu                         Date: Wed Apr 16 19:18:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.13
- use auto tools
- use sed macro

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

---- Diffs:

================================================================
Index: SPECS/rb_libtorrent.spec
diff -u SPECS/rb_libtorrent.spec:1.8 SPECS/rb_libtorrent.spec:1.9
--- SPECS/rb_libtorrent.spec:1.8	Sun Feb  3 12:21:44 2008
+++ SPECS/rb_libtorrent.spec	Wed Apr 16 21:18:41 2008
@@ -2,13 +2,15 @@
 Summary:	A C++ BitTorrent library
 Summary(pl.UTF-8):	Biblioteka BitTorrenta napisana w C++
 Name:		rb_libtorrent
-Version:	0.12.1
+Version:	0.13
 Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/libtorrent/libtorrent-%{version}.tar.gz
-# Source0-md5:	1be3c3751673f751015b260836437f2e
+# Source0-md5:	571a91a98c7426321681dd9f767a87de
 URL:		http://www.rasterbar.com/products/libtorrent/
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	boost-array-devel
 BuildRequires:	boost-bind-devel
 BuildRequires:	boost-call_traits-devel
@@ -90,9 +92,12 @@
 rm -f docs/*.rst
 ## Fix the installed pkgconfig file: we don't need linkage that the
 ## libtorrent DSO already takes care of.
-sed -i -e 's/^Libs:.*$/Libs: -L${libdir} -ltorrent/' libtorrent.pc.in
+%{__sed} -i -e 's/^Libs:.*$/Libs: -L${libdir} -ltorrent/' libtorrent.pc.in
 
 %build
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
 %configure \
 	--enable-examples \
 	--with-zlib=system
@@ -121,7 +126,7 @@
 %doc AUTHORS ChangeLog COPYING README
 %attr(755,root,root) %{_bindir}/*torrent*
 #%%attr(755,root,root) %{_libdir}/libtorrent.so.*.*.*
-%attr(755,root,root) %{_libdir}/libtorrent-0.12.1.so
+%attr(755,root,root) %{_libdir}/libtorrent-0.13.so
 
 %files devel
 %defattr(644,root,root,755)
@@ -141,6 +146,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008-04-16 19:18:41  lisu
+- 0.13
+- use auto tools
+- use sed macro
+
 Revision 1.8  2008-02-03 11:21:44  lisu
 - 0.12.1
 - shared library has a new name in ths version
================================================================

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



More information about the pld-cvs-commit mailing list