2024-01-06 04:56:26 +01:00
|
|
|
%define dirver 4.%(echo %version | cut -d. -f 2-3)
|
2024-01-06 04:56:26 +01:00
|
|
|
%define majver 5.%(echo %version | cut -d. -f2)
|
2024-01-06 04:56:26 +01:00
|
|
|
#% define pkgver %(echo %version | cut -d. -f4)
|
|
|
|
Name: libktorrent
|
2024-01-06 04:56:26 +01:00
|
|
|
Version: 2.1
|
2024-01-06 04:56:26 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Library for KTorrent, a BitTorrent client for KDE
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://ktorrent.org/
|
2024-01-06 04:56:26 +01:00
|
|
|
Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/ktorrent/%{majver}/libktorrent-%{version}.tar.xz
|
2024-01-06 04:56:26 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: kdelibs-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgmp-devel
|
|
|
|
BuildRequires: libqca-devel
|
2024-01-06 04:56:26 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-06 04:56:26 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Library for KTorrent, a BitTorrent client for KDE.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
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
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 04:56:26 +01:00
|
|
|
%setup -q
|
2024-01-06 04:56:26 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 04:56:26 +01:00
|
|
|
%cmake_kde5 -d build
|
2024-01-06 04:56:26 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-06 04:56:26 +01:00
|
|
|
%find_lang %{name}5
|
2024-01-06 04:56:26 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 04:56:26 +01:00
|
|
|
%files -f %{name}5.lang
|
2024-01-06 04:56:26 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:56:26 +01:00
|
|
|
%{_kde5_libdir}/libKF5Torrent.so.*
|
2024-01-06 04:56:26 +01:00
|
|
|
%doc COPYING ChangeLog
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:56:26 +01:00
|
|
|
%dir %{_kde5_includedir}/libktorrent
|
|
|
|
%{_kde5_includedir}/libktorrent/*
|
|
|
|
%dir %{_kde5_libdir}/cmake/KF5Torrent
|
|
|
|
%{_kde5_libdir}/cmake/KF5Torrent/*.cmake
|
|
|
|
%{_kde5_libdir}/libKF5Torrent.so
|
2024-01-06 04:56:26 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:56:26 +01:00
|
|
|
* Sat Sep 23 2017 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- update to 2.0.1
|
|
|
|
|
2024-01-06 04:56:26 +01:00
|
|
|
* Sat Jan 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- update to 1.3.1
|
|
|
|
|
|
|
|
* Wed Sep 26 2012 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- update to 1.3.0
|
|
|
|
|
|
|
|
* Wed Jun 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1.2-1mamba
|
|
|
|
- update to 1.2.1.2
|
|
|
|
|
|
|
|
* Tue Apr 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- update to 1.2.0
|
|
|
|
|
|
|
|
* Thu May 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- update to 1.1.1
|
|
|
|
|
|
|
|
* Mon Jul 12 2010 Automatic Build System <autodist@mambasoft.it> 1.0.0-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Jun 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- package created by autospec
|