diff --git a/.gitignore b/.gitignore index c1c59e8..92d771b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,47 +1 @@ -/kjsembed-4.100.0.tar.xz -/kjsembed-5.0.0.tar.xz -/kjsembed-5.1.0.tar.xz -/kjsembed-5.2.0.tar.xz -/kjsembed-5.3.0.tar.xz -/kjsembed-5.4.0.tar.xz -/kjsembed-5.5.0.tar.xz -/kjsembed-5.6.0.tar.xz -/kjsembed-5.7.0.tar.xz -/kjsembed-5.8.0.tar.xz -/kjsembed-5.9.0.tar.xz -/kjsembed-5.10.0.tar.xz -/kjsembed-5.11.0.tar.xz -/kjsembed-5.12.0.tar.xz -/kjsembed-5.13.0.tar.xz -/kjsembed-5.14.0.tar.xz -/kjsembed-5.15.0.tar.xz -/kjsembed-5.16.0.tar.xz -/kjsembed-5.17.0.tar.xz -/kjsembed-5.18.0.tar.xz -/kjsembed-5.19.0.tar.xz -/kjsembed-5.20.0.tar.xz -/kjsembed-5.21.0.tar.xz -/kjsembed-5.22.0.tar.xz -/kjsembed-5.23.0.tar.xz -/kjsembed-5.24.0.tar.xz -/kjsembed-5.25.0.tar.xz -/kjsembed-5.26.0.tar.xz -/kjsembed-5.27.0.tar.xz -/kjsembed-5.29.0.tar.xz -/kjsembed-5.31.0.tar.xz -/kjsembed-5.32.0.tar.xz -/kjsembed-5.33.0.tar.xz -/kjsembed-5.34.0.tar.xz -/kjsembed-5.35.0.tar.xz -/kjsembed-5.36.0.tar.xz -/kjsembed-5.37.0.tar.xz -/kjsembed-5.38.0.tar.xz -/kjsembed-5.39.0.tar.xz -/kjsembed-5.40.0.tar.xz -/kjsembed-5.41.0.tar.xz -/kjsembed-5.42.0.tar.xz -/kjsembed-5.43.0.tar.xz -/kjsembed-5.44.0.tar.xz -/kjsembed-5.45.0.tar.xz -/kjsembed-5.46.0.tar.xz /kjsembed-5.47.0.tar.xz diff --git a/kf5-kjsembed.spec b/kf5-kjsembed.spec index b9adfd8..366f710 100644 --- a/kf5-kjsembed.spec +++ b/kf5-kjsembed.spec @@ -1,33 +1,31 @@ %global framework kjsembed -Name: kf5-%{framework} +Name: kf5-%{framework} Version: 5.47.0 -Release: 1%{?dist} -Summary: KDE Frameworks 5 Tier 3 addon for binding JS objects to QObjects +Release: 2%{?dist} +Summary: KDE Frameworks 5 Tier 3 addon for binding JS objects to QObjects -License: LGPLv2+ -URL: https://cgit.kde.org/%{framework}.git +License: LGPLv2+ +URL: https://cgit.kde.org/%{framework}.git -%global versiondir %(echo %{version} | cut -d. -f1-2) +%global majmin %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/portingAids/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/portingAids/%{framework}-%{version}.tar.xz -BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: kf5-kdoctools-devel >= %{version} -BuildRequires: kf5-ki18n-devel >= %{version} -BuildRequires: kf5-kjs-devel >= %{version} -BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: extra-cmake-modules >= %{majmin} +BuildRequires: kf5-kdoctools-devel >= %{majmin} +BuildRequires: kf5-ki18n-devel >= %{majmin} +BuildRequires: kf5-kjs-devel >= %{majmin} +BuildRequires: kf5-rpm-macros BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qttools-static -Requires: kf5-filesystem >= %{version} - %description KSJEmbed provides a method of binding JavaScript objects to QObjects, so you can script your applications. @@ -35,8 +33,8 @@ can script your applications. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: kf5-kjs-devel >= %{version} -Requires: kf5-ki18n-devel >= %{version} +Requires: kf5-kjs-devel >= %{majmin} +Requires: kf5-ki18n-devel >= %{majmin} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -52,19 +50,18 @@ pushd %{_target_platform} %{cmake_kf5} .. popd -make %{?_smp_mflags} -C %{_target_platform} +%make_build -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} -%find_lang kjsembed5_qt --with-man --with-qt --all-name +%find_lang %{name} --all-name --with-man -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets -%files -f kjsembed5_qt.lang +%files -f %{name}.lang %doc README.md %license COPYING.LIB %{_kf5_bindir}/kjscmd5 @@ -80,6 +77,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Fri Jun 08 2018 Rex Dieter - 5.47.0-2 +- cleanup, use %%majmin %%make_build %%ldconfig_scriptlets + * Sat Jun 02 2018 Rex Dieter - 5.47.0-1 - 5.47.0