commit 24e65a03efdd0f0a6a00c4c5e4738b7423b257b3451c2cb555a7b18ca909d1f3 Author: Cristian Rodríguez Date: Mon Apr 11 03:07:13 2011 +0000 Accepting request 66650 from openSUSE:Factory:Contrib OBS-URL: https://build.opensuse.org/request/show/66650 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libtorrent-rasterbar-0.15.6.tar.gz b/libtorrent-rasterbar-0.15.6.tar.gz new file mode 100644 index 0000000..b6fa748 --- /dev/null +++ b/libtorrent-rasterbar-0.15.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc84775911129942d21ed94569f7c06accffcf31dc909b26eca5f824efb63f13 +size 2608765 diff --git a/libtorrent-rasterbar-rpmlintrc b/libtorrent-rasterbar-rpmlintrc new file mode 100644 index 0000000..a0b8c3e --- /dev/null +++ b/libtorrent-rasterbar-rpmlintrc @@ -0,0 +1,2 @@ +# packge is named libtorrent-rasterbar +addFilter("shlib-policy-missing-lib") diff --git a/libtorrent-rasterbar.changes b/libtorrent-rasterbar.changes new file mode 100644 index 0000000..07ce726 --- /dev/null +++ b/libtorrent-rasterbar.changes @@ -0,0 +1,83 @@ +------------------------------------------------------------------- +Sun Apr 10 19:29:26 UTC 2011 - fisiu@opensuse.org + +- Upstream update to 0.15.6, bugfix release. + +------------------------------------------------------------------- +Fri Apr 8 14:11:21 UTC 2011 - fisiu@opensuse.org + +- spec cleanup + +------------------------------------------------------------------- +Mon Jan 10 20:30:41 UTC 2011 - fisiu@opensuse.org + +- Upstream update to 0.15.5 + +------------------------------------------------------------------- +Sat Oct 9 13:16:51 UTC 2010 - fisiu@opensuse.org + +- upstream update to 0.15.4 + +------------------------------------------------------------------- +Sun Apr 4 00:00:00 UTC 2010 - fisiu@opensuse.org + +- revert to version 0.14.10 due to other bugs with current glibc + +------------------------------------------------------------------- +Sat Apr 3 00:00:00 UTC 2010 - fisiu@opensuse.org + +- fixed issues with glibc, use posix_memalign() instead of valloc() + +------------------------------------------------------------------- +Tue Mar 23 00:00:00 UTC 2010 - fisiu@opensuse.org + +- upstream update to 0.15.0 +- cleaned up spec file +- enabled python bindings +- soname gets 6 + +------------------------------------------------------------------- +Mon Jan 11 00:00:00 UTC 2010 - fisiu@opensuse.org + +- upstream update to 0.14.8 + +------------------------------------------------------------------- +Tue Nov 24 00:00:00 UTC 2009 - fisiu82@gmail.com + +- upstream update to 0.14.7 + +------------------------------------------------------------------- +Thu Oct 22 00:00:00 UTC 2009 - fisiu82@gmail.com + +- upstream update to 0.14.6 + +------------------------------------------------------------------- +Tue Jun 9 00:00:00 UTC 2009 - fisiu82@gmail.com + +- upstream update to 0.14.4 + +------------------------------------------------------------------- +Tue Apr 28 00:00:00 UTC 2009 - fisiu82@gmail.com + +- upstream update to 0.14.3 + +------------------------------------------------------------------- +Mon Mar 9 00:00:00 UTC 2009 - fisiu82@gmail.com + +- upstream update to 0.14.2 + +------------------------------------------------------------------- +Mon Dec 22 00:00:00 UTC 2008 - fisiu82@gmail.com + +- 0.14.1 + +------------------------------------------------------------------- +Tue Jul 22 00:00:00 UTC 2008 - fisiu82@gmail.com + +- update package to 0.13.1 + +------------------------------------------------------------------- +Sat May 3 00:00:00 UTC 2008 - marekstopka@gmail.com + +- new package created, based on spec from home:darix obs project + diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec new file mode 100644 index 0000000..db4ecc6 --- /dev/null +++ b/libtorrent-rasterbar.spec @@ -0,0 +1,157 @@ +# +# spec file for package libtorrent-rasterbar +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%define _soname 6 + +Name: libtorrent-rasterbar +Version: 0.15.6 +Release: 1 +License: BSD +Summary: Libtorrent is a C++ implementation of the BitTorrent protocol +Url: http://www.rasterbar.com/products/libtorrent/ +Group: Development/Libraries/C and C++ +Source: http://libtorrent.googlecode.com/files/%{name}-%{version}.tar.gz +BuildRequires: boost-devel >= 1.36 +BuildRequires: gcc-c++ +BuildRequires: libGeoIP-devel +BuildRequires: pkg-config +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(zlib) +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client. + +The main goals of libtorrent are: +* to be cpu efficient +* to be memory efficient +* to be very easy to use + +This package holds the sample client and example files for libtorrent-rasterbar. + +%package -n %{name}%{_soname} +License: BSD +Summary: Libtorrent is a C++ implementation of the BitTorrent protocol +Group: System/Libraries + +%description -n %{name}%{_soname} +libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client. + +The main goals of libtorrent are: +* to be cpu efficient +* to be memory efficient +* to be very easy to use + +%package -n python-%{name} +Summary: Python Bindings for libtorrent-rasterbar +Group: Development/Libraries/Python +Requires: python >= %{py_ver} + +%description -n python-libtorrent-rasterbar +Python Bindings for package libtorrent-rasterbar. + +%package devel +License: BSD +Summary: Libtorrent is a C++ implementation of the BitTorrent protocol +Group: Development/Libraries/C and C++ +Requires: %{name}%{_soname} = %{version} +Requires: boost-devel >= 1.36 +Requires: gcc-c++ +Requires: libGeoIP-devel +Requires: pkgconfig(openssl) +Requires: pkgconfig(zlib) + +%description devel +libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client. + +The main goals of libtorrent are: +* to be cpu efficient +* to be memory efficient +* to be very easy to use + +This package holds the development files for libtorrent-rasterbar. + +%package doc +License: BSD +Summary: Documentation for libtorrent-rasterbar +Group: Documentation/HTML + +%description doc +Documentation for package libtorrent-rasterbar. + +%prep +%setup -q + +%build +export CFLAGS="%{optflags} -g -fno-strict-aliasing" +export CXXFLAGS="%{optflags} -g -fno-strict-aliasing" +export LDFLAGS="%{optflags} -lrt" + +%configure \ + --disable-static \ + --with-libgeoip \ + --with-boost-libdir=%{_libdir} \ + --enable-examples \ + --enable-tests \ + --enable-python-binding + +make %{?_smp_mflags} + +%install +%make_install +rm -v %{buildroot}%{_libdir}/*.la +# move doc to separate package +mkdir -p %{buildroot}%{_defaultdocdir}/%{name} +install -m 644 docs/* %{buildroot}%{_defaultdocdir}/%{name}/ + +%clean +%{?buildroot:rm -rf %{buildroot}} + +%post -n %{name}%{_soname} -p /sbin/ldconfig +%postun -n %{name}%{_soname} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/client_test +%{_bindir}/dump_torrent +%{_bindir}/enum_if +%{_bindir}/make_torrent +%{_bindir}/simple_client + +%files -n %{name}%{_soname} +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog NEWS README +%{_libdir}/%{name}.so.%{_soname} +%{_libdir}/%{name}.so.%{_soname}.0.0 + +%files -n python-%{name} +%defattr(-,root,root) +%py_sitedir/libtorrent.so +%py_sitedir/python_libtorrent-%{version}-py%{py_ver}.egg-info + +%files devel +%defattr(-,root,root) +%{_includedir}/libtorrent/ +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc + +%files doc +%defattr(-,root,root) +%doc %{_defaultdocdir}/%{name}/ + +%changelog