kf5-kio/kf5-kio.spec

370 lines
11 KiB
RPMSpec
Raw Normal View History

2014-11-03 12:36:01 +00:00
%global framework kio
2014-07-02 13:17:13 +00:00
Name: kf5-%{framework}
2015-07-10 14:04:24 +00:00
Version: 5.12.0
Release: 1%{?dist}
2014-07-02 13:17:13 +00:00
Summary: KDE Frameworks 5 Tier 3 solution for filesystem abstraction
License: GPLv2+ and MIT and BSD
URL: http://www.kde.org
2014-12-08 14:27:05 +00:00
%global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
2014-12-08 14:27:05 +00:00
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
2014-07-02 13:17:13 +00:00
2015-05-01 00:12:21 +00:00
BuildRequires: krb5-devel
BuildRequires: libacl-devel
2014-07-02 13:17:13 +00:00
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: zlib-devel
BuildRequires: kf5-rpm-macros
BuildRequires: extra-cmake-modules
BuildRequires: qt5-qtbase-devel
2014-12-08 14:27:05 +00:00
BuildRequires: qt5-qtx11extras-devel
2015-02-16 12:13:03 +00:00
BuildRequires: kf5-knotifications-devel
BuildRequires: kf5-kwallet-devel
BuildRequires: qt5-qtscript-devel
BuildRequires: kf5-kxmlgui-devel
BuildRequires: kf5-ktextwidgets-devel
2014-07-02 13:17:13 +00:00
BuildRequires: kf5-karchive-devel
BuildRequires: kf5-kbookmarks-devel
BuildRequires: kf5-kcompletion-devel
BuildRequires: kf5-kconfig-devel
BuildRequires: kf5-kconfigwidgets-devel
BuildRequires: kf5-kcoreaddons-devel
BuildRequires: kf5-kdbusaddons-devel
BuildRequires: kf5-kdoctools-devel
BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kiconthemes-devel
BuildRequires: kf5-kitemviews-devel
BuildRequires: kf5-kjobwidgets-devel
BuildRequires: kf5-kservice-devel
BuildRequires: kf5-solid-devel
BuildRequires: kf5-kwidgetsaddons-devel
BuildRequires: kf5-kwindowsystem-devel
Obsoletes: kf5-kio-doc < 5.11.0-3
Provides: kf5-kio-doc = %{version}-%{release}
2014-07-02 13:17:13 +00:00
Requires: kf5-filesystem
%if ! 0%{?bootstrap}
# (apparently?) requires org.kde.klauncher5 service provided by kf5-kinit -- rex
Requires: kf5-kinit
%endif
2014-07-02 13:17:13 +00:00
Requires: %{name}-core%{?_isa} = %{version}-%{release}
Requires: %{name}-widgets%{?_isa} = %{version}-%{release}
Requires: %{name}-file-widgets%{?_isa} = %{version}-%{release}
Requires: %{name}-ntlm%{?_isa} = %{version}-%{release}
2014-07-02 13:17:13 +00:00
%description
KDE Frameworks 5 Tier 3 solution for filesystem abstraction
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kbookmarks-devel
Requires: kf5-kcompletion-devel
Requires: kf5-kconfig-devel
Requires: kf5-kcoreaddons-devel
Requires: kf5-kitemviews-devel
Requires: kf5-kjobwidgets-devel
Requires: kf5-kservice-devel
Requires: kf5-solid-devel
Requires: kf5-kxmlgui-devel
2015-02-16 12:13:03 +00:00
Requires: qt5-qtbase-devel
2014-07-02 13:17:13 +00:00
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package core
Summary: Core components of the KIO Framework
Requires: %{name}-core-libs%{?_isa} = %{version}-%{release}
# last version of the main package before the split
Conflicts: kf5-kio < 5.3.0-2
%description core
KIOCore library provides core non-GUI components for working with KIO.
%package core-libs
Summary: Runtime libraries for KIO Core
Requires: %{name}-core = %{version}-%{release}
%description core-libs
%{summary}.
%package widgets
Summary: Widgets for KIO Framework
Requires: %{name}-core%{?_isa} = %{version}-%{release}
# last version of the main package before the split
Conflicts: kf5-kio < 5.3.0-2
%description widgets
KIOWidgets contains classes that provide generic job control, progress
reporting, etc.
%package widgets-libs
Summary: Runtime libraries for KIO Widgets library
Requires: %{name}-widgets = %{version}-%{release}
%description widgets-libs
%{summary}.
%package file-widgets
Summary: Widgets for file-handling for KIO Framework
Requires: %{name}-widgets%{?_isa} = %{version}-%{release}
%description file-widgets
The KIOFileWidgets library provides the file selection dialog and
its components.
%package ntlm
Summary: NTLM support for KIO Framework
# last version of the main package before the split
Conflicts: kf5-kio < 5.3.0-2
%description ntlm
KIONTLM provides support for NTLM authentication mechanism in KIO
2014-07-02 13:17:13 +00:00
%prep
%autosetup -n %{framework}-%{version} -p1
2014-07-02 13:17:13 +00:00
%build
mkdir %{_target_platform}
2014-07-02 13:17:13 +00:00
pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
2014-07-02 13:17:13 +00:00
%install
2015-02-11 15:33:26 +00:00
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name} --all-name --with-man --with-qt
%files
%license COPYING.LIB
%doc README.md
2014-07-02 13:17:13 +00:00
%posttrans core
/usr/bin/update-desktop-database -q &> /dev/null ||:
%postun core
if [ $1 -eq 0 ] ; then
/usr/bin/update-desktop-database -q &> /dev/null ||:
fi
2014-07-02 13:17:13 +00:00
%files core -f %{name}.lang
%config %{_kf5_sysconfdir}/xdg/accept-languages.codes
%{_kf5_libexecdir}/kio_http_cache_cleaner
%{_kf5_libexecdir}/kpac_dhcp_helper
%{_kf5_libexecdir}/kioexec
%{_kf5_libexecdir}/kioslave
2015-02-13 14:57:21 +00:00
%{_kf5_libexecdir}/kiod5
2014-07-02 13:17:13 +00:00
%{_kf5_bindir}/ktelnetservice5
%{_kf5_bindir}/kcookiejar5
%{_kf5_mandir}/man8/kcookiejar5.8*
2014-07-02 13:17:13 +00:00
%{_kf5_bindir}/kmailservice5
2014-10-08 13:16:34 +00:00
%{_kf5_bindir}/ktrash5
2014-07-02 13:17:13 +00:00
%{_kf5_plugindir}/kio/*.so
2014-07-14 08:06:30 +00:00
%{_kf5_plugindir}/kded/*.so
2015-01-08 13:51:34 +00:00
%{_kf5_qtplugindir}/kcm_kio.so
2014-10-08 13:16:34 +00:00
%{_kf5_qtplugindir}/kcm_trash.so
%dir %{_kf5_plugindir}/kiod/
2015-02-16 15:34:24 +00:00
%{_kf5_plugindir}/kiod/*.so
2015-01-08 13:51:34 +00:00
%{_kf5_datadir}/kservices5/cache.desktop
%{_kf5_datadir}/kservices5/cookies.desktop
%{_kf5_datadir}/kservices5/netpref.desktop
%{_kf5_datadir}/kservices5/proxy.desktop
%{_kf5_datadir}/kservices5/smb.desktop
%{_kf5_datadir}/kservices5/useragent.desktop
%{_kf5_datadir}/kservices5/*.protocol
%{_kf5_datadir}/kservices5/http_cache_cleaner.desktop
%dir %{_kf5_datadir}/kservices5/kded/
%{_kf5_datadir}/kservices5/kded/*.desktop
%{_kf5_datadir}/kservices5/kcmtrash.desktop
2015-01-08 13:51:34 +00:00
%{_kf5_datadir}/kservices5/useragentstrings
2014-07-02 13:17:13 +00:00
%{_kf5_datadir}/knotifications5/proxyscout.*
%{_kf5_datadir}/kf5/kcookiejar/domain_info
%{_kf5_datadir}/applications/*.desktop
2015-02-13 14:57:21 +00:00
%{_datadir}/dbus-1/services/org.kde.kiod5.service
%{_kf5_docdir}/HTML/en/kioslave5/
%post core-libs -p /sbin/ldconfig
%postun core-libs -p /sbin/ldconfig
%files core-libs
%{_kf5_libdir}/libKF5KIOCore.so.*
%posttrans widgets
/usr/bin/update-desktop-database -q &> /dev/null ||:
%postun widgets
if [ $1 -eq 0 ] ; then
/usr/bin/update-desktop-database -q &> /dev/null ||:
fi
%files widgets
%config %{_kf5_sysconfdir}/xdg/kshorturifilterrc
%{_kf5_qtplugindir}/kcm_webshortcuts.so
%{_kf5_plugindir}/urifilters/*.so
%{_kf5_datadir}/kservices5/fixhosturifilter.desktop
%{_kf5_datadir}/kservices5/kshorturifilter.desktop
%{_kf5_datadir}/kservices5/kuriikwsfilter.desktop
%{_kf5_datadir}/kservices5/kurisearchfilter.desktop
%{_kf5_datadir}/kservices5/localdomainurifilter.desktop
%{_kf5_datadir}/kservices5/webshortcuts.desktop
%{_kf5_datadir}/kservices5/searchproviders
%{_kf5_datadir}/kservicetypes5/*.desktop
%post widgets-libs -p /sbin/ldconfig
%postun widgets-libs -p /sbin/ldconfig
%files widgets-libs
%{_kf5_libdir}/libKF5KIOWidgets.so.*
%post file-widgets -p /sbin/ldconfig
%postun file-widgets -p /sbin/ldconfig
%files file-widgets
%{_kf5_libdir}/libKF5KIOFileWidgets.so.*
%post ntlm -p /sbin/ldconfig
%postun ntlm -p /sbin/ldconfig
%files ntlm
%{_kf5_libdir}/libKF5KIONTLM.so.*
2014-07-02 13:17:13 +00:00
%files devel
%{_kf5_includedir}/*
%{_kf5_libdir}/*.so
%{_kf5_libdir}/cmake/KF5KIO/
2014-07-02 13:17:13 +00:00
%{_kf5_archdatadir}/mkspecs/modules/qt_KIOCore.pri
%{_kf5_archdatadir}/mkspecs/modules/qt_KIOFileWidgets.pri
%{_kf5_archdatadir}/mkspecs/modules/qt_KNTLM.pri
%{_kf5_archdatadir}/mkspecs/modules/qt_KIOWidgets.pri
2015-02-13 14:57:21 +00:00
%{_datadir}/dbus-1/interfaces/*.xml
2014-07-02 13:17:13 +00:00
2014-07-02 13:17:13 +00:00
%changelog
2015-07-10 14:04:24 +00:00
* Fri Jul 10 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
- 5.12.0
* Thu Jul 02 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-3
- .spec cleanup, cleanup Conflicts
- use %%license
- drop -doc subpkg
- Requires: kf5-kinit (kio apparently needs org.kde.klauncher5 service provided by kinit)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-10 12:27:01 +00:00
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
- KDE Frameworks 5.11.0
2015-05-11 09:12:05 +00:00
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
- KDE Frameworks 5.10.0
* Fri May 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-3
- Added folders to left panel "Places" disappear (kde#345174)
- optimize scriptlets
- .spec cosmetics
2015-05-01 00:12:21 +00:00
* Thu Apr 30 2015 Rex Dieter <rdieter@fedoraproject.org> 5.9.0-2
- BR: krb5-devel libacl-devel
2015-04-07 11:52:53 +00:00
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
- KDE Frameworks 5.9.0
* Fri Apr 03 2015 Rex Dieter <rdieter@fedoraproject.org> 5.8.0-2
- -core: own %%{_kf5_datadir}/kservices5/kded/
2015-03-16 12:00:03 +00:00
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
- KDE Frameworks 5.8.0
2015-02-27 17:11:29 +00:00
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
- Rebuild (GCC 5)
2015-02-16 12:13:03 +00:00
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
- KDE Frameworks 5.7.0
2015-02-13 14:57:21 +00:00
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
- KDE Frameworks 5.7.0
2015-01-08 13:51:34 +00:00
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
- KDE Frameworks 5.6.0
2014-12-08 14:27:05 +00:00
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
- KDE Frameworks 5.5.0
2014-11-03 11:25:22 +00:00
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
- KDE Frameworks 5.4.0
2014-10-30 11:59:14 +00:00
* Thu Oct 30 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-3
- Fix typo in deps
* Wed Oct 29 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-2
- Split into subpackages
2014-10-07 11:14:17 +00:00
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
- KDE Frameworks 5.3.0
2014-09-15 07:52:22 +00:00
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
- KDE Frameworks 5.2.0
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-08-06 13:26:02 +00:00
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
- KDE Frameworks 5.1.0
2014-07-14 08:06:30 +00:00
* Mon Jul 14 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-2
- Fix plugin install path
2014-07-09 13:48:42 +00:00
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
- KDE Frameworks 5.0.0
2014-07-02 13:17:13 +00:00
* Sat Jun 28 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-2
- fixed licenses
- added %%config
- added update-desktop-database
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
- KDE Frameworks 4.100.0
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0
- KDE Frameworks 4.99.0
* Wed Apr 02 2014 Daniel Vrátil <dvratil@redhat.com> 4.98.0-2
- Fix conflict of kf5-kio-doc with kdelibs4
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
* Tue Mar 11 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-2
- remove public dependencies
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
- Update to pre-relase snapshot of 4.96.0
* Mon Jan 20 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-2
- rebuild against new kf5-filesystem
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
- Update to KDE Frameworks 5 TP1 (4.95.0)
* Sat Jan 4 2014 Daniel Vrátil <dvratil@redhat.com>
- initial version