230 lines
7.2 KiB
RPMSpec
230 lines
7.2 KiB
RPMSpec
%define libname libktorrent
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
%define libver 1.%(echo %version | cut -d. -f2-3)
|
|
|
|
Name: ktorrent
|
|
Version: 4.3.1
|
|
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
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: kde-workspace-devel
|
|
BuildRequires: kdelibs-devel
|
|
BuildRequires: kdepimlibs-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libktorrent-devel
|
|
BuildRequires: libphonon-devel
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libsoprano-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtag-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: libxml2-utils
|
|
BuildRequires: %{libname} >= %{libver}
|
|
Provides: ktorrent4
|
|
Obsoletes: ktorrent4
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
KTorrent is a BitTorrent program for KDE. It's main features are :
|
|
- downloads torrent files
|
|
- upload speed capping, seeing that most people can't upload infinite amounts of data
|
|
- internet searching using The Bittorrent website's search engine
|
|
- UDP Trackers
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%ifarch x86_64
|
|
%cmake_kde4 -d build \
|
|
-DKDE4_BUILD_TESTS:BOOL=OFF
|
|
%else
|
|
%cmake_kde4 -d build \
|
|
%endif
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall -C build
|
|
%find_lang ktorrent
|
|
|
|
rm -f %{buildroot}%{_kde4_libdir}/libktcore.so
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%posttrans
|
|
gtk-update-icon-cache %{_kde4_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
|
|
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
|
|
|
|
%changelog
|
|
* Sun Jan 20 2013 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 20 2012 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 11 2012 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 23 2011 Automatic Build System <autodist@mambasoft.it> 4.1.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 16 2011 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 15 2011 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Dec 29 2010 Automatic Build System <autodist@mambasoft.it> 4.0.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Oct 17 2010 Automatic Build System <autodist@mambasoft.it> 4.0.4-1mamba
|
|
- automatic update to 4.0.4 by autodist
|
|
|
|
* Mon Aug 30 2010 Davide Madrisan <davide.madrisan@gmail.com> 4.0.3-2mamba
|
|
- specfile cleanups
|
|
- update icon cache and desktop database
|
|
|
|
* Mon Aug 30 2010 Automatic Build System <autodist@mambasoft.it> 4.0.3-1mamba
|
|
- automatic update to 4.0.3 by autodist
|
|
|
|
* Fri Jul 09 2010 Automatic Build System <autodist@mambasoft.it> 4.0.2-1mamba
|
|
- automatic update to 4.0.2 by autodist
|
|
|
|
* Sun Jun 20 2010 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
|
|
- update to 4.0.1
|
|
|
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
|
- update to 4.0.0
|
|
|
|
* Sun Feb 07 2010 Automatic Build System <autodist@mambasoft.it> 3.3.4-1mamba
|
|
- automatic update to 3.3.4 by autodist
|
|
|
|
* Mon Jan 18 2010 Automatic Build System <autodist@mambasoft.it> 3.3.3-1mamba
|
|
- automatic update to 3.3.3 by autodist
|
|
|
|
* Sat Dec 19 2009 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
|
|
- automatic update to 3.3.2 by autodist
|
|
|
|
* Thu Dec 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-2mamba
|
|
- rebuilt with kde 4.2.4
|
|
|
|
* Mon Nov 23 2009 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
|
|
- automatic update to 3.3.1 by autodist
|
|
|
|
* Mon Nov 09 2009 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
|
- automatic update to 3.3 by autodist
|
|
|
|
* Tue Oct 20 2009 Automatic Build System <autodist@mambasoft.it> 3.2.5-1mamba
|
|
- automatic update to 3.2.5 by autodist
|
|
|
|
* Thu Sep 24 2009 Automatic Build System <autodist@mambasoft.it> 3.2.4-1mamba
|
|
- automatic update to 3.2.4 by autodist
|
|
|
|
* Tue Aug 11 2009 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
|
|
- automatic update to 3.2.3 by autodist
|
|
|
|
* Tue Jun 30 2009 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
|
|
- automatic update to 3.2.2 by autodist
|
|
|
|
* Mon Apr 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
|
|
- automatic update to 3.2.1 by autodist
|
|
|
|
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-1mamba
|
|
- automatic update to 3.2 by autodist
|
|
|
|
* Sat Jan 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.6-1mamba
|
|
- automatic update to 3.1.6 by autodist
|
|
|
|
* Mon Nov 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.5-1mamba
|
|
- automatic update to 3.1.5 by autodist
|
|
|
|
* Fri Oct 24 2008 Aleph0 <aleph0@openmamba.org> 3.1.4-1mamba
|
|
- update to 3.1.4
|
|
|
|
* Wed Apr 30 2008 Aleph0 <aleph0@openmamba.org> 2.2.6-1mamba
|
|
- update to 2.2.6
|
|
|
|
* Wed Dec 05 2007 Aleph0 <aleph0@openmamba.org> 2.2.4-2mamba
|
|
- created subpackages %{libname} and %{libname}-devel
|
|
|
|
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 2.2.4-1mamba
|
|
- update to 2.2.4
|
|
|
|
* Mon Nov 19 2007 Aleph0 <aleph0@openmamba.org> 2.2.3-1mamba
|
|
- update to 2.2.3
|
|
|
|
* Wed Sep 05 2007 Aleph0 <aleph0@openmamba.org> 2.2.2-1mamba
|
|
- update to 2.2.2
|
|
|
|
* Wed Jul 25 2007 Aleph0 <aleph0@openmamba.org> 2.2.1-1mamba
|
|
- update to 2.2.1
|
|
|
|
* Wed Jul 04 2007 Aleph0 <aleph0@openmamba.org> 2.2-1mamba
|
|
- update to 2.2
|
|
|
|
* Tue Jul 03 2007 Aleph0 <aleph0@openmamba.org> 2.1.4-1mamba
|
|
- update to 2.1.4
|
|
|
|
* Tue Apr 10 2007 Aleph0 <aleph0@openmamba.org> 2.1.3-1mamba
|
|
- update to version 2.1.3 by autospec
|
|
|
|
* Fri Mar 30 2007 Aleph0 <aleph0@openmamba.org> 2.1.2-1mamba
|
|
- update to version 2.1.2 by autospec
|
|
|
|
* Fri Oct 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.3-1qilnx
|
|
- update to version 2.0.3 by autospec
|
|
|
|
* Tue Sep 05 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.2-1qilnx
|
|
- update to version 2.0.2 by autospec
|
|
|
|
* Fri May 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2-1qilnx
|
|
- update to version 1.2 by autospec
|
|
- added missing build requirements
|
|
|
|
* Tue Sep 06 2005 Massimo Pintore <massimo.pintore@qilinux.it> 1.1rc1-1qilnx
|
|
- package created by autospec
|