diff --git a/.gitignore b/.gitignore index 7debb12..ba9e956 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1 @@ -/kcalc-16.04.1.tar.xz -/kcalc-16.04.2.tar.xz -/kcalc-16.04.3.tar.xz -/kcalc-16.07.90.tar.xz -/kcalc-16.08.0.tar.xz -/kcalc-16.08.1.tar.xz -/kcalc-16.08.2.tar.xz -/kcalc-16.08.3.tar.xz -/kcalc-16.12.1.tar.xz -/kcalc-16.12.2.tar.xz -/kcalc-16.12.3.tar.xz +/kcalc-17.04.1.tar.xz diff --git a/kcalc.spec b/kcalc.spec index 46040a6..540fd7f 100644 --- a/kcalc.spec +++ b/kcalc.spec @@ -1,10 +1,10 @@ Name: kcalc Summary: Scientific Calculator -Version: 16.12.3 +Version: 17.04.1 Release: 1%{?dist} License: GPLv2+ -URL: https://quickgit.kde.org/?p=%{name}.git +URL: https://cgit.kde.org/%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 @@ -52,6 +52,9 @@ BuildRequires: libappstream-glib # when split occured Conflicts: kdeutils-common < 6:4.7.80 +# translations moved here +Conflicts: kde-l10n < 17.03 + Obsoletes: kdeutils-kcalc < 6:4.7.80 Provides: kdeutils-kcalc = 6:%{version}-%{release} @@ -76,13 +79,15 @@ make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%find_lang %{name} --all-name --with-html --with-man + %check appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml ||: desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop ||: -%files +%files -f %{name}.lang %license COPYING* #doc README %{_kf5_bindir}/%{name} @@ -92,7 +97,6 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.d %{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml #{_kf5_datadir}/icons/hicolor/*/apps/%{name}.* %{_kf5_datadir}/%{name}/ -%lang(en) %{_kf5_docdir}/HTML/en/%{name}/ %{_kf5_datadir}/kconf_update/%{name}* %{_kf5_datadir}/kxmlgui5/%{name}/ #{_kf5_datadir}/sounds/%{name}/ @@ -100,6 +104,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.d %changelog +* Sat Jun 03 2017 Rex Dieter - 17.04.1-1 +- 17.04.1 + * Thu Mar 09 2017 Rex Dieter - 16.12.3-1 - 16.12.3 diff --git a/sources b/sources index dc24647..ac94622 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kcalc-16.12.3.tar.xz) = cdb8a10eedc49ef8a90dfe1ba23af5afde3a6c9158c169963260e23322c5ee6d3c54f5bea77cc55f619d80fd576670d14b57951bc9f58bbcaaf27cc8f2c69318 +SHA512 (kcalc-17.04.1.tar.xz) = 071fa58b9ca187ed382221a78e2228117eed3f631655b191d727a3fcb10b1c04c97c15c60579eb9fb374b36ea9a61dc626492e6a8f77f13173a0eb8b445dde22