From 43f2306a23c1e9d1bb9ff7316da72f96ba8b6ea7c56771f675d7ca927ffe2169 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 20 Jul 2010 19:01:43 +0000 Subject: [PATCH] Accepting request 43498 from KDE:Distro:Factory Copy from KDE:Distro:Factory/libktorrent based on submit request 43498 from user Beineri OBS-URL: https://build.opensuse.org/request/show/43498 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libktorrent?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + libktorrent-1.0.2.tar.bz2 | 3 + libktorrent.changes | 21 +++++++ libktorrent.spec | 119 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 167 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libktorrent-1.0.2.tar.bz2 create mode 100644 libktorrent.changes create mode 100644 libktorrent.spec 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/libktorrent-1.0.2.tar.bz2 b/libktorrent-1.0.2.tar.bz2 new file mode 100644 index 0000000..b92de4a --- /dev/null +++ b/libktorrent-1.0.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c4acf4f04cca608b9aa36232fcb6ad39001df6baa5f78dc14f97319590d7086 +size 945366 diff --git a/libktorrent.changes b/libktorrent.changes new file mode 100644 index 0000000..8626ea3 --- /dev/null +++ b/libktorrent.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Fri Jul 9 08:53:03 UTC 2010 - beineri@opensuse.org + +- update to 1.0.2: bugfixes, renames libktorrent1 to libktorrent2 + +------------------------------------------------------------------- +Tue Jun 15 05:44:46 UTC 2010 - tittiatcoke@gmail.com + +- update to 1.0.1 + * Bugfixes + +------------------------------------------------------------------- +Mon Jun 7 13:56:22 CEST 2010 - dmueller@suse.de + +- fix -lang package generation + +------------------------------------------------------------------- +Wed May 26 05:35:41 UTC 2010 - tittiatcoke@gmail.com + +- Initial package 1.0.0 + diff --git a/libktorrent.spec b/libktorrent.spec new file mode 100644 index 0000000..9ee6760 --- /dev/null +++ b/libktorrent.spec @@ -0,0 +1,119 @@ +# +# spec file for package libktorrent (Version 1.0.2) +# +# Copyright (c) 2010 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/ +# + + + +Name: libktorrent +BuildRequires: fdupes gmp-devel kdebase4-workspace-devel libkdepimlibs4-devel libqca2-devel taglib-devel +Url: http://ktorrent.pwsp.net/ +License: GPLv2+ +Group: Productivity/Networking/File-Sharing +Summary: KTorrent Downloading Library +Version: 1.0.2 +Release: 1 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: %{name}-%{version}.tar.bz2 + +%description +Torrent is a BitTorrent program for KDE. Its main features are: * + Download of torrent files +* Upload speed capping, seeing that most people cannot upload + infinite amounts of data + +* Internet searching using the BitTorrent Web site's search engine + +* UDP trackers + + +Authors: +-------- + Jois Guisson + +%package devel +License: GPLv2+ +Group: Productivity/Networking/File-Sharing +Summary: KDE BitTorrent Client Build Environment +Requires: libktorrent2 = %{version} + +%description devel +This package includes the necessary files to build KTorrent plugins. + + + +Authors: +-------- + Jois Guisson + +%package -n libktorrent2 +License: GPLv2+ +Group: Productivity/Networking/File-Sharing +Summary: KDE BitTorrent Client Build Environment +Requires: libktorrent2-lang = %{version} + +%description -n libktorrent2 +This package includes the ktorrent donwloading library + + + +Authors: +-------- + Jois Guisson + + +%lang_package -n libktorrent2 +%prep +%setup -q -n %name-%{version} + +%build + %cmake_kde4 -d build -- -DENABLE_DHT_SUPPORT=true + %make_jobs + +%install + cd build + %makeinstall + %fdupes -s $RPM_BUILD_ROOT +%if %suse_version < 1120 + rm -rf $RPM_BUILD_ROOT/usr/share/locale/hne +%endif + %kde_post_install + %find_lang %name + +%pre -n libktorrent2 -p /sbin/ldconfig + +%post -n libktorrent2 -p /sbin/ldconfig + +%postun -n libktorrent2 -p /sbin/ldconfig + +%files -n libktorrent2-lang -f build/%name.lang +%defattr(-,root,root) +%dir /usr/share/locale/sr@ijekavian +%dir /usr/share/locale/sr@ijekavian/LC_MESSAGES +%dir /usr/share/locale/sr@ijekavianlatin +%dir /usr/share/locale/sr@ijekavianlatin/LC_MESSAGES + +%files -n libktorrent2 +%defattr(-,root,root) +%_libdir/libktorrent.so.* + +%files devel +%defattr(-,root,root) +%dir /usr/include/libktorrent +%_libdir/libktorrent.so +/usr/include/libktorrent +/usr/share/kde4/apps/cmake/modules/FindKTorrent.cmake + +%changelog