diff --git a/kinit-5.8.0.tar.xz b/kinit-5.8.0.tar.xz deleted file mode 100644 index 9f9be99..0000000 --- a/kinit-5.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:130ad6c8ac65c61df5c0ca87ab865ff7ded6a0b5d59cf7b8037dca24ac691915 -size 114828 diff --git a/kinit-5.9.0.tar.xz b/kinit-5.9.0.tar.xz new file mode 100644 index 0000000..23124c0 --- /dev/null +++ b/kinit-5.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bf910e2c66e92ba5387e474cf99197d830f00c38ae5232d3d35f2acae071a84 +size 114864 diff --git a/kinit.changes b/kinit.changes index 3333233..05fc77b 100644 --- a/kinit.changes +++ b/kinit.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Apr 4 14:40:51 UTC 2015 - hrvoje.senjan@gmail.com + +- Update to 5.9.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.9.0.php + ------------------------------------------------------------------- Sat Mar 7 16:58:51 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/kinit.spec b/kinit.spec index f9b59d1..16569aa 100644 --- a/kinit.spec +++ b/kinit.spec @@ -16,21 +16,22 @@ # -%define _tar_path 5.8 +%bcond_without lang +%define _tar_path 5.9 Name: kinit -Version: %{_tar_path}.0 +Version: 5.9.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 1.8.0 +BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes -BuildRequires: kcrash-devel >= %{kf5_version} -BuildRequires: kdoctools-devel >= %{kf5_version} +BuildRequires: kcrash-devel >= %{_tar_path} +BuildRequires: kdoctools-devel >= %{_tar_path} BuildRequires: kf5-filesystem -BuildRequires: ki18n-devel >= %{kf5_version} -BuildRequires: kio-devel >= %{kf5_version} -BuildRequires: kservice-devel >= %{kf5_version} -BuildRequires: kwindowsystem-devel >= %{kf5_version} +BuildRequires: ki18n-devel >= %{_tar_path} +BuildRequires: kio-devel >= %{_tar_path} +BuildRequires: kservice-devel >= %{_tar_path} +BuildRequires: kwindowsystem-devel >= %{_tar_path} BuildRequires: libcap-devel BuildRequires: libcap-progs BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 @@ -38,7 +39,9 @@ BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 BuildRequires: pkgconfig(x11) +%if %{with lang} Recommends: %{name}-lang = %{version} +%endif Summary: Helper library to speed up start of applications on KDE workspaces License: LGPL-2.1+ Group: System/GUI/KDE @@ -76,22 +79,25 @@ booting UNIX. Development files. %install %kf5_makeinstall -C build - %fdupes -s %{buildroot} + %fdupes %{buildroot} - %find_lang %{name}5 +%if %{with lang} +%find_lang %{name}5 +echo "%doc %lang(de) %{_kf5_mandir}/de" >>%{name}5.lang +echo "%doc %lang(it) %{_kf5_mandir}/it" >>%{name}5.lang +echo "%doc %lang(nl) %{_kf5_mandir}/nl" >>%{name}5.lang +echo "%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR" >>%{name}5.lang +echo "%doc %lang(sv) %{_kf5_mandir}/sv" >>%{name}5.lang +echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang +%endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%if %{with lang} %files lang -f %{name}5.lang -%defattr(-,root,root) -%doc %lang(de) %{_kf5_mandir}/de -%doc %lang(it) %{_kf5_mandir}/it -%doc %lang(nl) %{_kf5_mandir}/nl -%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR -%doc %lang(sv) %{_kf5_mandir}/sv -%doc %lang(uk) %{_kf5_mandir}/uk +%endif %files %defattr(-,root,root)