kio/kio.spec

180 lines
5.6 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: kio
Version: 5.14.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: kconfig-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: 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
BuildRequires: libz-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}
%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_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.*
%files -n lib%{name}
%defattr(-,root,root)
%{_kde5_libdir}/libKF5KIOCore.so.*
%{_kde5_libdir}/libKF5KIOFileWidgets.so.*
%{_kde5_libdir}/libKF5KIONTLM.so.*
%{_kde5_libdir}/libKF5KIOWidgets.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}/KIOCore
%{_kde5_includedir}/KIOFileWidgets
%{_kde5_includedir}/KIOWidgets
%{_kde5_includedir}/kio
%{_kde5_includedir}/kio_version.h
%{_kde5_libdir}/cmake/KF5KIO
%{_kde5_libdir}/libKF5*.so
%{_kde5_mkspecsdir}/qt_*.pri
#%doc README.md
%changelog
* 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