SPECS: libtorrent.spec - updated to 0.8.0 - added static_libs bcond
charles
charles at pld-linux.org
Tue Nov 22 03:36:57 CET 2005
Author: charles Date: Tue Nov 22 02:36:57 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.8.0
- added static_libs bcond
---- Files affected:
SPECS:
libtorrent.spec (1.16 -> 1.17)
---- Diffs:
================================================================
Index: SPECS/libtorrent.spec
diff -u SPECS/libtorrent.spec:1.16 SPECS/libtorrent.spec:1.17
--- SPECS/libtorrent.spec:1.16 Thu Oct 20 02:07:25 2005
+++ SPECS/libtorrent.spec Tue Nov 22 03:36:51 2005
@@ -1,13 +1,18 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: LibTorrent - a BitTorrent library written in C++ for Unix
Summary(pl): LibTorrent - biblioteka BitTorrenta napisana w C++ dla Uniksa
Name: libtorrent
-Version: 0.7.6
+Version: 0.8.0
Release: 1
License: GPL v2
Group: Libraries
Source0: http://libtorrent.rakshasa.no/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: ac93d98e30b90795ef34783e5fae3060
+# Source0-md5: 4516fffb7cd65ac0e1654d2e442dfc2b
+Patch0: %{name}-inttypes.patch
URL: http://libtorrent.rakshasa.no/
BuildRequires: autoconf
BuildRequires: automake
@@ -58,6 +63,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
@@ -66,7 +72,7 @@
%{__automake}
%configure \
--%{?debug:en}%{!?debug:dis}able-debug \
- --enable-static
+ %{?with_static_libs:--enable-static}
%{__make}
%install
@@ -93,9 +99,11 @@
%{_includedir}/torrent
%{_pkgconfigdir}/libtorrent.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libtorrent.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -103,6 +111,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.17 2005/11/22 02:36:51 charles
+- updated to 0.8.0
+- added static_libs bcond
+
Revision 1.16 2005/10/20 00:07:25 charles
- updated to 0.7.6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libtorrent.spec?r1=1.16&r2=1.17&f=u
More information about the pld-cvs-commit
mailing list