-devel: Requires: kf5-kwindowsystem-devel, cosmetics, use %find_lang --with-man

epel9
Rex Dieter 7 years ago
parent 7e97f891ee
commit 62c5031aeb

@ -2,7 +2,7 @@
Name: kf5-%{framework}
Version: 5.37.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 framework is foundation to build a primary user interface
License: GPLv2+ and LGPLv2+ and BSD
@ -87,8 +87,8 @@ Conflicts: kapptemplates < 15.12.0-1
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kpackage-devel >= %{version}
Requires: kf5-kservice-devel >= %{version}
Requires: kf5-kwindowsystem-devel >= %{version}
Requires: qt5-qtbase-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
@ -112,7 +112,7 @@ make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang plasma5_qt --with-qt --all-name
%find_lang %{name} --all-name --with-man --with-qt --all-name
# create/own dirs
mkdir -p %{buildroot}%{_kf5_datadir}/plasma/plasmoids
@ -128,7 +128,7 @@ sed -e "s|@@VERSION@@|%{version}|g" fedora-plasma-cache.sh.in > \
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f plasma5_qt.lang
%files -f %{name}.lang
%doc README.md
%license COPYING.LIB
%if 0%{?fedora}
@ -150,8 +150,7 @@ sed -e "s|@@VERSION@@|%{version}|g" fedora-plasma-cache.sh.in > \
%{_kf5_datadir}/kservices5/*.desktop
%{_kf5_datadir}/kservicetypes5/*.desktop
%{_kf5_mandir}/man1/plasmapkg2.1.*
%{_kf5_mandir}/*/man1/plasmapkg2.1*
# can find_lang handle this too somehow? -- rex
%lang(lt) %{_datadir}/locale/lt/LC_SCRIPTS/libplasma5/
%files devel
@ -169,6 +168,9 @@ sed -e "s|@@VERSION@@|%{version}|g" fedora-plasma-cache.sh.in > \
%changelog
* Fri Aug 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.37.0-2
- -devel: Requires: kf5-kwindowsystem-devel, cosmetics, use %%find_lang --with-man
* Fri Aug 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.37.0-1
- 5.37.0

Loading…
Cancel
Save