update to 5.1.0 [release 5.1.0-1mamba;Sun Jan 14 2018]
This commit is contained in:
parent
a278c021e4
commit
57617858b8
111
ktorrent.spec
111
ktorrent.spec
@ -3,30 +3,60 @@
|
||||
%define libver 1.%(echo %version | cut -d. -f2-3)
|
||||
|
||||
Name: ktorrent
|
||||
Version: 4.3.1
|
||||
Release: 2mamba
|
||||
Version: 5.1.0
|
||||
Release: 1mamba
|
||||
Summary: BitTorrent client for KDE
|
||||
Group: Graphical Desktop/Applications/Networking
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: http://ktorrent.pwsp.net/
|
||||
Source: http://ktorrent.org/downloads/%{version}/ktorrent-%{version}.tar.bz2
|
||||
URL: http://kde.org
|
||||
Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/ktorrent/%{majver}/ktorrent-%{version}.tar.xz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kde-workspace-devel
|
||||
BuildRequires: kdelibs-devel
|
||||
BuildRequires: kdepimlibs-devel
|
||||
BuildRequires: libQt5WebKit-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libgmp-devel
|
||||
BuildRequires: libkarchive-devel
|
||||
BuildRequires: libkauth-devel
|
||||
BuildRequires: libkbookmarks-devel
|
||||
BuildRequires: libkcmutils-devel
|
||||
BuildRequires: libkcodecs-devel
|
||||
BuildRequires: libkcompletion-devel
|
||||
BuildRequires: libkconfig-devel
|
||||
BuildRequires: libkconfigwidgets-devel
|
||||
BuildRequires: libkcoreaddons-devel
|
||||
BuildRequires: libkcrash-devel
|
||||
BuildRequires: libkdbusaddons-devel
|
||||
BuildRequires: libkdewebkit-devel
|
||||
BuildRequires: libkdnssd-devel
|
||||
BuildRequires: libki18n-devel
|
||||
BuildRequires: libkiconthemes-devel
|
||||
BuildRequires: libkio-devel
|
||||
BuildRequires: libkitemviews-devel
|
||||
BuildRequires: libkjobwidgets-devel
|
||||
BuildRequires: libknotifications-devel
|
||||
BuildRequires: libknotifyconfig-devel
|
||||
BuildRequires: libkparts-devel
|
||||
BuildRequires: libkplotting-devel
|
||||
BuildRequires: libkross-devel
|
||||
BuildRequires: libkservice-devel
|
||||
BuildRequires: libktextwidgets-devel
|
||||
BuildRequires: libktorrent-devel
|
||||
BuildRequires: libphonon-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libsoprano-devel
|
||||
BuildRequires: libkwidgetsaddons-devel
|
||||
BuildRequires: libkwindowsystem-devel
|
||||
BuildRequires: libkxmlgui-devel
|
||||
BuildRequires: libphonon-qt5-devel
|
||||
BuildRequires: libplasma-workspace-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libsolid-devel
|
||||
BuildRequires: libsonnet-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libsyndication-devel
|
||||
BuildRequires: libtag-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libtag-devel >= 1.9
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: libxml2-utils
|
||||
BuildRequires: %{libname} >= %{libver}
|
||||
@ -45,8 +75,7 @@ KTorrent is a BitTorrent program for KDE. It's main features are :
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build \
|
||||
-DKDE4_BUILD_TESTS:BOOL=OFF
|
||||
%cmake_kde5 -d build
|
||||
|
||||
%make
|
||||
|
||||
@ -61,39 +90,55 @@ rm -f %{buildroot}%{_kde4_libdir}/libktcore.so
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||
update-desktop-database -q &>/dev/null
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||
update-desktop-database -q &>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files -f ktorrent.lang
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/ktorrent
|
||||
%{_kde4_bindir}/ktmagnetdownloader
|
||||
%{_kde4_bindir}/ktupnptest
|
||||
%{_kde4_datadir}/ktorrent
|
||||
%{_kde4_icondir}/hicolor/*/apps/ktorrent.png
|
||||
%{_kde4_icondir}/hicolor/*/actions/*.png
|
||||
%{_kde4_icondir}/hicolor/*/actions/*.svgz
|
||||
%{_kde4_libdir}/libktcore.so.*
|
||||
#%{_kde4_kcfgdir}/magnetsettings.kcfg
|
||||
%{_kde4_htmldir}/en/*
|
||||
#%{_kde4_libdir}/libktupnp.so.*
|
||||
%{_kde4_libdir}/kde4/*.so
|
||||
%{_kde4_servicesdir}/*.desktop
|
||||
%{_kde4_servicesdir}/magnet.protocol
|
||||
%{_kde4_servicetypesdir}/ktorrentplugin.desktop
|
||||
%{_kde4_xdgappsdir}/ktorrent.desktop
|
||||
%doc ChangeLog COPYING
|
||||
%{_kde5_bindir}/ktorrent
|
||||
%{_kde5_bindir}/ktmagnetdownloader
|
||||
%{_kde5_bindir}/ktupnptest
|
||||
%{_kde5_datadir}/ktorrent
|
||||
%{_kde5_icondir}/hicolor/*/apps/ktorrent.png
|
||||
%{_kde5_icondir}/hicolor/*/actions/*.png
|
||||
%{_kde5_icondir}/hicolor/*/actions/*.svgz
|
||||
%{_kde5_libdir}/libktcore.so.*
|
||||
%{_kde5_htmldir}/en/*
|
||||
%dir %{_libdir}/qt5/plugins/ktorrent
|
||||
%{_libdir}/qt5/plugins/ktorrent/ktorrent_*.so
|
||||
%{_datadir}/applications/org.kde.ktorrent.desktop
|
||||
%{_datadir}/knotifications5/ktorrent.notifyrc
|
||||
%dir %{_datadir}/kxmlgui5/ktorrent
|
||||
%{_datadir}/kxmlgui5/ktorrent/ktorrent*.rc
|
||||
%{_datadir}/kxmlgui5/ktorrent/kttorrentactivityui.rc
|
||||
%{_datadir}/metainfo/org.kde.ktorrent.appdata.xml
|
||||
%lang(ca) %{_datadir}/doc/HTML/ca/ktorrent
|
||||
%lang(de) %{_datadir}/doc/HTML/de/ktorrent
|
||||
%lang(es) %{_datadir}/doc/HTML/es/ktorrent
|
||||
%lang(et) %{_datadir}/doc/HTML/et/ktorrent
|
||||
%lang(fr) %{_datadir}/doc/HTML/fr/ktorrent
|
||||
%lang(it) %{_datadir}/doc/HTML/it/ktorrent
|
||||
%lang(nl) %{_datadir}/doc/HTML/nl/ktorrent
|
||||
%lang(pt) %{_datadir}/doc/HTML/pt/ktorrent
|
||||
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/ktorrent/
|
||||
%lang(ru) %{_datadir}/doc/HTML/ru/ktorrent
|
||||
%lang(sv) %{_datadir}/doc/HTML/sv/ktorrent
|
||||
%lang(uk) %{_datadir}/doc/HTML/uk/ktorrent
|
||||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
* Sun Jan 14 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.0-1mamba
|
||||
- update to 5.1.0
|
||||
|
||||
* Sat Nov 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-2mamba
|
||||
- rebuilt with libtag 1.9.1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user