.spec cosmetics, update %%files

epel9
Rex Dieter 3 years ago
parent ecd859b588
commit f9f22f11cd

@ -1,13 +1,12 @@
%undefine __cmake_in_source_build
%global framework kunitconversion
Name: kf5-%{framework}
Name: kf5-%{framework}
Version: 5.85.0
Release: 1%{?dist}
Summary: KDE Frameworks 5 Tier 2 addon for unit conversions
Summary: KDE Frameworks 5 Tier 2 addon for unit conversions
License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework}
License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3)
@ -16,7 +15,7 @@ URL: https://invent.kde.org/frameworks/%{framework}
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-ki18n-devel >= %{majmin}
@ -40,7 +39,8 @@ developing applications that use %{name}.
%build
%{cmake_kf5}
%cmake_kf5
%cmake_build
@ -56,6 +56,7 @@ developing applications that use %{name}.
%doc README.md
%license LICENSES/*.txt
%{_kf5_libdir}/libKF5UnitConversion.so.*
%{_kf5_datadir}/qlogging-categories5/%{framework}.*
%files devel
%{_kf5_includedir}/kunitconversion_version.h

Loading…
Cancel
Save