automatic version update by autodist [release 2.1-1mamba;Sat Sep 23 2017]
This commit is contained in:
parent
35261c40d4
commit
4efd6127ae
@ -1,8 +1,8 @@
|
||||
%define dirver 4.%(echo %version | cut -d. -f 2-3)
|
||||
%define majver %(echo %version | cut -d. -f1-3)
|
||||
%define majver 5.%(echo %version | cut -d. -f2)
|
||||
#% define pkgver %(echo %version | cut -d. -f4)
|
||||
Name: libktorrent
|
||||
Version: 1.3.1
|
||||
Version: 2.1
|
||||
Release: 1mamba
|
||||
Summary: Library for KTorrent, a BitTorrent client for KDE
|
||||
Group: System/Libraries
|
||||
@ -10,7 +10,7 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://ktorrent.org/
|
||||
Source: http://ktorrent.org/downloads/%{dirver}/libktorrent-%{majver}.tar.bz2
|
||||
Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/ktorrent/%{majver}/libktorrent-%{version}.tar.xz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -19,7 +19,7 @@ BuildRequires: libgcc
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libgmp-devel
|
||||
BuildRequires: libqca-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
@ -41,34 +41,41 @@ This package contains static libraries and header files need for development.
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{majver}%{?pkgver:-%pkgver}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%find_lang %{name}
|
||||
%find_lang %{name}5
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f %{name}.lang
|
||||
%files -f %{name}5.lang
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_libdir}/libktorrent.so.*
|
||||
%{_kde5_libdir}/libKF5Torrent.so.*
|
||||
%doc COPYING ChangeLog
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_libdir}/libktorrent.so
|
||||
%{_kde4_datadir}/cmake/modules/FindKTorrent.cmake
|
||||
%dir %{_kde4_includedir}/libktorrent
|
||||
%{_kde4_includedir}/libktorrent/*
|
||||
%dir %{_kde5_includedir}/libktorrent
|
||||
%{_kde5_includedir}/libktorrent/*
|
||||
%dir %{_kde5_libdir}/cmake/KF5Torrent
|
||||
%{_kde5_libdir}/cmake/KF5Torrent/*.cmake
|
||||
%{_kde5_libdir}/libKF5Torrent.so
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Sat Jan 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
|
||||
- update to 1.3.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user