kf5-kio/kf5-kio.spec

338 lines
10 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-02-13 14:57:21 +00:00
Version: 5.7.0
2014-11-03 11:25:22 +00:00
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
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: zlib-devel
BuildRequires: kf5-rpm-macros
BuildRequires: extra-cmake-modules
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtscript-devel
2014-12-08 14:27:05 +00:00
BuildRequires: qt5-qtx11extras-devel
2014-07-02 13:17:13 +00:00
BuildRequires: kf5-karchive-devel
BuildRequires: kf5-kbookmarks-devel
BuildRequires: kf5-kcodecs-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-knotifications-devel
BuildRequires: kf5-kservice-devel
BuildRequires: kf5-solid-devel
BuildRequires: kf5-kwidgetsaddons-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: kf5-kxmlgui-devel
BuildRequires: kf5-kwallet-devel
Requires: kf5-filesystem
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-widgets = %{version}-%{release}
2014-10-30 11:59:14 +00:00
Requires: %{name}-widgets-libs%{?_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-karchive-devel
Requires: kf5-kbookmarks-devel
Requires: kf5-kcodecs-devel
Requires: kf5-kcompletion-devel
Requires: kf5-kconfig-devel
Requires: kf5-kconfigwidgets-devel
Requires: kf5-kcoreaddons-devel
Requires: kf5-kdbusaddons-devel
Requires: kf5-kdoctools-devel
Requires: kf5-ki18n-devel
Requires: kf5-kiconthemes-devel
Requires: kf5-kitemviews-devel
Requires: kf5-kjobwidgets-devel
Requires: kf5-knotifications-devel
Requires: kf5-kservice-devel
Requires: kf5-solid-devel
Requires: kf5-kwidgetsaddons-devel
Requires: kf5-kwindowsystem-devel
Requires: kf5-kxmlgui-devel
Requires: kf5-kwallet-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package doc
Summary: Documentation files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description doc
Documentation for %{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: %{name} < 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}
# last version of the main package before the split
Conflicts: %{name} < 5.3.0-2
%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: %{name} < 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}-core = %{version}-%{release}
Requires: %{name}-widgets = %{version}-%{release}
# last version of the main package before the split
Conflicts: %{name} < 5.3.0-2
%description widgets-libs
%{summary}.
%package file-widgets
Summary: Widgets for file-handling for KIO Framework
Requires: %{name}-core%{?_isa} = %{version}-%{release}
Requires: %{name}-widgets%{?_isa} = %{version}-%{release}
# last version of the main package before the split
Conflicts: %{name} < 5.3.0-2
%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: %{name} < 5.3.0-2
%description ntlm
KIONTLM provides support for NTLM authentication mechanism in KIO
2014-07-02 13:17:13 +00:00
%prep
%setup -q -n %{framework}-%{version}
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
2015-02-11 15:33:26 +00:00
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang kio5 --with-qt --all-name
%files
%doc COPYING.LIB README.md
2014-07-02 13:17:13 +00:00
%post core
/usr/bin/update-desktop-database &> /dev/null || :
%postun core
2014-07-02 13:17:13 +00:00
/usr/bin/update-desktop-database &> /dev/null || :
%files core -f kio5.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_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
2015-02-13 14:57:21 +00:00
%dir %{_kf5_plugindir}/kiod
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
%{_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
%post core-libs -p /sbin/ldconfig
%postun core-libs -p /sbin/ldconfig
%files core-libs
%{_kf5_libdir}/libKF5KIOCore.so.*
%post widgets
/usr/bin/update-desktop-database &> /dev/null || :
%postun widgets
/usr/bin/update-desktop-database &> /dev/null || :
%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
%{_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
%files doc
%{_kf5_mandir}/man8/*
%{_kf5_mandir}/*/man8/*
%exclude %{_kf5_mandir}/man8
2014-07-02 13:17:13 +00:00
%{_kf5_datadir}/doc/HTML/en/kioslave5/
2014-07-02 13:17:13 +00:00
%changelog
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