From 572872427964ea61c1ec19d45aa6801bdfc1554c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Fri, 30 Nov 2018 22:17:20 +0100 Subject: [PATCH] RPM: fix tdetoys build on opensuse tumbleweed, add manpages --- .../{tdetoys-14.0.0.spec => tdetoys.spec} | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) rename redhat/main/tdetoys/{tdetoys-14.0.0.spec => tdetoys.spec} (98%) diff --git a/redhat/main/tdetoys/tdetoys-14.0.0.spec b/redhat/main/tdetoys/tdetoys.spec similarity index 98% rename from redhat/main/tdetoys/tdetoys-14.0.0.spec rename to redhat/main/tdetoys/tdetoys.spec index 26898ec16..dcc317623 100644 --- a/redhat/main/tdetoys/tdetoys-14.0.0.spec +++ b/redhat/main/tdetoys/tdetoys.spec @@ -30,6 +30,7 @@ %define tde_docdir %{tde_datadir}/doc %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man %define tde_tdeappdir %{tde_datadir}/applications/tde %define tde_tdedocdir %{tde_docdir}/tde %define tde_tdeincludedir %{tde_includedir}/tde @@ -152,12 +153,13 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-amor %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_bindir}/amor %{tde_datadir}/apps/amor/ %{tde_tdeappdir}/amor.desktop %{tde_datadir}/icons/hicolor/*/apps/amor.png %{tde_tdedocdir}/HTML/en/amor/ -%doc AUTHORS COPYING README +%{tde_mandir}/man*/amor.* ########## @@ -175,10 +177,10 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-eyesapplet %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_tdelibdir}/eyes_panelapplet.la %{tde_tdelibdir}/eyes_panelapplet.so %{tde_datadir}/apps/kicker/applets/eyesapplet.desktop -%doc AUTHORS COPYING README ########## @@ -195,10 +197,10 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-fifteenapplet %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_tdelibdir}/fifteen_panelapplet.la %{tde_tdelibdir}/fifteen_panelapplet.so %{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop -%doc AUTHORS COPYING README ########## @@ -215,13 +217,13 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-kmoon %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_tdelibdir}/kmoon_panelapplet.la %{tde_tdelibdir}/kmoon_panelapplet.so %{tde_datadir}/apps/kicker/applets/kmoonapplet.desktop %{tde_datadir}/apps/kmoon/ %{tde_datadir}/icons/hicolor/*/apps/kmoon.png %{tde_tdedocdir}/HTML/en/kmoon/ -%doc AUTHORS COPYING README ########## @@ -238,12 +240,13 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-kodo %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_bindir}/kodo %{tde_tdeappdir}/kodo.desktop %{tde_datadir}/apps/kodo/ %{tde_datadir}/icons/hicolor/*/apps/kodo.png %{tde_tdedocdir}/HTML/en/kodo/ -%doc AUTHORS COPYING README +%{tde_mandir}/man*/kodo.* ########## @@ -267,12 +270,13 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-kteatime %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_bindir}/kteatime %{tde_tdeappdir}/kteatime.desktop %{tde_datadir}/apps/kteatime/ %{tde_datadir}/icons/hicolor/*/apps/kteatime.png %{tde_tdedocdir}/HTML/en/kteatime/ -%doc AUTHORS COPYING README +%{tde_mandir}/man*/kteatime.* ########## @@ -287,11 +291,12 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-ktux %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_bindir}/ktux %{tde_datadir}/apps/ktux/ %{tde_datadir}/applnk/System/ScreenSavers/ktux.desktop %{tde_datadir}/icons/hicolor/*/apps/ktux.png -%doc AUTHORS COPYING README +%{tde_mandir}/man*/ktux.* ########## @@ -314,6 +319,7 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-kweather %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_bindir}/kweatherservice %{tde_bindir}/kweatherreport %{tde_libdir}/libtdeinit_kweatherreport.so @@ -334,7 +340,8 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_datadir}/services/kcmweather.desktop %{tde_datadir}/services/kcmweatherservice.desktop %{tde_tdedocdir}/HTML/en/kweather/ -%doc AUTHORS COPYING README +%{tde_mandir}/man*/kweatherreport.* +%{tde_mandir}/man*/kweatherservice.* ########## @@ -357,6 +364,7 @@ This package is part of Trinity, and a component of the TDE toys module. %files -n trinity-kworldclock %defattr(-,root,root,-) +%doc AUTHORS COPYING README %{tde_bindir}/kworldclock %{tde_tdelibdir}/ww_panelapplet.la %{tde_tdelibdir}/ww_panelapplet.so @@ -366,7 +374,7 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_datadir}/apps/kworldclock/ %{tde_datadir}/icons/hicolor/*/apps/kworldclock.png %{tde_tdedocdir}/HTML/en/kworldclock/ -%doc AUTHORS COPYING README +%{tde_mandir}/man*/kworldclock.* ##########