libksieve/libksieve.spec

222 lines
7.4 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: libksieve
Version: 18.12.0
Release: 1mamba
Summary: KDE Frameworks 5 sieve library
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/applications/%{version}/src/libksieve-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdepimlibs-devel
BuildRequires: libQt5WebKit-devel
BuildRequires: libakonadi-devel
BuildRequires: libattica5-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcontacts-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdepim-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkidentitymanagement-devel
BuildRequires: libkio-devel
BuildRequires: libkitemmodels-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkmailtransport-devel
BuildRequires: libkmime-devel
BuildRequires: libknewstuff-devel
BuildRequires: libkpimtextedit-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libpimcommon-devel
BuildRequires: libqt5-devel
BuildRequires: libsasl2-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 sieve library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description 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 %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
exit 0
%postun
/sbin/ldconfig
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/ksieve_script.knsrc
%{_sysconfdir}/xdg/libksieve.*categories
%{_kde5_libdir}/libKF5KManageSieve.so.*
%{_kde5_libdir}/libKF5KSieve.so.*
%{_kde5_libdir}/libKF5KSieveUi.so.*
%{_libdir}/qt5/plugins/kf5/kio/sieve.so
%{_datadir}/sieve/scripts/copy/template.desktop
%{_datadir}/kservices5/sieve.protocol
%{_datadir}/sieve/scripts/copy/template.txt
%dir %{_datadir}/doc/HTML/en/kioslave5/sieve
%{_datadir}/doc/HTML/en/kioslave5/sieve/*
%lang(ca) %{_datadir}/doc/HTML/ca/kioslave5/sieve
%lang(de) %{_datadir}/doc/HTML/de/kioslave5/sieve
%lang(es) %{_datadir}/doc/HTML/es/kioslave5/sieve
%lang(it) %{_datadir}/doc/HTML/it/kioslave5/sieve
%lang(nl) %{_datadir}/doc/HTML/nl/kioslave5/sieve
%lang(pt) %{_datadir}/doc/HTML/pt/kioslave5/sieve
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kioslave5/sieve
%lang(ru) %{_datadir}/doc/HTML/ru/kioslave5/sieve
%lang(sr) %{_datadir}/doc/HTML/sr/kioslave5/sieve
%lang(sv) %{_datadir}/doc/HTML/sv/kioslave5/sieve
%lang(uk) %{_datadir}/doc/HTML/uk/kioslave5/sieve
%files devel
%defattr(-,root,root)
%{_kde5_includedir}/KManageSieve/SieveJob
%dir %{_kde5_includedir}/KSieveUi
%{_kde5_includedir}/KSieveUi/*
%dir %{_kde5_includedir}/kmanagesieve
%{_kde5_includedir}/kmanagesieve/*
%dir %{_kde5_includedir}/ksieveui
%{_kde5_includedir}/ksieveui/*
%{_kde5_includedir}/libksieve_version.h
%{_kde5_libdir}/cmake/KF5LibKSieve/KF5LibKSieve*.cmake
%{_kde5_libdir}/libKF5KManageSieve.so
%{_kde5_libdir}/libKF5KSieve.so
%{_kde5_libdir}/libKF5KSieveUi.so
%{_kde5_mkspecsdir}/qt_KManageSieve.pri
%{_kde5_mkspecsdir}/qt_KSieve.pri
%{_kde5_mkspecsdir}/qt_KSieveUi.pri
%changelog
* Sun Dec 23 2018 Automatic Build System <autodist@mambasoft.it> 18.12.0-1mamba
- automatic version update by autodist
* Wed Nov 14 2018 Automatic Build System <autodist@mambasoft.it> 18.08.3-1mamba
- automatic version update by autodist
* Sat Oct 13 2018 Automatic Build System <autodist@mambasoft.it> 18.08.2-1mamba
- automatic version update by autodist
* Sat Sep 08 2018 Automatic Build System <autodist@mambasoft.it> 18.08.1-1mamba
- automatic version update by autodist
* Thu Aug 23 2018 Automatic Build System <autodist@mambasoft.it> 18.08.0-1mamba
- automatic version update by autodist
* Fri Jul 13 2018 Automatic Build System <autodist@mambasoft.it> 18.04.3-1mamba
- automatic version update by autodist
* Tue Jun 12 2018 Automatic Build System <autodist@mambasoft.it> 18.04.2-1mamba
- automatic version update by autodist
* Sun May 13 2018 Automatic Build System <autodist@mambasoft.it> 18.04.1-1mamba
- automatic version update by autodist
* Thu May 03 2018 Automatic Build System <autodist@mambasoft.it> 18.04.0-1mamba
- automatic version update by autodist
* Sun Mar 11 2018 Automatic Build System <autodist@mambasoft.it> 17.12.3-1mamba
- automatic version update by autodist
* Sat Feb 10 2018 Automatic Build System <autodist@mambasoft.it> 17.12.2-1mamba
- automatic version update by autodist
* Fri Jan 12 2018 Automatic Build System <autodist@mambasoft.it> 17.12.1-1mamba
- automatic version update by autodist
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 17.12.0-1mamba
- automatic version update by autodist
* Sat Nov 11 2017 Automatic Build System <autodist@mambasoft.it> 17.08.3-1mamba
- automatic version update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 17.08.2-1mamba
- automatic version update by autodist
* Sun Sep 10 2017 Automatic Build System <autodist@mambasoft.it> 17.08.1-1mamba
- automatic version update by autodist
* Mon Aug 28 2017 Automatic Build System <autodist@mambasoft.it> 17.08.0-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 17.04.3-1mamba
- automatic version update by autodist
* Fri Mar 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.3-1mamba
- automatic version update by autodist
* Fri Feb 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.2-1mamba
- automatic version update by autodist
* Fri Jan 27 2017 Automatic Build System <autodist@mambasoft.it> 16.12.1-1mamba
- automatic version update by autodist
* Sun Nov 20 2016 Automatic Build System <autodist@mambasoft.it> 16.08.3-1mamba
- automatic version update by autodist
* Sat Oct 29 2016 Automatic Build System <autodist@mambasoft.it> 16.08.2-1mamba
- automatic version update by autodist
* Sun Sep 11 2016 Automatic Build System <autodist@mambasoft.it> 16.08.1-1mamba
- automatic version update by autodist
* Mon Sep 05 2016 Automatic Build System <autodist@mambasoft.it> 16.08.0-1mamba
- automatic version update by autodist
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 16.04.3-1mamba
- automatic version update by autodist
* Wed Jun 15 2016 Automatic Build System <autodist@mambasoft.it> 16.04.2-1mamba
- automatic version update by autodist
* Sun Jun 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.04.1-1mamba
- package created using the webbuild interface