use %find_lang --with-man for localized manpages

epel8
Rex Dieter 10 years ago
parent f1f30d3930
commit c1ede16247

@ -2,7 +2,7 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.10.0 Version: 5.10.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: KDE Frameworks 5 Tier 3 solution for advanced plugin and service introspection Summary: KDE Frameworks 5 Tier 3 solution for advanced plugin and service introspection
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
@ -67,7 +67,7 @@ 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 kservice5_qt --with-qt --all-name %find_lang kservice5_qt --with-man --with-qt --all-name
mv %{buildroot}%{_kf5_sysconfdir}/xdg/menus/applications.menu %{buildroot}/%{_kf5_sysconfdir}/xdg/menus/kf5-applications.menu mv %{buildroot}%{_kf5_sysconfdir}/xdg/menus/applications.menu %{buildroot}/%{_kf5_sysconfdir}/xdg/menus/kf5-applications.menu
@ -86,10 +86,7 @@ mkdir -p %{buildroot}%{_kf5_datadir}/kservicetypes5
%{_kf5_libdir}/libKF5Service.so.* %{_kf5_libdir}/libKF5Service.so.*
%{_kf5_datadir}/kservicetypes5/ %{_kf5_datadir}/kservicetypes5/
%{_kf5_datadir}/kservices5/ %{_kf5_datadir}/kservices5/
%{_kf5_mandir}/man8/* %{_kf5_mandir}/man8/*.8*
%{_kf5_mandir}/*/man8/*
# why is this? -- rex
%exclude %{_kf5_mandir}/man8
%files devel %files devel
%{_kf5_includedir}/kservice_version.h %{_kf5_includedir}/kservice_version.h
@ -100,6 +97,9 @@ mkdir -p %{buildroot}%{_kf5_datadir}/kservicetypes5
%changelog %changelog
* Tue May 19 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-3
- use %%find_lang --with-man for localized manpages
* Tue May 19 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-2 * Tue May 19 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-2
- .spec cosmetics, disable debug output - .spec cosmetics, disable debug output

Loading…
Cancel
Save