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
This commit is contained in:
OBS User autobuild 2010-07-20 19:01:43 +00:00 committed by Git OBS Bridge
commit 43f2306a23
5 changed files with 167 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c4acf4f04cca608b9aa36232fcb6ad39001df6baa5f78dc14f97319590d7086
size 945366

21
libktorrent.changes Normal file
View File

@ -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

119
libktorrent.spec Normal file
View File

@ -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 <jrois.guisson@gmail.com>
%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 <jrois.guisson@gmail.com>
%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 <jrois.guisson@gmail.com>
%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