cosmetics, update URL, use %license

epel9
Rex Dieter 9 years ago
parent 04fcea742a
commit 4dd7c3ad70

@ -2,11 +2,11 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.18.0 Version: 5.18.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 addon for binding JS objects to QObjects Summary: KDE Frameworks 5 Tier 3 addon for binding JS objects to QObjects
License: LGPLv2+ License: LGPLv2+
URL: http://www.kde.org URL: http://projects.kde.org/kjsembed
%global versiondir %(echo %{version} | cut -d. -f1-2) %global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
@ -17,15 +17,14 @@ URL: http://www.kde.org
%endif %endif
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/portingAids/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/portingAids/%{framework}-%{version}.tar.xz
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: extra-cmake-modules >= %{version} 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: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-static
BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtsvg-devel
BuildRequires: qt5-qttools-static
BuildRequires: kf5-kjs-devel >= %{version}
BuildRequires: kf5-ki18n-devel >= %{version}
BuildRequires: kf5-kdoctools-devel >= %{version}
Requires: kf5-filesystem >= %{version} Requires: kf5-filesystem >= %{version}
@ -38,7 +37,6 @@ Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kjs-devel >= %{version} Requires: kf5-kjs-devel >= %{version}
Requires: kf5-ki18n-devel >= %{version} Requires: kf5-ki18n-devel >= %{version}
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -47,16 +45,19 @@ developing applications that use %{name}.
%prep %prep
%setup -q -n %{framework}-%{version} %setup -q -n %{framework}-%{version}
%build %build
mkdir -p %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
%{cmake_kf5} .. %{cmake_kf5} ..
popd popd
make %{?_smp_mflags} -C %{_target_platform} make %{?_smp_mflags} -C %{_target_platform}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang kjsembed5_qt --with-qt --all-name %find_lang kjsembed5_qt --with-qt --all-name
@ -64,7 +65,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files -f kjsembed5_qt.lang %files -f kjsembed5_qt.lang
%doc COPYING.LIB README.md %doc README.md
%license COPYING.LIB
%{_kf5_bindir}/kjscmd5 %{_kf5_bindir}/kjscmd5
%{_kf5_bindir}/kjsconsole %{_kf5_bindir}/kjsconsole
%{_kf5_libdir}/libKF5JsEmbed.so.* %{_kf5_libdir}/libKF5JsEmbed.so.*
@ -72,12 +74,15 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%files devel %files devel
%{_kf5_libdir}/libKF5JsEmbed.so %{_kf5_libdir}/libKF5JsEmbed.so
%{_kf5_libdir}/cmake/KF5JsEmbed %{_kf5_libdir}/cmake/KF5JsEmbed/
%{_kf5_includedir}/KJsEmbed/ %{_kf5_includedir}/KJsEmbed/
%{_kf5_archdatadir}/mkspecs/modules/qt_KJsEmbed.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KJsEmbed.pri
%changelog %changelog
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
- cosmetics, update URL, use %%license
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1 * Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
- KDE Frameworks 5.18.0 - KDE Frameworks 5.18.0

Loading…
Cancel
Save