SPECS: libtorrent.spec - don't turn off -static. fix build! - rele...

pluto pluto at pld-linux.org
Thu Jul 13 17:02:57 CEST 2006


Author: pluto                        Date: Thu Jul 13 15:02:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't turn off -static. fix build!
- release 2.

---- Files affected:
SPECS:
   libtorrent.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/libtorrent.spec
diff -u SPECS/libtorrent.spec:1.30 SPECS/libtorrent.spec:1.31
--- SPECS/libtorrent.spec:1.30	Wed Jul 12 10:48:35 2006
+++ SPECS/libtorrent.spec	Thu Jul 13 17:02:51 2006
@@ -7,13 +7,15 @@
 Summary(pl):	LibTorrent - biblioteka BitTorrenta napisana w C++ dla Uniksa
 Name:		libtorrent
 Version:	0.10.0
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Libraries
 Source0:	http://libtorrent.rakshasa.no/downloads/%{name}-%{version}.tar.gz
 # Source0-md5:	240e90818c4c9c34474b2e1873d09910
 Patch0:		%{name}-inttypes.patch
+Patch1:		%{name}-static_libs.patch
 URL:		http://libtorrent.rakshasa.no/
+BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libsigc++-devel >= 2.0
 BuildRequires:	openssl-devel >= 0.9.7d
@@ -62,12 +64,17 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
+%{__aclocal} -I scripts
+%{__autoconf}
 cp /usr/share/automake/config.sub .
+
 %configure \
 	--%{?debug:en}%{!?debug:dis}able-debug \
 	%{?with_static_libs:--enable-static}
+
 %{__make}
 
 %install
@@ -94,13 +101,11 @@
 %{_includedir}/torrent
 %{_pkgconfigdir}/libtorrent.pc
 
-%if 0
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libtorrent.a
 %endif
-%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -108,6 +113,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2006/07/13 15:02:51  pluto
+- don't turn off -static. fix build!
+- release 2.
+
 Revision 1.30  2006/07/12 08:48:35  charles
 - build doesn't produce libtorrent.a (temporary turn off package -static)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libtorrent.spec?r1=1.30&r2=1.31&f=u



More information about the pld-cvs-commit mailing list