update to 2.2.0 [release 2.2.0-1mamba;Mon Jul 27 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:56:26 +01:00
parent e955eac84a
commit 1bf7ce6fde

View File

@ -1,9 +1,6 @@
%define dirver 4.%(echo %version | cut -d. -f 2-3)
%define majver 5.1.2
#%define majver 5.%(echo %version | cut -d. -f2)
#% define pkgver %(echo %version | cut -d. -f4)
%define dirver 5.%(echo %version | cut -d. -f 2-3)
Name: libktorrent
Version: 2.1.1
Version: 2.2.0
Release: 1mamba
Summary: Library for KTorrent, a BitTorrent client for KDE
Group: System/Libraries
@ -11,8 +8,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://ktorrent.org/
Source: https://download.kde.org/stable/ktorrent/%{majver}/%{name}-%{version}.tar.xz
#Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/ktorrent/%{majver}/libktorrent-%{version}.tar.xz
Source: https://download.kde.org/stable/ktorrent/%{dirver}/%{name}-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -39,8 +35,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Library for KTorrent, a BitTorrent client for KDE.
This package contains static libraries and header files need for development.
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%debug_package
%prep
%setup -q
@ -58,6 +53,9 @@ This package contains static libraries and header files need for development.
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}5.lang
%defattr(-,root,root)
%{_kde5_libdir}/libKF5Torrent.so.*
@ -72,6 +70,9 @@ This package contains static libraries and header files need for development.
%{_kde5_libdir}/libKF5Torrent.so
%changelog
* Mon Jul 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Sun Mar 29 2020 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.1.1-1mamba
- update to 2.1.1