diff --git a/libktorrent-1.0.4.tar.bz2 b/libktorrent-1.0.4.tar.bz2 deleted file mode 100644 index 177bb2e..0000000 --- a/libktorrent-1.0.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b67188673498c04f2155438a8c7c068fcabad95247419c7ecbcfdde699a61d39 -size 871971 diff --git a/libktorrent-git20101122.tar.bz2 b/libktorrent-git20101122.tar.bz2 new file mode 100644 index 0000000..ce646c9 --- /dev/null +++ b/libktorrent-git20101122.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df1f024c0df558abd2526cdc7d490a41bf77c329116a0405d79ae226be82e577 +size 255601 diff --git a/libktorrent-po.tar.bz2 b/libktorrent-po.tar.bz2 new file mode 100644 index 0000000..3fe88e0 --- /dev/null +++ b/libktorrent-po.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:940fbbc7f44d6f1890f19b25d67d909c0a6dcb59ea3612bfc470e3415fe447bf +size 710185 diff --git a/libktorrent.changes b/libktorrent.changes index 654786c..83d1fd9 100644 --- a/libktorrent.changes +++ b/libktorrent.changes @@ -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 diff --git a/libktorrent.spec b/libktorrent.spec index c098753..d5f5ae5 100644 --- a/libktorrent.spec +++ b/libktorrent.spec @@ -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 -%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 -%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.*