Accepting request 53724 from KDE:Distro:Factory

Accepted submit request 53724 from user dirkmueller

OBS-URL: https://build.opensuse.org/request/show/53724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libktorrent?expand=0&rev=5
This commit is contained in:
Marcus Rückert 2010-11-22 22:47:58 +00:00 committed by Git OBS Bridge
parent 557b131fe8
commit 3f8a701dcf
5 changed files with 30 additions and 16 deletions

View File

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

View File

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

3
libktorrent-po.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:940fbbc7f44d6f1890f19b25d67d909c0a6dcb59ea3612bfc470e3415fe447bf
size 710185

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 22 09:37:42 UTC 2010 - tittiatcoke@gmail.com
- Update to the latest git snapshot to build KGet with torrent
support in KDE 4.6 Beta 1
-------------------------------------------------------------------
Mon Oct 18 19:34:25 UTC 2010 - tittiatcoke@gmail.com

View File

@ -1,5 +1,5 @@
#
# spec file for package libktorrent (Version 1.0.4)
# spec file for package libktorrent (Version 1.0.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -16,6 +16,7 @@
#
%define gitver git20101122
Name: libktorrent
BuildRequires: fdupes gmp-devel kdebase4-workspace-devel libkdepimlibs4-devel libqca2-devel taglib-devel
@ -23,10 +24,11 @@ Url: http://ktorrent.pwsp.net/
License: GPLv2+
Group: Productivity/Networking/File-Sharing
Summary: KTorrent Downloading Library
Version: 1.0.4
Version: 1.0.60%{gitver}
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2
Source: %{name}-%{gitver}.tar.bz2
Source1: %{name}-po.tar.bz2
%description
Torrent is a BitTorrent program for KDE. Its main features are: *
@ -47,7 +49,7 @@ Authors:
License: GPLv2+
Group: Productivity/Networking/File-Sharing
Summary: KDE BitTorrent Client Build Environment
Requires: libktorrent2 = %{version}
Requires: libktorrent3 = %{version}
%description devel
This package includes the necessary files to build KTorrent plugins.
@ -58,13 +60,13 @@ Authors:
--------
Jois Guisson <jrois.guisson@gmail.com>
%package -n libktorrent2
%package -n libktorrent3
License: GPLv2+
Group: Productivity/Networking/File-Sharing
Summary: KDE BitTorrent Client Build Environment
Recommends: libktorrent2-lang = %{version}
%description -n libktorrent2
%description -n libktorrent3
This package includes the ktorrent donwloading library
@ -74,9 +76,12 @@ Authors:
Jois Guisson <jrois.guisson@gmail.com>
%lang_package -n libktorrent2
%lang_package -n libktorrent3
%prep
%setup -q -n %name-%{version}
%setup -q -n %name -a 1
echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt
echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt
echo "add_subdirectory( po ) " >> CMakeLists.txt
%build
%cmake_kde4 -d build -- -DENABLE_DHT_SUPPORT=true
@ -92,20 +97,20 @@ Authors:
%kde_post_install
%find_lang %name
%pre -n libktorrent2 -p /sbin/ldconfig
%pre -n libktorrent3 -p /sbin/ldconfig
%post -n libktorrent2 -p /sbin/ldconfig
%post -n libktorrent3 -p /sbin/ldconfig
%postun -n libktorrent2 -p /sbin/ldconfig
%postun -n libktorrent3 -p /sbin/ldconfig
%files -n libktorrent2-lang -f build/%name.lang
%files -n libktorrent3-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
%files -n libktorrent3
%defattr(-,root,root)
%_libdir/libktorrent.so.*