Hello community, here is the log from the commit of package libktorrent for openSUSE:Factory checked in at Thu Mar 10 11:33:55 CET 2011.
-------- --- libktorrent/libktorrent.changes 2011-01-15 15:17:16.000000000 +0100 +++ /mounts/work_src_done/STABLE/libktorrent/libktorrent.changes 2011-02-26 11:31:03.000000000 +0100 @@ -1,0 +2,27 @@ +Sat Feb 26 10:30:55 UTC 2011 - [email protected] + +- recommend -lang package again + +------------------------------------------------------------------- +Fri Feb 25 20:12:14 UTC 2011 - [email protected] + +- Update to libktorrent-1.0.99rc1 (1.1rc1): + * Fix bug in UPnP so that it works properly with D-Link DIR 635 routers + * Fix crash due to manipulating timers in the wrong thread (261903) + * Fix compiler warning in TimeEstimator (262618) + * Fix crash due to cleaning up timer in the wrong thread (260712) + * Fix crash due to not properly cleaning up Peers and everything related when + switching to superseeding mode (261529) + * Fix invalid read in utp timer cleanup code (263800) + * Fix crashes at exit (264378, 256639) +- Spec file updates: + * Changes based on rpmdevtools templates and spec-cleaner run. + * Updates in Summary:, Url: and %description. + * Changed License: to GPLv2+ and LGPLv2+ and MIT and BSD. + * Updates in Buildrequires:, %build, %install and %files sections. + * Use Suggests: and not Recommends: for lang package. + * Removed %pre /sbin/ldconfig section (not needed). +- Removed libktorrent-1.1beta1-sprseedcrash.patch (fixed upstream). +- Removed libktorrent-po.tar.bz2 (not needed, its included in the package). + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- libktorrent-1.1beta1-sprseedcrash.patch libktorrent-1.1beta1.tar.bz2 libktorrent-po.tar.bz2 New: ---- libktorrent-1.1rc1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libktorrent.spec ++++++ --- /var/tmp/diff_new_pack.wgp1xS/_old 2011-03-10 11:25:47.000000000 +0100 +++ /var/tmp/diff_new_pack.wgp1xS/_new 2011-03-10 11:25:47.000000000 +0100 @@ -16,44 +16,42 @@ # -%define gitver git20101211 -%define srcversion 1.1beta1 -%define debug_package_requires libktorrent3 = %{version}-%{release} Name: libktorrent -BuildRequires: fdupes gmp-devel kdebase4-workspace-devel libkdepimlibs4-devel libqca2-devel taglib-devel -Url: http://ktorrent.pwsp.net/ -License: GPLv2+ +Version: 1.0.99rc1 +Release: 1 +Summary: Torrent Downloading Library + +License: GPLv2+ and LGPLv2+ and MIT and BSD +Url: http://ktorrent.org/ Group: Productivity/Networking/File-Sharing -Summary: KTorrent Downloading Library -Version: 1.0.80 -Release: 2 +Source0: http://ktorrent.org/downloads/4.1rc1/%{name}-1.1rc1.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: %{name}-%{srcversion}.tar.bz2 -Source1: %{name}-po.tar.bz2 -# Patch0 fixes superseeding crash, see : kde #(261529), first reported in kde #(262560). -Patch0: libktorrent-1.1beta1-sprseedcrash.patch + +BuildRequires: boost-devel +BuildRequires: doxygen +BuildRequires: gmp-devel +BuildRequires: libgcrypt-devel +BuildRequires: libkde4-devel +BuildRequires: libqca2-devel %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 +libktorrent is a torrent downloading library. + + Authors: -------- Jois Guisson <[email protected]> %package devel -License: GPLv2+ +Summary: Development files for libktorrent +License: GPLv2+ and LGPLv2+ and MIT and BSD Group: Development/Libraries/C and C++ -Summary: KDE BitTorrent Client Build Environment Requires: libktorrent3 = %{version} %description devel -This package includes the necessary files to build KTorrent plugins. +This package includes the necessary files for development using libktorrent. @@ -62,13 +60,13 @@ Jois Guisson <[email protected]> %package -n libktorrent3 -License: GPLv2+ +Summary: Torrent Downloading Library +License: GPLv2+ and LGPLv2+ and MIT and BSD Group: Productivity/Networking/File-Sharing -Summary: KDE BitTorrent Client Build Environment -Recommends: libktorrent2-lang = %{version} +Recommends: libktorrent3-lang = %{version} %description -n libktorrent3 -This package includes the ktorrent donwloading library +libktorrent is a torrent downloading library. @@ -77,53 +75,52 @@ Jois Guisson <[email protected]> + %lang_package -n libktorrent3 %prep -%setup -q -n %{name}-%{srcversion} -# -a 1 -%patch0 -echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt -echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt -echo "add_subdirectory( po ) " >> CMakeLists.txt +%setup -q -n %{name}-1.1rc1 %build - %cmake_kde4 -d build -- -DENABLE_DHT_SUPPORT=true - %make_jobs +%cmake_kde4 -d build +%make_jobs %install - cd build - %makeinstall - %fdupes -s $RPM_BUILD_ROOT -%if %suse_version < 1120 - rm -rf $RPM_BUILD_ROOT/usr/share/locale/hne +cd build +%kde4_makeinstall +cd .. + +# Remove unneeded locales +%if 0%{?suse_version} < 1140 + rm -rf %{buildroot}%{_datadir}/locale/ast/ + rm -rf %{buildroot}%{_datadir}/locale/hne/ + rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavian/ + rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavianlatin/ %endif - %kde_post_install - %find_lang %name +# + +%find_lang %{name} -%pre -n libktorrent3 -p /sbin/ldconfig +%kde_post_install + +%clean +rm -rf %{buildroot} %post -n libktorrent3 -p /sbin/ldconfig %postun -n libktorrent3 -p /sbin/ldconfig -%files -n libktorrent3-lang -f build/%name.lang -%defattr(-,root,root) -%if 0%{?suse_version} < 1140 -%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 -%endif +%files devel +%defattr(-,root,root,-) +%{_kde4_includedir}/libktorrent/ +%{_kde4_libdir}/libktorrent.so +%{_kde4_appsdir}/cmake/modules/FindKTorrent.cmake %files -n libktorrent3 -%defattr(-,root,root) -%_libdir/libktorrent.so.* +%defattr(-,root,root,-) +%doc COPYING ChangeLog RoadMap +%{_kde4_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 +%files -n libktorrent3-lang -f %{name}.lang +%defattr(-,root,root,-) %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
