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)
|
%define libver 1.%(echo %version | cut -d. -f2-3)
|
||||||
|
|
||||||
Name: ktorrent
|
Name: ktorrent
|
||||||
Version: 4.3.1
|
Version: 5.1.0
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: BitTorrent client for KDE
|
Summary: BitTorrent client for KDE
|
||||||
Group: Graphical Desktop/Applications/Networking
|
Group: Graphical Desktop/Applications/Networking
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
URL: http://ktorrent.pwsp.net/
|
URL: http://kde.org
|
||||||
Source: http://ktorrent.org/downloads/%{version}/ktorrent-%{version}.tar.bz2
|
Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/ktorrent/%{majver}/ktorrent-%{version}.tar.xz
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: kde-workspace-devel
|
BuildRequires: libQt5WebKit-devel
|
||||||
BuildRequires: kdelibs-devel
|
|
||||||
BuildRequires: kdepimlibs-devel
|
|
||||||
BuildRequires: libgcc
|
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: libktorrent-devel
|
||||||
BuildRequires: libphonon-devel
|
BuildRequires: libkwidgetsaddons-devel
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libkwindowsystem-devel
|
||||||
BuildRequires: libsoprano-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: libstdc++6-devel
|
||||||
|
BuildRequires: libsyndication-devel
|
||||||
BuildRequires: libtag-devel
|
BuildRequires: libtag-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libtag-devel >= 1.9
|
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: libxml2-utils
|
BuildRequires: libxml2-utils
|
||||||
BuildRequires: %{libname} >= %{libver}
|
BuildRequires: %{libname} >= %{libver}
|
||||||
@ -45,8 +75,7 @@ KTorrent is a BitTorrent program for KDE. It's main features are :
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde4 -d build \
|
%cmake_kde5 -d build
|
||||||
-DKDE4_BUILD_TESTS:BOOL=OFF
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -61,39 +90,55 @@ rm -f %{buildroot}%{_kde4_libdir}/libktcore.so
|
|||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
%posttrans
|
%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
|
update-desktop-database -q &>/dev/null
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||||
update-desktop-database -q &>/dev/null
|
update-desktop-database -q &>/dev/null
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files -f ktorrent.lang
|
%files -f ktorrent.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_kde4_bindir}/ktorrent
|
%{_kde5_bindir}/ktorrent
|
||||||
%{_kde4_bindir}/ktmagnetdownloader
|
%{_kde5_bindir}/ktmagnetdownloader
|
||||||
%{_kde4_bindir}/ktupnptest
|
%{_kde5_bindir}/ktupnptest
|
||||||
%{_kde4_datadir}/ktorrent
|
%{_kde5_datadir}/ktorrent
|
||||||
%{_kde4_icondir}/hicolor/*/apps/ktorrent.png
|
%{_kde5_icondir}/hicolor/*/apps/ktorrent.png
|
||||||
%{_kde4_icondir}/hicolor/*/actions/*.png
|
%{_kde5_icondir}/hicolor/*/actions/*.png
|
||||||
%{_kde4_icondir}/hicolor/*/actions/*.svgz
|
%{_kde5_icondir}/hicolor/*/actions/*.svgz
|
||||||
%{_kde4_libdir}/libktcore.so.*
|
%{_kde5_libdir}/libktcore.so.*
|
||||||
#%{_kde4_kcfgdir}/magnetsettings.kcfg
|
%{_kde5_htmldir}/en/*
|
||||||
%{_kde4_htmldir}/en/*
|
%dir %{_libdir}/qt5/plugins/ktorrent
|
||||||
#%{_kde4_libdir}/libktupnp.so.*
|
%{_libdir}/qt5/plugins/ktorrent/ktorrent_*.so
|
||||||
%{_kde4_libdir}/kde4/*.so
|
%{_datadir}/applications/org.kde.ktorrent.desktop
|
||||||
%{_kde4_servicesdir}/*.desktop
|
%{_datadir}/knotifications5/ktorrent.notifyrc
|
||||||
%{_kde4_servicesdir}/magnet.protocol
|
%dir %{_datadir}/kxmlgui5/ktorrent
|
||||||
%{_kde4_servicetypesdir}/ktorrentplugin.desktop
|
%{_datadir}/kxmlgui5/ktorrent/ktorrent*.rc
|
||||||
%{_kde4_xdgappsdir}/ktorrent.desktop
|
%{_datadir}/kxmlgui5/ktorrent/kttorrentactivityui.rc
|
||||||
%doc ChangeLog COPYING
|
%{_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
|
%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
|
* Sat Nov 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-2mamba
|
||||||
- rebuilt with libtag 1.9.1
|
- rebuilt with libtag 1.9.1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user