]> git.pld-linux.org Git - packages/ktorrent.git/blobdiff - ktorrent.spec
- up to 4.3.1. KIO magnet dropped upstream.
[packages/ktorrent.git] / ktorrent.spec
index 85555abe26f6fc1638e52086742c1e974cc7538d..cf05c19363049bb1faaa29acc146915b1bf14af4 100644 (file)
@@ -1,17 +1,19 @@
 #
-%define         qtver   4.6.2
-%define                kdever  4.4.4
+%define         qtver   4.6.3
+%define                kdever  4.5.0
 
 Summary:       Native KDE BitTorrent client
 Summary(de.UTF-8):     Ein nativer KDE BitTorrent Klient
 Summary(pl.UTF-8):     Natywny klient BitTorrenta dla KDE
 Name:          ktorrent
-Version:       4.0.0
-Release:       3
+Version:       4.3.1
+Release:       1
 License:       GPL
 Group:         Applications/Networking
-Source0:       http://ktorrent.org/downloads/4.0/%{name}-%{version}.tar.bz2
-# Source0-md5: 7862b09dfc1282053c7304f98f3ce0cf
+Source0:       http://ktorrent.org/downloads/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 696852076315d3aa8ccc8745482872dd
+# Patch0:              plasma_applet_remove_taskmanager.diff
+Patch0:                Fix-compilation-of-ipblocklisttest-target.patch
 URL:           http://ktorrent.org/
 BuildRequires: Qt3Support-devel >= %{qtver}
 BuildRequires: QtCore-devel >= %{qtver}
@@ -21,12 +23,12 @@ BuildRequires:      QtSvg-devel >= %{qtver}
 BuildRequires: automoc4 >= 0.9.88
 BuildRequires: boost-devel
 BuildRequires: cmake >= 2.8.0
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
 BuildRequires: gmp-devel
 BuildRequires: kde4-kdebase-workspace-devel >= %{kdever}
 BuildRequires: kde4-kdelibs-devel >= %{kdever}
 BuildRequires: kde4-kdepimlibs-devel >= %{kdever}
-BuildRequires: libktorrent-devel >= 1.0.0
+BuildRequires: libktorrent-devel >= 1.3
 BuildRequires: qca-devel >= 2.0.0
 BuildRequires: qt4-build >= %{qtver}
 BuildRequires: qt4-qmake >= %{qtver}
@@ -70,6 +72,7 @@ Główne cechy to:
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
@@ -88,13 +91,16 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name} --with-kde
-
 # remove lib symlinks - devel subpackage is not needed anyway
-rm -f $RPM_BUILD_ROOT/%{_libdir}/lib*.so
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
 
 # remove unsupported langs
-rm -rf $RPM_BUILD_ROOT/%{_datadir}/locale/sr@ijekavian*
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/sr@ijekavian*
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ar
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/eu
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/se
+
+%find_lang %{name} --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -127,8 +133,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/kde4/plasma_applet_ktorrent.so
 %attr(755,root,root) %ghost %{_libdir}/libktcore.so.??
 %attr(755,root,root) %{_libdir}/libktcore.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libktupnp.so.?
-%attr(755,root,root) %{_libdir}/libktupnp.so.*.*.*
 %{_desktopdir}/kde4/ktorrent.desktop
 %{_datadir}/apps/ktorrent
 %{_datadir}/kde4/services/ktbwschedulerplugin.desktop
@@ -153,3 +157,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/kde4/services/plasma-applet-ktorrent.desktop
 %{_iconsdir}/*/*/actions/kt-*.png
 %{_iconsdir}/*/*/apps/ktorrent.png
+%{_iconsdir}/*/*/actions/kt-*.svgz
This page took 0.051283 seconds and 4 git commands to generate.