kget/kget.spec

223 lines
7.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: kget
Version: 17.08.1
Release: 1mamba
Summary: An advanced download manager for the K Desktop Environment
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/applications/%{version}/src/kget-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kde-workspace-devel
BuildRequires: kdelibs-devel
BuildRequires: libgcc
BuildRequires: libmms-devel
BuildRequires: libphonon-devel
BuildRequires: libqca-devel
BuildRequires: libqt4-devel
BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: automoc4
BuildRequires: cmake
Provides: libkget
Obsoletes: libkget
Provides: kget4
Obsoletes: kget4
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
An advanced download manager for the K Desktop Environment.
This package is part of KDE4.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: kdelibs-devel
Provides: libkget-devel
Obsoletes: libkget-devel
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde4 -d build \
-DCMAKE_DISABLE_FIND_PACKAGE_NepomukCore=TRUE \
-DCMAKE_DISABLE_FIND_PACKAGE_QGpgme=TRUE \
-DCMAKE_DISABLE_FIND_PACKAGE_KTorrent=TRUE
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
exit 0
%posttrans
/sbin/ldconfig
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
fi
exit 0
%files
%defattr(-,root,root)
%{_kde4_bindir}/kget
#%{_kde4_libdir}/kde4/kcm_kget_bittorrentfactory.so
%{_kde4_libdir}/kde4/kcm_kget_checksumsearchfactory.so
%{_kde4_libdir}/kde4/kcm_kget_metalinkfactory.so
%{_kde4_libdir}/kde4/kcm_kget_mirrorsearchfactory.so
%{_kde4_libdir}/kde4/kcm_kget_mmsfactory.so
%{_kde4_libdir}/kde4/kcm_kget_multisegkiofactory.so
#%{_kde4_libdir}/kde4/kget_bittorrentfactory.so
%{_kde4_libdir}/kde4/kget_browser_integration.so
%{_kde4_libdir}/kde4/kget_checksumsearchfactory.so
%{_kde4_libdir}/kde4/kget_kiofactory.so
%{_kde4_libdir}/kde4/kget_metalinkfactory.so
%{_kde4_libdir}/kde4/kget_mirrorsearchfactory.so
%{_kde4_libdir}/kde4/kget_mmsfactory.so
%{_kde4_libdir}/kde4/kget_multisegkiofactory.so
%{_kde4_libdir}/kde4/krunner_kget.so
%{_kde4_libdir}/kde4/plasma_engine_kget.so
%{_kde4_libdir}/kde4/plasma_kget_barapplet.so
%{_kde4_libdir}/kde4/plasma_kget_piechart.so
%{_kde4_libdir}/libkgetcore.so.*
%{_kde4_xdgappsdir}/kget.desktop
%{_kde4_datadir}/dolphinpart/kpartplugins/kget_plug_in.desktop
%{_kde4_datadir}/dolphinpart/kpartplugins/kget_plug_in.rc
%{_kde4_kconfupdatedir}/kget.upd
%{_kde4_kconfupdatedir}/kget_limitdownloads.pl
%{_kde4_kconfupdatedir}/kget_sensitive.pl
%dir %{_kde4_datadir}/kget
%{_kde4_datadir}/kget/kget.notifyrc
%{_kde4_datadir}/kget/kgetui.rc
%dir %{_kde4_datadir}/kget/pics
%{_kde4_datadir}/kget/pics/kget_splash.png
%dir %{_kde4_datadir}/kget/www
%{_kde4_datadir}/kget/www/*
%{_kde4_datadir}/khtml/kpartplugins/kget*
%{_kde4_datadir}/kwebkitpart/kpartplugins/kget_plug_in.desktop
%{_kde4_datadir}/kwebkitpart/kpartplugins/kget_plug_in.rc
%{_kde4_kcfgdir}/kget*.kcfg
%doc %lang(en) %{_kde4_htmldir}/en/kget/common
%doc %lang(en) %{_kde4_htmldir}/en/kget/file.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/import_link.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/index.cache.bz2
%doc %lang(en) %{_kde4_htmldir}/en/kget/index.docbook
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_Advanced.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_Appearance.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_Network.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_Web_Interface.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_drop_target.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_group.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_groups.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_plugins.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_transfer_hostory.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/kget_verification.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/metalink0.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/metalink1.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/metalink2.png
%doc %lang(en) %{_kde4_htmldir}/en/kget/metalink3.png
%{_kde4_icondir}/hicolor/*/apps/kget.png
%{_kde4_icondir}/hicolor/scalable/apps/kget.svgz
%{_kde4_servicesdir}/ServiceMenus/kget_download.desktop
%{_kde4_servicesdir}/kget*.desktop
%{_kde4_servicesdir}/plasma-engine-kget.desktop
%{_kde4_servicesdir}/plasma-runner-kget.desktop
%{_kde4_servicetypesdir}/kget_plugin.desktop
#%{_kde4_sharedir}/ontology/kde/kget_history.ontology
#%{_kde4_sharedir}/ontology/kde/kget_history.trig
%{_datadir}/dbus-1/services/org.kde.kget.service
%doc AUTHORS COPYING COPYING.DOC COPYING.LIB
%files devel
%defattr(-,root,root)
%{_kde4_libdir}/libkgetcore.so
%changelog
* Fri Oct 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 17.08.1-1mamba
- update to 17.08.1
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
- automatic version update by autodist
* Mon Oct 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.2-1mamba
- automatic version update by autodist
* Sun Sep 28 2014 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
- automatic version update by autodist
* Thu Aug 21 2014 Automatic Build System <autodist@mambasoft.it> 4.14.0-1mamba
- automatic version update by autodist
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 4.13.3-1mamba
- automatic version update by autodist
* Fri Jun 13 2014 Automatic Build System <autodist@mambasoft.it> 4.13.2-1mamba
- automatic version update by autodist
* Mon May 19 2014 Automatic Build System <autodist@mambasoft.it> 4.13.1-1mamba
- automatic version update by autodist
* Thu Apr 17 2014 Automatic Build System <autodist@mambasoft.it> 4.13.0-1mamba
- automatic version update by autodist
* Thu Apr 03 2014 Automatic Build System <autodist@mambasoft.it> 4.12.4-1mamba
- automatic version update by autodist
* Wed Mar 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.3-1mamba
- automatic version update by autodist
* Wed Feb 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.2-1mamba
- automatic version update by autodist
* Tue Jan 14 2014 Automatic Build System <autodist@mambasoft.it> 4.12.1-1mamba
- automatic version update by autodist
* Thu Dec 19 2013 Automatic Build System <autodist@mambasoft.it> 4.12.0-1mamba
- automatic version update by autodist
* Thu Dec 05 2013 Automatic Build System <autodist@mambasoft.it> 4.11.4-1mamba
- automatic version update by autodist
* Wed Nov 06 2013 Automatic Build System <autodist@mambasoft.it> 4.11.3-1mamba
- automatic version update by autodist
* Wed Oct 02 2013 Automatic Build System <autodist@mambasoft.it> 4.11.2-1mamba
- automatic version update by autodist
* Fri Sep 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-2mamba
- add libktorrent-devel as build requirement
* Wed Sep 04 2013 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
- automatic version update by autodist
* Sun Sep 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.0-1mamba
- package created by silvan using the webbuild interface