kio/kio.spec

264 lines
8.7 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: kio
Version: 5.42.0
Release: 1mamba
Summary: Network transparent access to files and data
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{majver}/kio-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdoctools-devel
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libe2fs-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkrb5-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRequires: libkconfig-devel
BuildRequires: kdoctools-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This framework implements almost all the file management functions you will ever need.
It supports accessing files locally as well as via HTTP and FTP out of the box and can be extended by plugins to support other protocols as well.
The framework can also be used to bridge a native protocol to a file-based interface.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: kinit
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang kio5 --with-man --with-qt --all-name || touch kio5.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f kio5.lang
%defattr(-,root,root)
%{_kde5_bindir}/kcookiejar5
#%{_kde5_bindir}/kmailservice5
%{_kde5_bindir}/ktelnetservice5
%{_kde5_bindir}/ktrash5
%{_kde5_bindir}/protocoltojson
%{_kde5_xdgappsdir}/*.desktop
%{_kde5_htmldir}/en/kioslave5/*
%{_kde5_sharedir}/kf5/kcookiejar/domain_info
%{_kde5_sharedir}/knotifications5/proxyscout.notifyrc
%{_kde5_servicesdir}/*
%{_kde5_servicetypesdir}/*
%{_kde5_configdir}/accept-languages.codes
%{_kde5_configdir}/kshorturifilterrc
%{_kde5_datadir}/dbus-1/services/org.kde.*.service
%{_kde5_datadir}/dbus-1/interfaces/kf5_org.kde.*.xml
%{_kde5_mandir}/man8/kcookiejar5.*
%lang(ca) %{_datadir}/doc/HTML/ca
%lang(de) %{_datadir}/doc/HTML/de
%lang(en) %{_datadir}/doc/HTML/en
%lang(es) %{_datadir}/doc/HTML/es
%lang(et) %{_datadir}/doc/HTML/et
%lang(it) %{_datadir}/doc/HTML/it
%lang(nb) %{_datadir}/doc/HTML/nb
%lang(nl) %{_datadir}/doc/HTML/nl
%lang(pt) %{_datadir}/doc/HTML/pt
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR
%lang(ru) %{_datadir}/doc/HTML/ru
%lang(sr) %{_datadir}/doc/HTML/sr
%lang(sr@latin) %{_datadir}/doc/HTML/sr@latin
%lang(sv) %{_datadir}/doc/HTML/sv
%lang(uk) %{_datadir}/doc/HTML/uk
%files -n lib%{name}
%defattr(-,root,root)
%{_kde5_libdir}/libKF5KIO*.so.*
#%dir %{_kde5_libexecdir}
%{_kde5_libexecdir}/*
%{_qt5_plugindir}/kcm_*.so
%dir %{_kde5_pluginsdir}/kded
%{_kde5_pluginsdir}/kded/*.so
%dir %{_kde5_pluginsdir}/kiod
%{_kde5_pluginsdir}/kiod/*.so
%dir %{_kde5_pluginsdir}/kio
%{_kde5_pluginsdir}/kio/*.so
%dir %{_kde5_pluginsdir}/urifilters
%{_kde5_pluginsdir}/urifilters/*.so
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_kde5_includedir}/KIO*
%{_kde5_includedir}/kio
%{_kde5_includedir}/kio_version.h
%{_kde5_libdir}/cmake/KF5KIO
%{_kde5_libdir}/libKF5*.so
%{_kde5_mkspecsdir}/qt_*.pri
#%doc README.md
%changelog
* Mon Jan 22 2018 Automatic Build System <autodist@mambasoft.it> 5.42.0-1mamba
- automatic version update by autodist
* Sat Dec 30 2017 Automatic Build System <autodist@mambasoft.it> 5.41.0-1mamba
- automatic version update by autodist
* Tue Nov 14 2017 Automatic Build System <autodist@mambasoft.it> 5.40.0-1mamba
- automatic version update by autodist
* Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 5.39.0-1mamba
- automatic version update by autodist
* Wed Sep 13 2017 Automatic Build System <autodist@mambasoft.it> 5.38.0-1mamba
- automatic version update by autodist
* Fri Aug 25 2017 Automatic Build System <autodist@mambasoft.it> 5.37.0-1mamba
- automatic version update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 5.36.0-1mamba
- automatic version update by autodist
* Tue Apr 04 2017 Automatic Build System <autodist@mambasoft.it> 5.32.0-1mamba
- automatic version update by autodist
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 5.30.0-1mamba
- automatic version update by autodist
* Fri Dec 23 2016 Automatic Build System <autodist@mambasoft.it> 5.29.0-1mamba
- automatic version update by autodist
* Sat Oct 15 2016 Automatic Build System <autodist@mambasoft.it> 5.27.0-1mamba
- automatic version update by autodist
* Fri Oct 07 2016 Automatic Build System <autodist@mambasoft.it> 5.26.0-1mamba
- automatic version update by autodist
* Wed Aug 24 2016 Automatic Build System <autodist@mambasoft.it> 5.25.0-1mamba
- automatic version update by autodist
* Sun Jul 24 2016 Automatic Build System <autodist@mambasoft.it> 5.24.0-1mamba
- automatic version update by autodist
* Sun Jun 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.23.0-1mamba
- automatic version update by autodist
* Sat May 28 2016 Automatic Build System <autodist@mambasoft.it> 5.22.0-1mamba
- automatic version update by autodist
* Sat Apr 23 2016 Automatic Build System <autodist@mambasoft.it> 5.21.0-1mamba
- automatic version update by autodist
* Fri Apr 01 2016 Automatic Build System <autodist@mambasoft.it> 5.20.0-1mamba
- automatic version update by autodist
* Sat Feb 27 2016 Automatic Build System <autodist@mambasoft.it> 5.19.0-1mamba
- automatic version update by autodist
* Sun Jan 17 2016 Automatic Build System <autodist@mambasoft.it> 5.18.0-1mamba
- automatic version update by autodist
* Sat Jan 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-2mamba
- libkio: require kinit
* Sat Dec 26 2015 Automatic Build System <autodist@mambasoft.it> 5.17.0-1mamba
- automatic version update by autodist
* Tue Dec 08 2015 Automatic Build System <autodist@mambasoft.it> 5.16.0-1mamba
- automatic version update by autodist
* Tue Nov 03 2015 Automatic Build System <autodist@mambasoft.it> 5.15.0-1mamba
- automatic version update by autodist
* Sun Oct 11 2015 Automatic Build System <autodist@mambasoft.it> 5.14.0-1mamba
- automatic version update by autodist
* Sun Sep 20 2015 Automatic Build System <autodist@mambasoft.it> 5.13.0-1mamba
- automatic version update by autodist
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.12.0-1mamba
- update to 5.12.0
* Fri Jul 03 2015 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
- automatic version update by autodist
* Sun May 31 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.10.0-2mamba
- standardize the specfile
* Fri May 22 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist
* Tue Apr 21 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Fri Mar 27 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Thu Mar 12 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Mon Feb 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-2mamba
- patched to fix path in cmake
* Sat Feb 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface